WordPress.org

Ready to get started?Download WordPress

Forums

help with menu title!!!!!!!!!huh??? (5 posts)

  1. mo2007
    Member
    Posted 6 years ago #

    Hi there, i'm trying to list the categories in a menu list without including the title "Categories" because I have already put the word "Categories" in manually and styled it in a <DIV></DIV>. How do I just include the list without the title? This goes the same for the blogroll.

    Categories code:
    <?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>

    Blogroll code:
    backticks<?php wp_list_bookmarks(); ?>backticks

    Thanx in advance.....

  2. Cal
    Member
    Posted 6 years ago #

    i think it's just like this

    <?php wp_list_bookmarks('title_li='); ?>

    <?php wp_list_categories('show_count=1&title_li='); ?>

    Just have title_li= be blank as shown above.

  3. mo2007
    Member
    Posted 6 years ago #

    Thanx for that, now the list links are now have no style just like the other ones. My menu is in:

    <div id="menu"></div>

    I have styled the #menu ul li in the css stylesheet, but no style is applied to this list. Another problem is that the blogroll which is <?php wp_list_bookmarks('title_li='); ?> is not working.

    Any suggestions...thanx in advance

  4. Cal
    Member
    Posted 6 years ago #

    I think this page will help you out

    http://codex.wordpress.org/Template_Tags/wp_list_bookmarks

    as for the stylesheet, it should work, when you view source what does it say?

    <div id="menu">
    <ul> links with li tags </ul>
     </div>

    Maybe you don't have the
    <ul> there?

  5. mo2007
    Member
    Posted 6 years ago #

    Thanx, i've put the ul tags and it worked, but the blogroll links are displayed with their title. I want to hide this because I have already put the title as "Friends" manually in the DIVs of this menu.

    Is there a way to hide the title leaving the list alone?

    Thanx in advance

Topic Closed

This topic has been closed to new replies.

About this Topic