mysterious menu

If you are referring to the top admin menu with Customize, etc. Then normal users do not see that only users who are logged in. If you are logged in and do not with to see that, then click on the far top right of this menu, your user profile “Edit my profile”, and un-tick … Read more

Appearance –> Menu -not showing on my main page

Once you create the menu (in Appearence, Menu), you have to tell the theme to use that menu. That is usually in Appearance, Customize, which should then have a choice somewhere (depending on where the theme author put it) that you can specify a menu you built. Some theme’s Customization let you directly create/change/specify a … Read more

menu change after theme change

I am not sure this is the problem you are having, but often when you switch themes, or rename the theme folder, the menu assignment box get’s unchecked. If you go to Appearances -> Menu, select the menu that’s not working from the dropdown. After clicking on “Select” make sure that the checkbox under “Display … Read more

display cart information within li of cart menu item

The items in the $fragments array will replace the html contents of the element you specify as the key. In your example $fragments[‘li.menu-item-type-woocommerce-cart’] = ‘some html’; some html will be inserted in the DOM element <li class=”menu-item-type-woocommerce-cart”> Here is the Javascript: $( ‘li.menu-item-type-woocommerce-cart’ ).replaceWith( ‘some html’ ); Is there already such an element in your … Read more

WordPress menu issue after update

Suggest going through all options of the Theme Customization to setup (and understand) everything. Check the Menu area to make sure that the theme is selecting the proper menu. Look at the Menus that are defined to ensure you are selecting the correct menu. Some themes use ‘widget areas’ to allow for different content (including … Read more

Parent link need to go first child submenu

I found solution here Create template for parent pages: <?php /* Template Name: Redirect To First Child */ if ( have_posts() ) { while ( have_posts() ) { the_post(); $pagekids = get_pages( “child_of=” . $post->ID . “&sort_column=menu_order” ); $firstchild = $pagekids[0]; wp_redirect( get_permalink( $firstchild->ID ) ); } } ?>

Extending Walker_Nav_Menu in wp_nav_menu List of Empty Items

The answer was that the theme location is primary_navigation with an underscore, not primary-navigation with a hyphen. I’m not sure why it seemed to work without the walker argument. Typical and along the lines of what it seemed like must be the solution. The obvious thing I wasn’t seeing because of feeling overwhelmed by an … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)