Target First Post In Loop
-
I am making a theme and want to have the first post look a little different than the rest of the posts. What would be the best way to target the first loop in the post on the first page only?
I know that there are tutorials online, but each tutorial I look at they suggest something different. Plus, a lot of them are a few years old, and I am not sure if much has changed since then.
FYI, the theme will be used for my own site and will be running the latest version of WordPress, so no need for legacy support.
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Target First Post In Loop’ is closed to new replies.