Pull request: search custom template both in child and in parent themes
-
Now the plugin loads custom templates only from current theme. That means only from child theme, and not also from parent theme as we expect (the plugin uses
locate_template
function to check if template exists and this function searches both in child and parent theme).With this pull request, the plugin searchs a custom template first in current/child theme, then in parent theme (if you are using a child theme):
https://github.com/bostondv/ultimate-posts-widget/pull/23I hope it helps.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Pull request: search custom template both in child and in parent themes’ is closed to new replies.