WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Exclude home ID from wp_list_cats (7 posts)

  1. Caroline
    Member
    Posted 1 year ago #

    How do I exclude "Home" from my main menu? It's not a category right? But still shows up, does it have an ID?

    <?php wp_list_cats('sort_column=id&depth=1&title_li='); ?>

  2. ALVAW3
    Member
    Posted 1 year ago #

    can you provide a link? and have you checked in the Appearance > menus section? if not check there and remove it from your menu.

  3. Caroline
    Member
    Posted 1 year ago #

    I don't use those menus at all. My navigationmenu are the first depth categories, including "Home" which I would like to be excluded in the php-code above!

    http://www.makeupedia.se

  4. Caroline
    Member
    Posted 1 year ago #

    Sorry I sorted it out, most embarrassing.

  5. ALVAW3
    Member
    Posted 1 year ago #

    excellent and your site looks great! nice job!

  6. Caroline
    Member
    Posted 1 year ago #

    Thank you so much alvaw!!

  7. ALVAW3
    Member
    Posted 1 year ago #

    anytime Makeupedia! :)

Topic Closed

This topic has been closed to new replies.

About this Topic