Tagged Questions
1
vote
1answer
83 views
Adding 'active' class to custom taxonomies using walker in functions.php
I'm trying to use the following code in functions.php in order to show a menu with categories (custom taxonomies actually). I simply want it to show active when on the current page. What am I doing ...
3
votes
1answer
230 views
Extend walker class with custom post types
I'm using the walker class below, but I can't make it work with custom posts.
class Zwp_Walker_Nav_Menu_Dynamic extends Walker_Nav_Menu {
function end_el(&$output, $item, $depth) {
...
-1
votes
1answer
73 views
Navigation won’t update to show full path to single post
I have a site with a custom post type “projects” and two taxonomies “clients” and “mediums”. For the navigation I’m using a custom nav walker (that extends Walker_Nav_Menu). This all works very well ...
5
votes
2answers
145 views
Assign posts to taxonomy terms instead of the taxonomy terms to posts?
So I have a custom post type (people) with a related custom taxonomy (directory). Instead of editing a person and then choosing the related directory organizations I'd like to "edit" a directory org ...