Support » Plugin: WP-Members Membership Plugin » logged in/out works but rest of menu is gone

  • munich

    (@munich)


    Hello again Chad,
    hope this finds you well. I am back with a similar issue with the menu item, the theme has changed:

    					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</ul><div class="custom-header">' . $status_text . '</div>',
    								//end added from wpmem
    								'theme_location' 	=> 'primary-menu',
    							) );
    						} else {
    							wp_list_pages( array(
    								'container' => '',
    								'title_li' 	=> '',
    							) );
    						}
    						?>
    					</ul><!-- .main-menu -->
    
    				</div><!-- .header-left -->

    Must be the line beginning with items wrap.

    Please point me at what I am doing wrong,
    thank you much as always,
    Mark

    • This topic was modified 11 months ago by munich. Reason: typo

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

Viewing 1 replies (of 1 total)
  • munich

    (@munich)

    Here’s a warning I am getting that seems to be relaed to previous help request message:

    Warning: sprintf(): Too few arguments in /www/htdocs/w00ba6b0/beatballaballa.com/19-beatballaballa/wp-content/plugins/wp-members/inc/dialogs.php on line 386

    In addition menu items are listed as bullet points.

    Here’s the snippet, it’s the third line from the bottom:

    		// Assemble the message string.
    		$str = $args['wrapper_before']
    			. sprintf( $args['welcome'], $args['user_login'] )
    			. $args['separator']
    			. sprintf( $args['logout_link'], $args['logout_text'] )
    			. $args['wrapper_after'];
    		break;
    

    You can also login with the credentials I sent, I gladly send them again if needed,

    Thank you,
    Mark

Viewing 1 replies (of 1 total)
  • The topic ‘logged in/out works but rest of menu is gone’ is closed to new replies.