[Plugin: Widgets Reloaded] Listing custom taxonomy terms
-
This is a great plugin but I was trying to list terms from a hierarchical custom taxonomy and the problem was that it was not listed in the taxonomy dropdown.
Looking into the code I found the problem on line 139:
$taxonomies = get_taxonomies( array( 'show_tagcloud' => true ), 'objects' );
show_tagcloud
causesget_taxonomies
to return only tag-like taxonomies. I decided to go for a quick fix by simply removing the first parameter. Thus making$taxonomies = get_taxonomies( '', 'objects' );
And that returns all the taxonomies. Nav menus are also included but I didn’t experiment on listing any of them.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: Widgets Reloaded] Listing custom taxonomy terms’ is closed to new replies.