If is first post and is in category
-
Hi,
I am trying to reate a statement which says ‘if the post is in category 3 and is the first (latest) post then…
I am currently using
<?php if ( in_category('3')) { ?>
to sort the category bit out… how would I do it (i presume it would be something like
<?php if ( in_category('3')) && something { ?>
)Could anyone help me here?
Many thanks,
Oli
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘If is first post and is in category’ is closed to new replies.