Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 112604

The Walker class was implemented in WordPress 2.1 to provide developers with a means to traverse tree-like data structures for the purpose of rendering HTML.

0 votes
1 answer
1k views

WordPress Nav Walker - Top menu link with dropdown link not clickable (dropdown opens)

I'm trying to setup a WP NAV WALKER with dropdowns. … $args->link_after; $item_output .= ( $depth == 0 && $args->walker->has_children ) ? …
Pbalazs89's user avatar
  • 115
1 vote

WordPress Nav Walker - Top menu link with dropdown link not clickable (dropdown opens)

.= ( $args->walker->has_children ) ? ' class="dropdown-toggle" data-toggle="dropdown"' : ''; // THE PROBLEM! to: $attributes .= ( $args->walker->has_children ) ? ' ' : ''; // THE PROBLEM! … .= ( $depth == 0 && $args->walker->has_children ) ? …
Pbalazs89's user avatar
  • 115
1 vote
1 answer
2k views

WordPress nav Walker - Bootstrap 5.2.3 - submenu not opening

array() : (array) $item->classes; $classes[] = ($args->walker->has_children) ? 'dropdown' : ''; $classes[] = 'nav-item'; $classes[] = 'nav-item-' . … 'dropdown-item ' : 'nav-link '; $attributes .= ( $args->walker->has_children ) ? ' class="'. $nav_link_class . …
Pbalazs89's user avatar
  • 115
1 vote

WordPress nav Walker - Bootstrap 5.2.3 - submenu not opening

Also, bs nav walker does no work with multilevel nesting. (I had to remove nested items from 2nd level, and the menu started working) …
Pbalazs89's user avatar
  • 115