PHP to show image when inside a specific category? (2 posts)

  1. chaz7979
    Posted 8 years ago #

    Is there a simple piece of wordpress php code that will display something only if you are in 1 specific category? I understand how and if/then statement works but not how to do it with the special WP code

    What I want to do is something like ...

    IF category=specific-category THEN echo image.jpg

    I hope this makes sense.

  2. chaz7979
    Posted 8 years ago #

    I'm sure this is something simple but, I don't even know where to look or understand the complexities involved with wordpress.

Topic Closed

This topic has been closed to new replies.

About this Topic