Site logo

[Resolved] Pagination – GridBuilder Facet

Home Forums Support [Resolved] Pagination – GridBuilder Facet

Home Forums Support Pagination – GridBuilder Facet

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1852255
    Prabakaran

    Hello,

    I am using Wp-GridBuilder to filter my posts (CPT) in archive pages and the live site address is https://nviewscareer.com/job/.

    The archive page created using Block element>Content Template with the facets filter via another Block element>Hook>hook:inside_site_container and Block element>Archive Navigation>hook:inside_site_container.

    Note: I have followed the documentation of WP-Gridbuilder (https://docs.wpgridbuilder.com/resources/guide-filter-archive-pages/) to remove the native pagination and added the pagination facet using different approaches (Block element>Archive Navigation>hook:after_main_content; after_content, inside_container; inside_site_container) in the archive page.

    Now the query is, how to display the pagination facet at the bottom of the archive content. I have tried Block element>Archive Navigation>hook:after_main_content as given in the documentation. It works for the first page. But, if I choose page 2, the facet is not loaded. So, I have contacted the WP-Gridbuidler for the solution. They have suggested the following

    You have added a facet inside the content to filter. So, it will not work.
    The pagination facet is at the same level as the posts. The facets should be outside the content container.
    Or you should wrap your posts in a container.

    Since I am not a superuser to handle the above, please help me to sort it out.

    #1853047
    David
    Staff
    Customer Support

    Hi there,

    reading that and from the little i understand of what that plugin requires – the Block element>Content Template isn’t the right thing to use. As its injecting that content inside the Loop.

    I think you would need to create a PHP Template for that specific purpose.

    #1853080
    Prabakaran

    Thank you very much for your reply.
    Do you have any reference material to sort out?

    #1853778
    David
    Staff
    Customer Support

    Sorry i may have misread your query in the first place….

    So if the Paging Facet has to be outside the main content container – then what about the before_footer hook ?

    #1854822
    Prabakaran

    Thank you very much.
    It is working properly.
    I have missed this option to try out.

    Sorry for the inconvenience caused.

    #1855163
    David
    Staff
    Customer Support

    No problems – apologies i misread the question.
    Glad to see its working!!!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.