Giving each post a different div id in the WordPress Loop
-
I am listing out posts in div’s and want each div to have a different id. So the first post would be
<div id="post-1">The first post</div>
, the second<div id="post-2">The second post</div>
, etc. How would I do this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Giving each post a different div id in the WordPress Loop’ is closed to new replies.