To highlight page 1 and page 2 use current-menu-parent
class
Related Posts:
- Keeping parent menu items active in child pages
- How to target children of child pages
- Header style different on home and remaining pages
- WordPress Admin Bar Covering & Overlapping Fixed Menu Header [closed]
- Schedule Page to Menu [duplicate]
- How I can overlap my menu in my header picture
- header menu structure: cannot add additional menu items without alignment issues
- Programmatically add existing pages and subpages to Appearance Menu
- How to retrieve parent menu item name of current submenu item
- Menu custom link not working for external site
- Weird behaviour on Edit Menus screen
- pull non-wp site into content area of wordpress -or- pull wp header into non wp site?
- Listing Child Pages in a Certain Order?
- How to highlight 1st level menu item based on actual page
- menu-item class missing on wordpress menu
- Dynamic menu wp_list_pages displaying only current branch including: current page, his siblings and its childs
- Parent Page > Child Page Menu
- How to use wp_list_pages on a grandparent page
- Page header menu links change
- plus sign not working in widget “Header: Nav Menu”
- how to change menu titles
- Cannot collapse a responsive menu in WordPress
- Is it all right to put the whole tag into template_part file?
- Add “onclick” option to header menu item
- Header Navmenu glitching in Chrome (but not other browsers)
- Creating navigation out of specific IDs and their children?
- How to switch menu location in this header.php?
- Unable to remove page from primary menu
- WordPress fountainpress header is covering top bar
- How to sort a sub-menu, generated with get_pages(), by the page order instead of alphabetically?
- Change header menu login-logout without changing main menu
- Showing main menu and child menu in diffent places in a same page
- highlight parent page on menu when child page is on sidebar (and not on menu)
- How can I structure my pseudo footer nav code with wordpress codex code?
- Split up wp_nav_menu with custom walker
- WordPress Menu Custom Walker Class
- How to change order of menu items
- Add Commas Between Menu Items?
- Allow html tags in WordPress Custom Menus Description Field
- Add custom attribute to menu item link using Filter
- Show child pages by menu order using Superfish Dropdown menu?
- Bootstrap drop down menu with wp_nav_menu
- Remove nav menu or menu item
- Adding a within ‘s from wp_nav_menu()
- Getting stripos error when trying to add menu classes
- jQuery cookie not working properly in wordpress
- Make compatible custom menu widget for Twitter Bootstrap
- Different side menu on each page
- Automatically generated menu
- Variables within wp_nav_menu
- wp_update_nav_menu_item not saving in multisite API
- Pass GET params to URL from a main menu item
- wp_nav_menu_items filter :: custom menus fall outside ul class
- How can I add items to the menu via the PHP file?
- Limit the menu child levels under “admin > appearance > menus”
- WordPress warning: “private_to_published” Deprecated when creating nav with wp_update_nav_menu_item()
- display menus on all page except one?
- Show Menu from one WordPress install in another WordPress install
- Is this format possible with a custom Nav Walker class?
- custom walker nav issue involving ajax
- remove class “sub-menu” from wordpress drop down menu
- Twenty seventeen Menu is not responsive not clickble
- remove menu items if user can’t read
- How to set classname for tag in wordpress menu?
- Automatically going to the first page in a hierarchy?
- rearrange the posts by published date in Menu posts selection
- Setting color of specific menu items depending on page or post tag
- Limit wp_nav_menu_objects() only to first-level menu items
- wp_get_archives doesn’t take effect from css or html
- Orderby menu_order not working; menu is sorted on publish date
- Change Menu Button Text [closed]
- Menu page with three columns
- How to open a lightbox form from a navigation menu item
- Hide custom menu when when no menu selected
- Auto delete menu items with zero products (woocommerce)
- Why is my navigation in my onepage not working?
- Admin menu in different languages
- Navigation item – current date in url
- Edited one page in my working menu and now all menu buttons don’t open unless I right-click and open in new tab
- Need help with Walker_Nav_Menu class
- Impossible to remove page from menu
- why are my walker menu is showing like this?
- Bootstrap Theme Migrated to WordPress
- Menu with sub-items but without link
- I can´t make the menu unclickable in an easy way
- Add active class to wp_nav_menu
- how to configure this type of menu
- Migrate WP Menu between sites
- How to style wp_nav_menu?
- How to inject HTML to secondary menu on front end?
- Show Child of Parent Page including all other parents
- Show only second level menu items? [duplicate]
- Add item ONLY to the primairy navigation
- wp_nav_menu in 3.7 add name class nav navbar-nav
- Is there a limit to number of pages displayed for selection in custom menu?
- Add monthly archives menu and submenu
- wp nav menu – highlighting current page not working properly [closed]
- Hamburger Navigation Menu
- child theme font awesome icons not working
- add dynamic ID for wp_nav_menu after and before