Site logo

[Resolved] Page List alternative

Home Forums Support [Resolved] Page List alternative

Home Forums Support Page List alternative

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #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.

    #2237172
    Leo
    Staff
    Customer Support

    Hi 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 🙂

    #2237213
    Fabiano

    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)

    #2237299
    Fernando
    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.

    #2237892
    Fabiano

    No luck 🙁

    It looks like you tried using posts and products, not sure if the issue is with pages (my case) specifically?

    #2238426
    Ying
    Staff
    Customer Support

    Hi 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/0K5MUuMT

    #2238472
    Fabiano

    I got it!

    How do I add a hyperlink to each of those headlines so that the user is directed to each page?

    #2238473
    Fabiano

    Nevermind, I got it now!

    #2238587
    Ying
    Staff
    Customer Support

    Great! Glad you figured it out 🙂

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