Taxonomy Images II
[Plugin: Category Images II] Using STYLESHEETPATH instead of TEMPLATEPATH (1 post)

  1. Phlux0r
    Posted 6 years ago #

    In plugin.php render() method, TEMPLATEPATH is used to look for a local render template however, when using child themes, this points to the parent theme.

    Using STYLESHEETPATH fixes this to look in the child theme directory.

    Also, it should be more clear how to use this plugin for simply iterating through all categories and displaying the images regardless of whether we are in the loop or not.

    Otherwise, pretty neat plugin, exactly what I was looking for.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Taxonomy Images II
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic