This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Post Loop Template Validation

6 years ago · Last reply by Andrew Misplon 6 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

8
  1. Andrew Misplon Staff 6 years, 4 months ago

    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. Andrew Misplon Staff 6 years, 4 months ago

    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. Andrew Misplon Staff 6 years, 4 months ago

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

  4. jroy1082 6 years, 4 months ago

    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. Andrew Misplon Staff 6 years, 4 months ago

    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. Andrew Misplon Staff 6 years, 3 months ago

    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. jroy1082 6 years, 3 months ago

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

  8. Andrew Misplon Staff 6 years, 3 months ago

    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.

Have a different question or issue?

Start New Thread