WordPress.org

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] [Plugin: Yet Another Related Posts Plugin] Template system does not allow underscores (4 posts)

  1. jeremyschultz
    Member
    Posted 2 years ago #

    I found a bug with the YARPP templating system that kept my template file from displaying in the dropdown menu in the plugin admin.

    After a lot of trial and error with my code and the file location, it seems it's actually the underscores in my filename:

    yarpp_template_related.php

    is not recognized as a template. yarpp-template-related.php is.

    Jeremy

    http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Jeremy. This is not a bug... only files which start with the prefix yarpp-template- are found. Did you see some documentation which indicated that yarpp_template_ should work? If so, I should fix that.

  3. jeremyschultz
    Member
    Posted 2 years ago #

    No, I looked at several sources (documentation as well as blog posts and such) and couldn't find details on how to deploy my template. I figured out through trial and error.

  4. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry to hear that this was difficult. The readme bundled with YARPP has this information.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags