How to add ‘Attachment Display Settings’ in custom Media Library?
Just add frame: ‘post’, to wp.media attributes. There are two types of pre-built frames in WordPress 3.5 – post and select. Select is the default frame type and it is the interface that is created in the custom-header.js file. The post frame is what appears when we click on the Add Media button while editing … Read more