Home>Support>Custom Post Loop Templates
  1. 8 years, 7 days ago awaiK

    Hi,

    I think I figured it out.

    For everybody which want to make a custom template for your Post Loop, here some hints:
    – Look at /wp-content/themes/vantage/Loops
    – Your custom Post Loop Template has to begin with “loop”, to appear in the Dropdown-list of available Loop Templates

    Regards,
    Daniel

  2. 8 years, 7 days ago Andrew Misplon Hi, I Work Here

    Hi Daniel

    Any page template with the following names will be picked up by the widget:

    *-content.php
    content-*.php
    *-loop.php
    loop-*.php

    Replace * with a name of your choice, for example:

    custom-content.php would be picked up by the widget.

    Ensure your page template is properly setup and that it’s all contained a child theme.

  3. 6 years, 10 months ago HunterGatherer

    Andrew,
    I know this is an old thread, but it seems to help with what I’ve been asking agout.
    Does the renamed page go in here:
    /wp-content/themes/vantage/Loops
    or,
    /wp-content/themes/vantage-child

    And just to be clear, a page containing the “SiteOrigin Post Loop Widget” would use the appropriately renamed loop type template to display content. Is that right?

    HG/mws

  4. 6 years, 10 months ago Andrew Misplon Hi, I Work Here

    Hi :)

    If you ever run a theme update, this folder gets completely overwritten:

    /wp-content/themes/vantage/
    

    Nothing should ever be changed or added/removed from that, the parent folder. Any changes or additions should happen in the child theme folder.

    Yes, the Post Loop widget looks for templates with file names as I laid out above.

  5. 6 years, 2 months ago paddelboot

    Is seems that page builder only searches the 1st level of subfolders in a theme? So if I place my loop template under mytheme/templates/loop, it will not find it. Correct?

  6. 5 years, 10 months ago Ryan Archer

    I’m also struggling with this. I have a content-grid.php template on the top level of my theme, yet the Post Loop widget does not display posts in any type of grid at all. It just lists them down the page, taking full width. Perhaps the template needs some more work as it’s one of the default page/post templates with my theme.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More