• Hi Anders,

    here’s the part of the the child theme’s header.php with which I am trying to get your Miyazaki theme’s menus to work with the WP Members plugin. WP Members logged in/out status shows and works but your primary menu won’t show.

    Any advice from the back of your head greatly appreciated. I dlove your work.
    Mark

    <ul class=”main-menu header-menu reset-list-style”>
    <?php
    //added wpmem user logged in
    if ( is_user_logged_in() ) {
    $status_text = wpmem_login_status(false);
    } else {
    $status_text = ‘Du bist nicht angemeldet | Hier klicken um Dich anzumelden.‘;
    }
    //end added wpmem user logged in
    if ( has_nav_menu( ‘primary-menu’ ) ) {
    wp_nav_menu( array(
    ‘container’ => ”,
    //added from wpmem
    “container_class” => “”,
    “container_id” => “header-main-menu”,
    “fallback_cb” => false,
    “menu_class” => “primary-menu”,
    “theme_location” => “custom_menu”,
    “items_wrap” => ‘<ul id=”%1$s” class=”%2$s”>%3$s<div class=”custom-header”>’.wpmem_login_status(false).'</div>’,
    //. $status_text . ‘</div>’, -shouldn’t be here in the first place
    //end added from wpmem
    ‘theme_location’ => ‘primary-menu’,
    ) );
    } else {
    wp_list_pages( array(
    ‘container’ => ”,
    ‘title_li’ => ”,
    ) );
    }
    ?>
    <!– .main-menu –>

    </div>

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • You probably need to ask this at your theme author’s support system or else the support system for that plugin you mentioned. One of those services should be able to help you.

    Thread Starter mseu

    (@munich)

    Thank you JNash, I already did and am still keeping asking around.

    Cheers Mark

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Part of the menu items won’t show’ is closed to new replies.