WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Phlux0r
    Member
    Posted 4 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.

    http://wordpress.org/extend/plugins/category-images-ii/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic