WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] ordering category titles in horizontal nav (4 posts)

  1. redrooster123
    Member
    Posted 5 years ago #

    http://west-ham-fans.com

    Hi guys,

    How do I reorder my category titles in the top nav? I have een loads of plugins that do this for sidebar / widget category orders, but not for horizontal navs?

    Such a simple thing, searched all over google - very frustrating!!!

    Thanks,

  2. Joshuwar
    Member
    Posted 5 years ago #

    It's a bit long hand, but if you want total control, you could hard code the buttons into your theme files- find the nav strip and replace

    wp_list_categories

    with something like this:

    <li><a href="?cat=3">category 3</a></li>
    <li><a href="?cat=7">category 7</a></li>
    <li><a href="?cat=15">category 15</a></li>

    replacing ?cat=7 for the actual numbers of your categories...

  3. redrooster123
    Member
    Posted 5 years ago #

    I could do that, but found a nice clean alternative:

    http://wpguy.com/plugins/category-order/

    Thanks!

  4. Joshuwar
    Member
    Posted 4 years ago #

    Excellent!

Topic Closed

This topic has been closed to new replies.

About this Topic