Forums

[resolved] WP Newbie needs help with buttons (6 posts)

  1. us2guys
    Member
    Posted 1 year ago #

    Hello everyone,

    Yesterday, I decided to make the switch to WordPress since I am more interested in deveolping content for my site rather than creating a site from scratch.

    us2guys.com is my site and you can see what I've accomplished this morning.

    I am using the BlueMod 1.0.3 theme and have run into a snag. In the header, next to the "Home" button, I would like for category buttons to appear. The default for this theme is that it creates page buttons instead. There is no setting to have it switch to category buttons.

    Of course, I desire the home button to stay there.

    Does anyone know how I can go about getting category buttons to appear?

    Thank you very much for your help or thoughts.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    You could try replacing wp_list_pages with wp_list_categories in header.php.

  3. us2guys
    Member
    Posted 1 year ago #

    Excellent Notion... it did change to categories... but now the sub-category is aligning next to it... any thoughts on how to get it removed (without removing it as a child of blogs)or how to get it to appear in a dropdown of 'blogs?'

    Thank you for your help... you've already eased about 2 hours of frustration...

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    You could use something like <?php wp_list_categories('title_li=&depth=1');?> to limit the list to just your top level categories. Building a dropdown menu is possible but complex - unless you can find a dropdown menu plugin that will work with categories (most seem to be specific to Pages).

  5. us2guys
    Member
    Posted 1 year ago #

    Awesome,

    Thank you so much for your help. Your suggestion did work for removing the child category. I've been trying to use the documentation for the functions, but I guees it's an art to incorporate what is mentioned there.

    Thanks again!

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    No problem :-)

Topic Closed

This topic has been closed to new replies.

About this Topic