I want to show some html on the first page of a particular categories archive.
I’ve tried using
<?php if ( in_category(‘3’) ): ?>
<?php endif; ?>
Which works, but as I said I only want the code to appear on the first page of that category archive.
Any ideas how I can do this?
- The topic ‘Show some code based on category page’ is closed to new replies.