Viewing 3 replies - 1 through 3 (of 3 total)
  • I think you can replace:

    $CategoryImage->taxonomies =  get_taxonomies();

    with your own taxonomies:

    $CategoryImage->taxonomies =  array( 'category', 'city', 'cars' );

    in WPCustomCategoryImage.php.

    ps: But you should try to use some filter to add it, instead of hacking the plugin files ??

    or maybe the plugin author could add a custom filter for this, or better yet: add it as an option.

    I think the problem is that

    WPCustomCategoryImage::initialize();

    is called to early so only the built in taxonomies show up in get_taxonomies().

    But if one hooks it later, for example

    add_action('init', function(){
    	WPCustomCategoryImage::initialize();
    });

    then it works as expected.

    Plugin Author E.

    (@pyro3x)

    Thanks birgire!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add support for tags and custom taxonomies’ is closed to new replies.