• melbell

    (@melbell)


    I am using the Category Icon plugin by Chris Cosentino and I’m wanting to get rid of the icon on the single post page (single.php).

    Is there some variable that the plugin can read to just return the plain text without adding the icon if the post is being viewed alone from single.php?

    It seems like I should be able to stick a simple if statement in the plugin itself that will bypass the insertion of the category icon. I did that very thing with my pages using if (is_page()) but I don’t know which variable would tell the plugin that it’s single.php calling the post.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Category Icon Plugin’ is closed to new replies.