How to query a post's count in The Loop (1 post)

  1. hammerikaner
    Posted 9 years ago #

    Need some help, folks.

    I want to style posts listed by the loop differently based on their order within the loop by calling the loop count for each post and pulling it into a simple CSS class such as class='post<#loop count>' where '<#loop count>' is the called number of the post within the loop. Get what I mean?

    What's the code I need to insert to get this?

Topic Closed

This topic has been closed to new replies.

About this Topic