WordPress.org

Ready to get started?Download WordPress

Forums

Attachments
[resolved] Browse and Library buttons on custom Post Pages / Download plugin button (6 posts)

  1. daveruiz
    Member
    Posted 3 years 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

    http://wordpress.org/extend/plugins/attachments/

  2. daveruiz
    Member
    Posted 3 years ago #

    Ok. I found the problem.

    The post type needs to have support for 'editor'. Without this, WP don't load needed scripts.

  3. daveruiz
    Member
    Posted 3 years ago #

    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' );

  4. Jonathan Christopher
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks for creating this thread! I've just updated Attachments and that fix has been put in place. Thanks!

  5. daveruiz
    Member
    Posted 3 years ago #

    Thank you for this plugin! ;)

  6. drewbarden
    Member
    Posted 3 years 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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic