WordPress.org

Ready to get started?Download WordPress

Forums

Add a Link Category on Custom Menu (3 posts)

  1. fabio.miojo
    Member
    Posted 3 years ago #

    So, guys... I've got a site, and I'm doing the custom menu. on the nav-menu, however, we don't have the Links that we put on the Links part, you know? I wanted to add to the menu some links from the link categories, but there isn't the possibility, only Pages, Categories, Posts and Tags.

    I thought that maybe I could add it on the widget part, but my main menu doesn't appear there, like sidebars, and I can edit it only at the nav-menu.

    How can I make the Link Categories show so I can add them on the main menu?

    or

    How do I make the Main Menu appear on the Widget page so I can edit it there, like sidebars?

  2. dougwalker619
    Member
    Posted 3 years ago #

    Wish I could help. I just ran into the same problem. I'll be looking in to adding this function, but certainly hope someone comes along with answers! Good luck!

  3. giles14
    Member
    Posted 3 years ago #

    Try adding this code to your template where you want your menu appear:

    <?php wp_nav_menu( array( 'theme_location' => 'primary-menu', 'menu_class' => 'topnav', 'fallback_cb' => 'topnav_fallback') ); ?> then in Appearance-> Menu and create your new menu including categories, links and anything else.

Topic Closed

This topic has been closed to new replies.

About this Topic