Support » Plugin: Attachments » [Plugin: Attachments] Browse and Library buttons on custom Post Pages / Download plugin button
6 years, 5 months ago
There are some bug with “Browse” and “Media Library” buttons in custom post types admin page. They opens content in a new page; no popup.
On the other hand. The download button of this plugin is broken. Direct download to the plugin: http://downloads.wordpress.org/plugin/attachments.1.0.9.zip
Ok. I found the problem.
The post type needs to have support for ‘editor’. Without this, WP don’t load needed scripts.
A solution, without add ‘editor’ support to a custom post type.
Put following scripts when define custom post type:
wp_enqueue_script( ‘thickbox’ );
wp_enqueue_style( ‘thickbox’ );
Thanks for creating this thread! I’ve just updated Attachments and that fix has been put in place. Thanks!
Thank you for this plugin! 😉
5 years, 10 months ago
This plugin is fantastic and I use it in almost all my projects. WordPress 3.1.1, Attachments 1.5.2: the browse and library buttons are broken.
This is happening on four or five of my sites… any chance the fix has indeed not been put into place?