Support » Themes and Templates » How do I change the order in the menu?

How do I change the order in the menu?

  • I’d like catagories to be the first item in the menu, and move links down, to at least the first spot below catagories. I’ve experimented a little with the code in the template, index.php, without luck. There must be two parts to move.
    Here’s what I’ve been looking at:<br>
    <div id=”menu”>

      <?php get_links_list(); ?>
      <li id=”categories”><?php _e(‘Categories:’); ?>
      <?php wp_list_cats(); ?>

    <li id=”search”>
    <label for=”s”><?php _e(‘Search:’); ?></label>
    <form id=”searchform” method=”get” action=”<?php echo $PHP_SELF; ?>”>
    <input type=”text” name=”s” id=”s” size=”15″ />
    <input type=”submit” name=”submit” value=”<?php _e(‘Search’); ?>” />

Viewing 5 replies - 1 through 5 (of 5 total)
  • I just got caught, too. The

      didn’t show up when I pasted in my first post. I tried moving things as suggested, then the sizing and verticle spacing went wacky on me.
      Here’s how it looks in it’s original form:
      <div id=”menu”>
      <?php get_links_list(); ?>
      <li id=”categories”><?php _e(‘Categories:’); ?>
      <?php wp_list_cats(); ?>

    Here’s how it looks when I switched it (but spacing flew the coop):
    <div id=”menu”>

      <?php _e(‘Categories:’); ?>
      <?php wp_list_cats(); ?>
      <?php get_links_list(); ?>
      <li id=”categories”>

    I added an extra

      ahead of the links list…maybe I shouldn’t do that?

    ok. clarification. when I post the ul inside brackets, it either comes up as a blank or as a dot……so pretend you see it. thanks.

    that did the trick. thanks

    Anybody knows where to find a clear tutorial on changing the order of the menu? Thanks.

    Did you search the Codex?
    General design topics:

    where you can find this

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How do I change the order in the menu?’ is closed to new replies.
Skip to toolbar