• Resolved communitymanagerjugavi

    (@communitymanagerjugavi)


    Hello,
    I’m just started to use the Dyad 2 theme and I can’t show the menu in the header. I have an English and Spanish menus created and configured (they work perfect in my previous WordPress theme), but they don’t run now.
    I have another request about the featured image of the posts, is there a way to show the featured image on the top of the post instead of the left?
    My web page is https://www.jugavi.com
    Thanks in advance for your help and best regards.
    Guillermo

Viewing 11 replies - 1 through 11 (of 11 total)
  • I am having the exact same problem with Dyad 2, all my menus appear to be configured correctly, but they are not displaying on the site at all (neither social nor main menue) all I can see is a link to the About Page.

    my site is https://www.mikeestravels.com

    Hi there!

    Often when changing themes the menu can be unset if the menu location names don’t match.

    If you open Appearance > Customize > Menus, and select the Primary Menu location, do you see the name of your desired menu selected?
    https://cloudup.com/clUZl5sypUr

    Try setting that back to -Select, saving, and then choosing your menu and saving again. That should reset the menu selection.

    @communitymanagerjugavi – if you set a post to use the Image post format, it should display the featured image on top of the single post page ??

    @shireling – trust me, I’ve tried that a tonne of times to no avail.

    see

    • This reply was modified 7 years, 8 months ago by mikeenz.
    • This reply was modified 7 years, 8 months ago by mikeenz.
    • This reply was modified 7 years, 8 months ago by mikeenz.
    Thread Starter communitymanagerjugavi

    (@communitymanagerjugavi)

    Hi @shireling
    thanks for your response.
    I checked that my menus are correctly selected:
    Menu pic 1
    Then, as you said, I set them back to “-Select” option and save the changes:
    Menu pic 2
    Then I selected the menus again and save the changes, but the menu didn’t appear in the header. I even created a new menu (with other pages) and selected it, but it neither worked:
    Menu pic 3
    Any other option?
    Best regards,
    Guillermo

    Thread Starter communitymanagerjugavi

    (@communitymanagerjugavi)

    Hi again,
    I had a plugin called “Exclude pages” to hide selected pages from navigation (not from menus), so I removed it to check that it was the problem.
    Now the menu still does not appear but the header shows all the pages that I have (although they haven’t been included on the menu).
    Any idea?
    Best regards,
    Guillermo

    Thank you both for the screenshots!

    I had a plugin called “Exclude pages” to hide selected pages from navigation (not from menus)

    In many cases, “menus” and “navigation” are the synonyms, so that makes sense as a source of part of the issue. It now sounds like Dyad is using its default menu and listing all of your pages. That indicates that while you have menus set, they aren’t being loaded.

    The fact that you are now seeing the default menu as well put you in what looks like the same position as @mikeenz.

    Now that your symptoms match more closely, I was able to find the problem – the menu ID being registered is different than the one being called by the header.

    I’ve put together a child theme you can install as a workaround, and I’ll open up a bug report so it can be fixed directly.

    When you visit that link for the child theme, use the Clone or Download button and choose the Download ZIP option. Then install and activate like a normal theme.

    https://cloudup.com/cArUiawsXh0

    @communitymanagerjugavi – depending on how you’ve implemented the extra menus you’re using, you may need to make adjustments. If you’re using a child already, here is the function I’ve used to remove the current menu and register one with the right name:

    function dyad_2_menu_fix() {
        unregister_nav_menu( 'menu-1' );
        register_nav_menus( array(
            'primary' => esc_html__( 'Primary Menu', 'dyad' ),
        ) );
    }
    
    add_action( 'after_setup_theme', 'dyad_2_menu_fix', 12 );
    

    Give that a try and let me know how it goes – we’ll also post here when the parent theme is updated!

    Good news!

    The fix has already been applied – if you update the theme in your dashboard the problem should be resolved (so skip that child theme I posted!).

    @communitymanagerjugavi – if you used a plugin or child theme to add your new menus, you should be good to go with the update.

    If you modified the theme code directly though, make a copy of your custom code in a safe place before you update – otherwise your changes will be lost. After you update, apply those changes in a child theme instead (if necessary) ??

    Thread Starter communitymanagerjugavi

    (@communitymanagerjugavi)

    Hi @shireling,
    I was downloading the child theme to check it when I updated the original theme and the menu works! Now it runs perfect in both languages, so many thanks for your help!
    Best regards,
    Guillermo

    Excellent! Thanks for letting me know ??

    It should also do the trick for you @mikeenz!

    Working now

    Awesome, thanks for letting us know! ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Problem with header menu’ is closed to new replies.