Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
An image, audio or a video comprises a media.
4
votes
wp.media edit attachment screen
This can be dealt with like this:
add_action( 'admin_enqueue_scripts', function() {
wp_enqueue_media();
wp_enqueue_script( 'media-grid' );
wp_enqueue_script( 'media' );
});
But still no cigar. … /wp.media
Related questions:
Open the attachment details modal
https://stackoverflow.com/questions/41098126/wordpress-open-edit-attachment-modal-with-wp-media/
Open media frame and select an attachment …
2
votes
wp.media edit attachment screen
Unfortunately the logic of the attachment details isn't made to be used standalone - it requires the grid that opens it. You can however use the get_media_item( attachment_id ) method to receive the H …