The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. gtim19
    Posted 4 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!


  2. mitcho (Michael Yoshitaka Erlewine)
    Plugin Author

    Posted 4 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

  • Yet Another Related Posts Plugin (YARPP)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic