WordPress.org

Ready to get started?Download WordPress

Forums

Posts per Cat
sort posts within categories (2 posts)

  1. brian74
    Member
    Posted 5 months ago #

    Hi Urkekg,

    do you have an idea about how can posts be sorted within categories, other than a default order?
    For my client it has a particular importance, to be able to sort posts in an order that can be modified easily. There are several plugins that can modify posts order for example both in backend and frontend, but not in an sitemap-like rendering like your posts-in-cat... (which is good enough for this purpose...)

    Thanks in advance, if you have and share idea...

    Gabor Miglecz

    https://wordpress.org/plugins/posts-per-cat/

  2. urkekg
    Member
    Plugin Author

    Posted 5 months ago #

    Hi brian74,

    You can achieve that by modifying file wp-postspercat.php following this steps:

    • on line 184 change "date" with one of parameters explained here
    • on line 188 change value for orderby=date to orderby=WHATAVER_YOU_WISH also with parameter from WP codex page linked above

    Or you can try with development version which you can download here (future 1.3.0)

    Cheers,
    Aleksandar U

Reply

You must log in to post.

About this Plugin

About this Topic