Support » Fixing WordPress » Horizontal Categories Nav

  • Is there a plugin or code where I can create a horizontal navigation menu for categories? I’d like it to be placed below the page nav. I was pretty sure my theme had the ability to turn this on, but I wasn’t able to find it anywhere on the dash. Please let me know if this is possible.

    Thanks

    C

Viewing 8 replies - 1 through 8 (of 8 total)
  • I just tried this and it worked.
    You will have menu tabs like the main menu, but with categories.

    In the header.php, copy the menu code, paste it where you want it to appear, and where you see <?php wp_list_pages; ?>, replace it with <?php wp_list_categories; ?>

    To have them look different than the menu tabs, create a css class in the style sheet.

    See if this works for you.

    Thread Starter prosperewebitor

    (@prosperewebitor)

    I tried doing that, but the categories weren’t lining up horizontally.

    A link to your site, so we can look at it…

    Thread Starter prosperewebitor

    (@prosperewebitor)

    Prospere Magazine
    I took the horizontal nav for cateogires out because it pushed the page down too much.

    C

    I am confused, you don’t want to have horizontal nav for categories anymore?

    Thread Starter prosperewebitor

    (@prosperewebitor)

    I do, but I had to take it out because it looked so off! Everything was pushed down. I run this blog as a business, so I can’t keep things that look “off” that long. I had to change it back.

    Right.

    Having the categories on the sidebar, will also allow you to have as many as you like.

    The horizontal nav would look odd with more than one line of tabs + the main menu, as space is more limited. =)

    Thread Starter prosperewebitor

    (@prosperewebitor)

    But categories on the side bar won’t look magazine-like. Most newspapers and magazines have two layers of horizontal nav.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Horizontal Categories Nav’ is closed to new replies.