Loop question
-
Hi all,
I have a loop that displays the latest two posts from specific categories.
I want to be able to apply different html to a post if it is in category 3, if not I want the normal html to applied to the code.
I’m guessing an IF statement would be needed here inside the loop, but my PHP isn’t that great which is why i’m asking how it can be done.
Thanks in advance.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Loop question’ is closed to new replies.