WordPress.org

Ready to get started?Download WordPress

Forums

Display Posts Position In Category (3 posts)

  1. mikedistras
    Member
    Posted 2 years ago #

    Im looking for a way to output the posts position in a category in the actual post itself (single.php).

    The idea is to display a Posts rank in a specific category
    - Its position will be changed in the menu every now and then so this will need to update automatically on the front end of the post.

    So in short.
    Get the posts menu position in a category
    output the menu position number within the post

    Not sure if its possible?

  2. mikedistras
    Member
    Posted 2 years ago #

    This needs to be output/echoed onto the Post/Single.php file too...

  3. synapseinternet
    Member
    Posted 1 year ago #

    Hello,

    I am also looking for this: I am in the process of custumizing single.php and I put previous and next post links.

    I would like to have an indication like this 2 / 3 to tell readers "Your are at post number 2 on a total of 3 in this category"

    So I found how to show the total number of post in a category but I did not find how to show the position of the post within the category...

    any hints ?

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic