Tagged Questions
0
votes
1answer
40 views
Custom Links in Walker Class
I am creating a custom walker class.
I need to identify the custom links that will be added to the menu from Appearace > Menu > Custom Link
so that they will have a different format to the page/post ...
0
votes
2answers
2k views
I am extending Walker_Nav_Menu: How can I get the number of children elements of the current item?
I am trying to extend the Walker_Nav_Menu walker to make some changes to the way WP outputs menus. The method I have to override is start_el, so I created my Walker and copied the base method:
...