• Hey,
    great plugin! I had a problem at first, because I couldn’t select an image for my themes custom taxonomies, even though the select-dialog was shown at the standard WordPress categories.

    I fixed this by creating my custom taxonomies with a higher priority (= lower number than 10):

    add_action( 'init', 'create_my_custom_tax', <strong>9</strong>);
    ...

    It would be great if a future version of this plugin would call the instantiate_classes method in the index.php with a priority greater than 10, like so:
    add_action( 'init', array( $this, 'instantiate_classes' ), 11 );
    This way the taxonomy editors hooks would definitely be called after all the themes taxonomies are created.

    Regards,
    Adrian

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Adrian Jagusch

    (@stromhalm)

    The correct code line for registering my custom taxonomies is of course:
    add_action( 'init', 'create_my_custom_tax', 9);

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Oh thanks. That’s an excellent suggestion. I wouldn’t factored in the use of a higher number when building it.

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    The latest version of the plugin uses a priority of 20. You are listed in the plugin credits now.

    Thread Starter Adrian Jagusch

    (@stromhalm)

    Great, thank you!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Great plugin’ is closed to new replies.