Support » Plugin: Display Widgets » [Plugin: Display Widgets] Only some Custom Taxonomies showing up as options

Viewing 5 replies - 1 through 5 (of 5 total)
  • Aaron

    (@akeith2002)

    Apparently it is only showing 1 taxonomy and it happens to be whichever taxonomy is declared last in my functions file.

    Seems to be a bug.

    hey I have the same problems too. 5 custom taxonomy in my site but only 4 displayed in display widget option.

    Yes I have a similar problem too – I have about 30 custom taxonomies on my site but the display widget options are only showing 5 random ones – is there a fix for this yet?

    I think my problem may be due to the fact that I have multiple custom post types on my site as well. I have worked out a fix by hard-coding these post types in the get_object_taxonomies call in the display-widgets.php file. So for example change line 246 from:

    $post_taxes = get_object_taxonomies($c);

    to:

    $post_taxes = get_object_taxonomies( array('post','custom-post-type-1','custom-post-type-2' ));

    That’s worked for me – hope it’s of some use!

    Plugin Contributor Steph Wells

    (@sswells)

    Sorry, didn’t realize I wasn’t getting email notifications here. Here’s a fix that will included in the next release.
    Around line 278, change:
    $dw_taxes[$tax] = $post_tax;

    to:
    $dw_taxes[] = $post_tax;

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Display Widgets] Only some Custom Taxonomies showing up as options’ is closed to new replies.