There was a typo, and instead of:
wp.media.view.Attachment.prototype.template = wp.media.template( 'attachment-custom' );
Should be:
wp.media.view.Attachment.prototype.template = wp.media.template( 'attachment_custom' );
Related Posts:
- Pictures won’t display in media library and also won’t show preview when selected
- How to Protect Uploads, if User is not Logged In?
- Add a menu item to WordPress 3.5 Media Manager
- Delete an attachment in the WP media modal window
- Media library to list images only user uploaded
- Rendering the uploaded file in a wp.media object
- How do I force WordPress to show most recent version of images in the media library?
- WordPress Media Manager 3.5 – default link to
- Proper way to add a button to the top menu of the media library?
- display image size in media library screen
- How to capture the selection:toggle event fired by wp.media
- Changing the media library default tab
- Best plugin to manage media library? [closed]
- Is it possible to generate JPEG progressive thumbnails?
- Change default tab of media manager
- Restricting access to files within a specific folder [duplicate]
- get total number of images from media using xml-rpc
- Audio Playlist : How to bind events for “track change”, “track end”?
- Images are registered in media library but still won’t show up
- How do I control video media display sizing with native wordpress player
- Upload mobi and epub file in the MEDIA of WP
- Handle lots of images within the media uploader / selector
- Rest API rename media
- Custom media picker in meta box: how to select available image sizes?
- WordPress 3.0 Media Upload Directory
- How to make programmatic image upload generate thumbnail and sizes?
- Can’t edit media details in new role
- Generated media have incorrect aspect ratio
- 3.5 Media Manager – callout in metaboxes
- How to bulk Edit Dates in Media Library?
- Add instructions For Media Library Uploads
- Audio file’s length (duration) is missing from Attachment Details in Media Library [closed]
- Media Manager: refresh library after new selection
- Cannot upload anything via wordpress
- Video uploaded with the native media uploader gives Error 404
- Importing Media IDs but not related attachment
- Allow Editor Role to Edit Media
- Bulk image importing from folders
- Creating subfolders in the media library
- how to upload file to media library using link [closed]
- Media Library empty after server move (exact copy of files and db’s)
- media library not showing thumbnails after deleting full image
- Media Manager (since 3.5): How to show an empty Media Library when creating a media frame?
- Force image crop size in media editor
- Media Library not showing images but still acknowledges existence
- Too slow Image upload in WordPress Media Library as image number increases
- Remove delete-attachment button for every media
- How to disable Media Library?
- Thumbnail images missing in WP media library
- How to disable (and hide) the Media Library for certain users?
- Attaching images to multiple galleries
- How to re-house images in uploads/YYYY/MM
- Publish / unpublish media items in the media library
- Media Library modal customization
- unsharp thumbnails after uploading image
- How to Protect Uploads, if User is not Logged In?
- Creating multiple instances of Media Uploader
- Handle image file and save it to media
- Insert Link to Audio versus Embed Audio Player
- Can we reuse WordPress drag drop media upload in plugins?
- Change default ‘file not supported’ error message
- How to create different media uploader frames / filter library depending on a custom action
- Import of 200+ sermons
- Thumbnails for media Library images
- How to batch-add image file extension without losing DB refs?
- Add link to media files in backend and modify linked images in the frontend
- Add custom css class to wp-list-table row for Media Screen
- Looking for a way to insert PDF image preview in TinyMCE
- Which filters or actions to use after a media upload and delete?
- Filter for changing MediaElement.js Settings
- Protecting direct access to PDF and ZIP unless user logged in (without plugin)
- Attach Files Metabox
- WP3.5 Media Uploader – how to make it accept multiple images?
- Access to Media Library
- Add media with WP-Rest-API v2 II
- Add input to the media uploader and pass its value to each uploaded file
- File Type Is Not Permitted – Cronjob
- Bulk edit of EXIF data for jpeg images uploaded in the media library?
- How organize uploaded media in WP?
- Finding a media attachment post ID from a URL
- Searching for any images in media library displays “no media found”
- Can I Change the Media Upload Location for each user?
- How to get file URL from media library
- Media library only shows for admin. Doesn’t show editor or below [closed]
- A link (not in the post) to download a specific PDF file
- wp.media issue with selected image
- Cannot upload featured image to a custom post type
- Why does “updated_post_meta” did not fire when uploading media other than image?
- Adding Files to Page Only Adds Title, Doesn’t Create Link
- Deleting media using the WordPress Rest API
- Images missing from the media folder
- Is There A Way To Auto-Stock Media Files To Every Site On A WordPress Network?
- Direct media library upload saving in wrong month date folder in custom theme
- Showing added mime types in REST media response
- Gifs displaying soft?
- How to split my uploaded media into directories?
- Missing Images in Uploads Directory (Server Only)
- Using WordPress.com API to retrieve featured images
- Why some images are not allowed to be edited only for thumbnails?
- How to add a column showing real media usage (count) to the media list view?