WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[Plugin: Yet Another Related Posts Plugin] Parent Template Support (2 posts)

  1. gtim19
    Member
    Posted 2 years ago #

    This is not a question but more of a feature request. I run child / parent themes and needed to modify your plugin to use the parent theme directory for a YARP template.

    I was hoping you could give the user an option to use the child or parent theme folder for the template.

    My modification might be a good option as well (though it isn't as flexible for users that want to use the child theme folder).

    Using the "TEMPLATEPATH" constant instead of "STYLESHEETPATH" will direct to the parent theme. If only one theme is used, it still works by pointing to the only theme folder available.

    This is helpful for people using your plugin for theme functionality, because if someone adds a child theme, the plugin reverts back to the default template without the above options (essentially breaking the parent template).

    Thanks for making a great plugin!

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

  2. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks. I did not build this for YARPP 3.5 (which I just released) but I agree that it's a worthwhile enhancement and hope to get to it in the future.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic