- This topic has 5 replies, 2 voices, and was last updated 4 years, 8 months ago by
David.
-
AuthorPosts
-
July 11, 2021 at 7:52 pm #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.
July 12, 2021 at 8:19 am #1853047David
StaffCustomer SupportHi 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.
July 12, 2021 at 8:47 am #1853080Prabakaran
Thank you very much for your reply.
Do you have any reference material to sort out?July 13, 2021 at 2:45 am #1853778David
StaffCustomer SupportSorry 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_footerhook ?July 13, 2021 at 6:52 pm #1854822Prabakaran
Thank you very much.
It is working properly.
I have missed this option to try out.Sorry for the inconvenience caused.
July 14, 2021 at 2:50 am #1855163David
StaffCustomer SupportNo problems – apologies i misread the question.
Glad to see its working!!! -
AuthorPosts
- You must be logged in to reply to this topic.