1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need help with WordPress category order

Discussion in 'PHP & Perl' started by Micoche, Feb 23, 2011.

  1. Micoche

    Micoche BANNED BANNED

    Joined:
    Apr 20, 2010
    Messages:
    135
    Likes Received:
    11
    Hi,

    I have a wp blog and its about episodes.. the menu shows the episodes order on the top menu as Episode 1 | Episode 2 | Episode 3 etc..

    and i want to change it to show the way around.. Episode 3 | Episode 2 | Episode 1


    im not good at php but im pretty much sure this is the code i gotta change.. but instead of name what should i put there? i tried changing it to slug and description but doesn't work

    Code:
    wp_list_categories('title_li=&orderby=name');
    any help would be nice :D
     
  2. easyroms

    easyroms Newbie

    Joined:
    Nov 5, 2009
    Messages:
    15
    Likes Received:
    1
    change the order property
    Code:
    wp_list_categories('title_li=&orderby=name&order=DESC');