WordPress.org

Ready to get started?Download WordPress

Forums

Reorder Post-Specific Categories (2 posts)

  1. mortega
    Member
    Posted 7 years ago #

    Hello --

    I have two areas where I list the categories specific to that particular post.

    (1) Just below the post-title
    (2) Below the metadata on the individual post, on single.php only

    I want to change the order in which these categories appear using this (from the (2) option):

    <?php the_category('<br>', 'multiple', 'sort_order=name'); ?>

    Can this be done?

  2. moshu
    Member
    Posted 7 years ago #

    Probably, not. Why don't you read about the template tag you are using:
    http://codex.wordpress.org/Template_Tags/the_category
    (see parameters)

Topic Closed

This topic has been closed to new replies.

About this Topic