Sequentially Numbering Posts in One Category (1 post)

  1. sgreve
    Posted 4 years ago #

    Hey everybody,

    I'd really like all of the posts in one category sequentially numbered regardless of Post ID (ex: Post 1 (oldest post in category), Post 2, Post 3, etc). It's an organizational thing, and only needs to apply to one category.

    I found an awesome thread about achieving this via dynamic query ( http://wordpress.org/support/topic/show-post-number?replies=15 ), but unfortunately this fix only seems to work if you only have one loop on your main index file. My index has 3 loops.

    Unfortunately I'm pretty noob-y when it comes to PHP, so I could really use some advice here.

    How do I make this: http://pastebin.com/PMdQ4QD0 - work inside these loops: http://pastebin.com/vRjEP4zB ?

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.