Suggested image dimensions Gutenberg Hook
Suggested image dimensions Gutenberg Hook
Suggested image dimensions Gutenberg Hook
Multisite – Images often getting uploaded to the wrong month directory
Found 2 other questions similar (almost the same?) as mine: Trigger refresh for new media manager in 3.5 Media Modal not updating with file upload And found the solution in one of the comments in the latter. It links to a ticket and the last post has the solution to it: var customMedia = wp.media({ … Read more
I actually looked into this recently, but I haven’t implemented it yet. So this is a theoretically solution. First of all… Keep in mind, that this process pretty tedious and annoying. The core reason to this is that WordPress stores everything as a post (also images). So ‘just having the correct images in the uploads-folder’ … Read more
Turns out the reason this happened is because when I registered/enqueued the script, I had in_footer = true. Setting this to the default of false solved the problem.
wordpress media library new uploads don’t write to database
Uppload image from another source wp.media
how to remove thumbnail and LiteSpeed Optimization column in media library list-view?
Update image via WP REST API
Display attachments by the ID of the post being edited in the wp.media frame (frontend)