Skip to main content


Hi there, I'm currently working on a theme where I have a set of basic children pages that display content on the parent page. I have for loop which iterates through the children pages and displays elements such as meta image on the parent page in a lightbox. I'm trying to force the parent page to paginate when it reaches a limit of 50 pages, I have declared a paginate object below the for loop however I keep getting an error (undefined method `total_pages') i'm just wondering if there is something obvious i'm missing here.

Official response from

Could you reach out to us at with more specific information on where you are coding the pagination?

With pagination, there can be conflicts from time to time if the pagination can't set limits on the pages. This idea was described by Jeff in the comments on this post here.

Complete and current information on how to use NationBuilder is available in the documentation section.

Share this post

Showing 1 reaction

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.