WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] No categories text appears in my header (7 posts)

  1. flemingxrt
    Member
    Posted 3 years ago #

    No categories text appears in my header. You can view it here http://keepsakecarpets.com/. How to i get rid of this what should i look for?

  2. alchymyth
    Forum Moderator
    Posted 3 years ago #

    there might be some code for a category menu in the header.php file;

    edit header.php and look for wp_list_categories() (with some stuff in the brackets)

    for example:
    wp_list_categories('title_li=');

    add &show_option_none= to it; so the example would look like:
    wp_list_categories('title_li=&show_option_none=');

    - not documented in
    http://codex.wordpress.org/Template_Tags/wp_list_categories

  3. flemingxrt
    Member
    Posted 3 years ago #

    this is the only thing i saw category in. <?php if(is_home()){
    echo 'id="home"';
    }elseif(is_category(get_option('boldy_portfolio')) || post_is_in_descendant_category( get_option('boldy_portfolio')) && !is_single()){
    echo 'id="portfolio"';
    }?>>

  4. alchymyth
    Forum Moderator
    Posted 3 years ago #

    how is the rest of the menu made?
    (that might be the code before the one you are looking for)

    or you could paste the code of header.php (assuming the the menu code is in there) into a http://wordpress.pastebin.com/ and post the link to it here.

    is the theme seller offering support?

  5. flemingxrt
    Member
    Posted 3 years ago #

    Heres the entire header

    [code moderated as per forum rules - please us the pastebin]

    I dont think it offers support I checked. Also im pretty sure the person that made it is german or something.

  6. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    You probably need to take a look at the contents of the primarymenu() function, which you should find in your Theme's functions.php file.

  7. flemingxrt
    Member
    Posted 3 years ago #

    ah, ha! I found the category text in the theme functions.php and coded it out with &show_option_none=. Thanks guys!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.