Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter abdessamad idrissi

    (@abdessamad-idrissi)

    I fixed it now ??
    Could you please modify your plugin in the next release to avoid conflicts with other plugins such the one above?

    Basically I changed the line in the z_edit_texonomy_field() from:

    wp_enqueue_media();

    To

    $post = get_default_post_to_edit( 'post', true );
    $post_ID = $post->ID;
    wp_enqueue_media(array('post' => $post_ID));

    Why this bugs; because other plugin calls wp_enqueue_media() with arguments that attaches the scripts to the current post, but your script doesn’t.. so it bugs!

    Thanks

    Thread Starter abdessamad idrissi

    (@abdessamad-idrissi)

    I finally created my own plugin; more cleaner code and doesn’t conflict with any other script/plugin ??

    Plugin Author Muhammad

    (@elzahlan)

    Why using 2 plugins that do the same job ?
    Choose a plugin and go for it ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘plugin conflict: Featured Images for Categories’ is closed to new replies.