PHP to show image when inside a specific category?
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.
- The topic ‘PHP to show image when inside a specific category?’ is closed to new replies.