How to use media upload on theme option page?
I want implement upload logo to my theme option page. Currently I follow this code
I want implement upload logo to my theme option page. Currently I follow this code
Media Manager once again.
This time I’m looking for a simple hack/hook/filter to change default “Attachment Display Settings” from media manager. The option is “Link To” that is default set to “Media File” and I would like to force it for all users to be default set to “none”.
I am creating a baseball website with multiple Authors. From past experience, no matter how well you know someone personally, it doesn’t mean they will follow or even read your instructions.
I’m looking to make the “Alternative Text” field required in the Media Library, just like the “Title” field above it.
As the recent changes in WordPress 3.5 removed the “full URL path to files” option from media library I am wondering how to set this option to a custom path now?
I am running the latest WordPress version (4.6) on a LAMP server (shared hosting) with PHP version 5.6.12.
Is there a way in WordPress 3.1 to restrict allowed file uploads by extension (images only) and file size?
What’s the best way of doing this:
I am trying to implement a new tab next to Media Library. I couldn’t find solution to implement this. I found an example how to implement a new tab in this link: https://gist.github.com/Fab1en/4586865 However the tab doesn’t show up in the modal form triggered by Add Media button. But if I call the media popup for Featured Image or any other custom button the “New Tab” I created shows up. I am really lost here, not sure why those tabs show up in one place and don’t in another.