Query builder Looper for page

Hello,
i would like to make random display for page preview. so i made a new section and activated looper provider for the row and and choose Query builder with page as ‘posts’ and random as ‘Order by’.
I activated looper consumer for the column and add a image element with a feature image dynamic content.

For testing, i put a featured image for one page and select only that page in the query builder to see if it’s working but nothing happening, shouldn’t the featured image be displayed in the image element ? What i im missing ?

Hello @Lyser,

Thanks for writing to us.

As per your given screenshot, it looks fine, it might be an issue with the browser cache I would suggest you please purge all the cache and recheck it. If it doesn’t work we need to check your settings. I would request please share the admin login details meanwhile I would suggest you troubleshoot a few of the common issues before we investigate your settings. Please share your details in a secure note. Please provide the following details

  • WordPress Login URL
  • Admin-level username and password
  • Exact page URL

You can find the Secure Note button at the bottom of your posts

Thanks

I put the looper provider at the same lvl of the looper consumer (both are in column) and now it’s working.
I saw in videos that provider and consumer should be at child lvl but it seems that not always ?

Hey @Lyser,

Placing the Looper Provider and the Looper Consumer on the same element will apply almost every time. You will have to nest the Looper Consumer in a child element when your element structure is needed or something that is to be done for the design layout.

For example, if you want to display the post items in 1 single row, you can have:

Row - Looper Provider / Looper Consumer
   Column 
      Headline - Item Title
      Image - Featured Image
      Text - Post Content

And if you want to display a 3 column items in one row, your element structure could be this:

Row - Looper Provider
   Column - Looper Consumer
      Headline - Item Title
      Image - Featured Image
      Text - Post Content

Hope this makes sense.

Ok, thx for explanation.

You are most welcome @Lyser

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.