Customized template location?
-
Hi,
the plugin works perfectly fine, however I have a tiny feature request: It would be great if theme developers could adjust the location of their custom YARPP templates. For example some developers might want to put their plugin template files into a sub directory /plugin-support of their theme – it’s not too organized if all template files (even for plugins) are in the theme root path.
I would appreciate if the YARPP plugin used a filter when requesting custom templates, so that developers could possibly replace
/yarpp-template-*.php
with for example/plugin-support/yarpp-template-*.php
. Furthermore, it would even be more amazing if this was child-theme-compatible (first checking child theme directory, then checking parent theme directory).I would be glad to make a pull request for that or to help out in another way if you like.
https://www.ads-software.com/plugins/yet-another-related-posts-plugin/
- The topic ‘Customized template location?’ is closed to new replies.