- This topic has 8 replies, 4 voices, and was last updated 3 years, 10 months ago by
Ying.
-
AuthorPosts
-
May 29, 2022 at 9:27 am #2237068
Fabiano
I’ve got this page (the “Products” page) that lists my different products.
I’ve got a page for each product. Each product page has been tagged as a “product”
What’s the best way to add a list of these products’ pages to this Products page?
I see that there is this “Page List” block, but that brings all my pages in.
Is there a way to edit this Page List to include only the pages that are related to a specific product?
Right now I manually inserted a list with the different products, but wanted to automate the process in case we add new products in the future.
May 29, 2022 at 11:41 am #2237172Leo
StaffCustomer SupportHi there,
I believe the Query Loops block in the upcoming GB 1.5 which is currently in Beta would be what you are looking for:
https://generateblocks.com/generateblocks-1-5-dynamic-data-query-loops-image-blocks/Let me know if this helps 🙂
May 29, 2022 at 12:38 pm #2237213Fabiano
Thanks for this, I tried using the Query Loop, but am getting blank results.
I used the following parameters:
Select post type: “Pages” > Posts per page = “10” > Taxonomies = “Tags” > Select taxonomies = “product”(when you look at the page, you’ll see the list with the manually entered list of Products, and below it should be the Query Loop block (which shows blank results)
May 29, 2022 at 4:55 pm #2237299Fernando Customer Support
Hi Fabiano,
Can you try clearing all caching mechanisms set on your website?
To test, can you also try using a different taxonomy?
Tested adding a Query Loop Block on my test website’s product page and it worked as expected.
See: https://share.getcloudapp.com/z8um7wlO
Also see: https://share.getcloudapp.com/Z4uAPzm7
Kindly let us know how it goes.
May 30, 2022 at 5:23 am #2237892Fabiano
No luck 🙁
It looks like you tried using posts and products, not sure if the issue is with pages (my case) specifically?
May 30, 2022 at 11:17 am #2238426Ying
StaffCustomer SupportHi Fabiano,
How did you add tags to pages? Are you using a plugin for that?
I can see that the query loop is outputting some pages, what’s the dynamic settings for the
headlineblock?
https://www.screencast.com/t/0K5MUuMTMay 30, 2022 at 12:09 pm #2238472Fabiano
I got it!
How do I add a hyperlink to each of those headlines so that the user is directed to each page?
May 30, 2022 at 12:14 pm #2238473Fabiano
Nevermind, I got it now!
May 30, 2022 at 3:33 pm #2238587Ying
StaffCustomer SupportGreat! Glad you figured it out 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.