Have you found a solution? I have the same issue…
Hi Andrzej, since the 2.0 version of the custom post widget plugin the button style is changed to match the new button styles that were introduced in WordPress 3.5.
There are two possible solutions for the issue you are experiencing; either upgrading your WordPress install (recommended!) or downgrading the plugin to version 1.9.5.
Johan, thank you for replying. I’m still in the process of migrating our site from 3.4.2 to 3.5. Since it uses quite a few plugins and a custom theme, we’re doing extra testing to insure everything plays nicely. So at this time we will use the downgraded version 1.9.8
In case anyone needs a workaround for WP 3.4.2 with plugin 2.0, one can restore the media icon by removing the add content block button. To do so, edit the plugin post-widget.php file and comment out the line add_action(‘admin_head’,’check_post_type_and_remove… by prepending it with //
Our site editors look forward to using the new add content block button once we are done migrating to 3.5.
-cheers
It’s best to fix thus bug with your functions.php file:
Add this to functions.php:
// compatibility bug, plugin custom-post-widget with WP 3.4.2, hiding media buttons in rich text
add_action('init','wp342_custompostwidget');
function wp342_custompostwidget() {
remove_action('admin_head','check_post_type_and_remove_media_buttons');
remove_filter('media_buttons_context', 'add_content_block_icon' );
}
Thank you for all the support and workaround suggestions. We have migrated over to 3.5.1 and all plugins are working nicely – no more issue with conflicting icons.