Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Good morning,
I want to use the pagebuilder post loop to show some properties of my site.
They’re not the standard post type.
When I add the Post Loop Widget in my page where I want the loop to show some posts from specified categories, I get this message:
“Your theme doesn’t have any post loops.”
What can I do?
I do not have an URL to show because I’m developing in localhost.
Hi Pedro
This is unfortunately true. There aren’t any matching templates that the Post Loop widget can pickup in Estate. Ideally, try our Vantage theme which that widget was crafted for:
Theme: Free, multi-purpose, responsive WordPress theme from SiteOrigin
Sorry I don’t have better news.
I have found a way to make this work:
Create a loop.php file in your theme. Then paste this code:
Then you can create a query in the backend of wordpress in the SiteOrgin Builder once you refresh the page.
– Jim
I am not using the WPestate theme. I am using my own custom built bootstrap theme.
– Jim
Perfect. The Post Loop widget looks for loops with the following file name format:
content-*.php
*-content.php
loop-*.php
*-loop.php
* is a maverick. It can be any name.
Glad to hear you’ve made progress. All the best with your site.
For a short hint/recap: there seems to be a bug or your suggestion is wrong.
Naming the file “loop-products_small.php” leads to success whereas “products_small-loop.php” does not.
This happens using PageBuilder version v2.4.17.
Best regards,
Marco