WordPress.org

Ready to get started?Download WordPress

Forums

Horizontal Categories Nav (9 posts)

  1. prosperewebitor
    Member
    Posted 5 years ago #

    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

  2. buddha trance
    Member
    Posted 5 years ago #

    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.

  3. prosperewebitor
    Member
    Posted 5 years ago #

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

  4. buddha trance
    Member
    Posted 5 years ago #

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

  5. prosperewebitor
    Member
    Posted 5 years ago #

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

    C

  6. buddha trance
    Member
    Posted 5 years ago #

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

  7. prosperewebitor
    Member
    Posted 5 years ago #

    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.

  8. buddha trance
    Member
    Posted 5 years ago #

    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. =)

  9. prosperewebitor
    Member
    Posted 5 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.