- This topic has 10 replies, 4 voices, and was last updated 3 years ago by
David.
-
AuthorPosts
-
April 7, 2023 at 10:05 pm #2601715
Front Digit
Hi,
I am creating a custom front page using content template where have created three different containers. In one of the container I have added a query loop with below Parameters
Select Post Type – Posts
Posts Per Page – 8
Taxonomies – Tags
Select Terms. – Given Term SlugI have also added paging to the loop. But when I see the output, it display all posts attached to the tag. Neither it restrict to 8 posts nor it displays paging. Kindly suggest.
April 8, 2023 at 10:58 am #2602343Ying
StaffCustomer SupportHi there,
Can I see the front page?
April 10, 2023 at 2:01 am #2603741Front Digit
Sure,
Please let me know if you need more details
Thanks
April 10, 2023 at 3:54 am #2603856David
StaffCustomer SupportHi there,
are you using a GP Element Content Template?
April 10, 2023 at 4:53 pm #2604741Front Digit
Yes David, I am using GP Element Content Template.
Thanks
RaviApril 10, 2023 at 5:42 pm #2604784Fernando Customer Support
Hi Ravi,
You shouldn’t need to use a Content Template for that page.
Just add the Query Loop and the other Blocks directly to the page itself.
April 11, 2023 at 6:17 pm #2606411Front Digit
Hi,
But the problem is, “Post Per Page” is not working for Taxonomies. Even if I create without Content Template.
Thanks
RaviApril 11, 2023 at 6:54 pm #2606432Front Digit
Hi,
One more thing I noticed is, No results showing (0 results found) when I add any specific category or tag to “Select Terms”.
But if I see the preview, I could see the results.April 11, 2023 at 7:33 pm #2606446Fernando Customer Support
Can you provide admin login credentials so we can take a closer look at what’s causing these issues?
Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
April 12, 2023 at 4:32 am #2606946Front Digit
Hi Fernando,
Shared via private information.
Thank you
Ravi.April 12, 2023 at 6:20 am #2607127David
StaffCustomer SupportYou can’t use the content template and a static home page for this purpose. The main query for that page won’t handle
Post Per Pageor Pagination.You either:
1. edit the page as Fernando suggested
or
2. use a Block Element – Loop template with a home page set to display the latest posts.
-
AuthorPosts
- You must be logged in to reply to this topic.