WordPress.org

Support

Support » How-To and Troubleshooting » Home Custom Menu Link

Home Custom Menu Link

  • arturocivit
    Member

    @arturocivit

    Hi there, I’m trying to have the menu link per default when using my custom menus, and in my functions document I have this:

    function home_page_menu_args( $args ) {
    $args['show_home'] = true;
    return $args;
    }
    add_filter( 'wp_page_menu_args', 'home_page_menu_args' );

    The thing is, in the custome menu options > pages I have this: “No items.” So not sure what’s going on, it was working in other websites but not in this one, any idea?

    Thanks!

    A.

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Home Custom Menu Link’ is closed to new replies.