Home>Support>Post Loop Template Validation

Post Loop Template Validation

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].

In version 2.10.0 template validation was added to the post loop widget. We had been using the siteorigin_panels_postloop_templates filter to add templates in from a plugin which no longer works because the locate_template function being used only looks in the STYLESHEETPATH, TEMPLATEPATH, and ABSPATH . WPINC . ‘/theme-compat/’ directories. Can this portion of the code be removed or a filter be added after the validation to allow us to bypass it? The other validation makes sense, only PHP files and the file must exist, but I don’t see any reason why we couldn’t load templates from a plugin. Our use case doesn’t allow us to add these templates into our theme.

Thanks,
Josh

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 5 years, 8 months ago Andrew Misplon
    Hi, I Work Here

    Hi Josh

    Sorry about this, it wasn’t intentional. We’ll come back to you in the next couple of days with the way forward.

  2. 5 years, 8 months ago Andrew Misplon
    Hi, I Work Here

    Hi Josh, we’re working the problem here. I can’t say that the changes will be exactly the same once reviewed but I can say that the pull request is functional. If you’d like me to build you a copy of Page Builder with this pull request (fix) included so you can make use of it right away, please, let me know.

  3. 5 years, 8 months ago Andrew Misplon
    Hi, I Work Here

    Please, read my reply here on the forum, a sentence didn’t make sense, I’ve corrected it here. Thanks.

  4. 5 years, 8 months ago jroy1082

    Hi Andrew, thank you for the quick fix. If the next update to Page Builder will be released soon we can wait until then.

    Thanks,
    Josh

  5. 5 years, 8 months ago Andrew Misplon
    Hi, I Work Here

    Hi Josh

    I don’t have an exact date on the next release but I am pushing for it to be as soon as possible. I’ll keep you updated. If you need a beta build in the meantime, please, let me know.

  6. 5 years, 8 months ago Andrew Misplon
    Hi, I Work Here

    Hi Josh

    Please, can you try today’s update and let us know how it goes. We have a report of concern here but aren’t able to replicate yet, we’ll have to investigate the site in question’s setup in more detail.

    I’ve updated the Post Loop documentation Page: Post Loop Widget.

  7. 5 years, 8 months ago jroy1082

    Hi Andrew, the latest version seems to be working properly. Thank you.

  8. 5 years, 8 months ago Andrew Misplon
    Hi, I Work Here

    Super, glad to hear all is normal again. Thanks for the update :)

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