Country selection / country-specific menu
Country selection / country-specific menu
Country selection / country-specific menu
Are you okay with using CSS? It seems the plugin you installed has affected your header. So I would uninstall the plugin and then with pure CSS, hide the header on the page you want to hide it. So to hide it on the page you’re mentioning, the CSS would be: .page-id-3262 header { display: …
Perhaps it’s happening too early and getting stomped on later. Try doing it the traditional way, in an init hook callback, like so: function register_my_menu() { register_nav_menus([ ‘main-menu’ => esc_html__(‘Main Menu’, ‘myfirsttheme’), ]); } add_action( ‘init’, ‘register_my_menu’ );
Thanks everyone for the help. I managed to overcome this problem as follows: Themes > Customize and then I looked up in the headers tab and I saw the header which is used for mobile view. I went to the headers and clicked “edit in Elementor” then I found the hambergur menu there with no …
I was able to work this out by using a hook that I grabbed from Artemiy Egorov’s answer on this post https://stackoverflow.com/questions/5034826/wp-nav-menu-change-sub-menu-class-name so I figured I’d share in case someone else needs it too: add_filter( ‘nav_menu_submenu_css_class’, ‘rename_sub_menus’, 10, 3 ); function rename_sub_menus( $classes, $args, $depth ){ foreach ( $classes as $key => $class ) { …
Unable to order my menu by dragging
The posts_page variable is looking for a page set as the “blog” page in the reading settings. At some point this was unset or the blog page was removed, it is not clear, but simply making a blank page and setting it as the “blog” page under settings->reading resolved the issue.
wp_get_nav_menu_items array not getting 3rd level children
How to change mobile menu (toggle) icon in WordPress – Full Site Editing?
Managed to fix. Bootstrap.js was loaded in footer, causing an issue in the layout. Also, bs nav walker does no work with multilevel nesting. (I had to remove nested items from 2nd level, and the menu started working)