Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 1 replies (of 1 total)

  • eddygordo
    Participant

    @eddygordo

    Hello, thank you but this code dont work :S
    Here this is showing when i add this code to the Functions.php :
    // Filter wp_nav_menu() to add profile link add_filter( ‘wp_nav_menu_items’, ‘my_nav_menu_profile_link’ ); function my_nav_menu_profile_link($menu) { if (!is_user_logged_in()) return $menu; else $profilelink = ‘
    ‘ . __(‘Visit your Awesome Profile’) . ‘
    ‘; $menu = $menu . $profilelink; return $menu; }

Viewing 1 replies (of 1 total)
Skip to toolbar