1

I made my own custom media frame :

$('.add').bind('click', function(event) {
    event.preventDefault();
    // Create the media frame.
    file_frame = wp.media.frames.file_frame = wp.media({
        title: 'Select image to insert',
        button: {
            text: 'Insert',
        },
        multiple: true 
    });
    file_frame.open();
});

It opens the media manager alright but Attachment display setting part is missing. How can i get that?

  • you can't see an edit option under the image? – MortalViews May 27 '14 at 8:59
3

Just add

frame: 'post',

to wp.media attributes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.