Add custom tab on the media manager
I want to add a new tab and its content on the media manager. I have used add_filter(‘media_upload_tabs’, ‘mime_type_tab’ , 1 , 1 ); but that filter it is not working on the featured image pop up. 0
I want to add a new tab and its content on the media manager. I have used add_filter(‘media_upload_tabs’, ‘mime_type_tab’ , 1 , 1 ); but that filter it is not working on the featured image pop up. 0
I am currently using WP 3.3.1. Basically I just want a page for users who login via wp-login.php and see the backend admin panel to be able to see a page that shows a list of files they can download. The files will either be .zip, .pdf, or .txt. Would be awesome if the list … Read more
This is a repeat issue, but none of the other threads have had a solution that helps me. I am using WordPress 4.7.3 running the Dani theme from Envato. When I try to upload my mp4 video file, I get an HTTP error. I tried uploading images and it did not give me the same … Read more
I’m trying to use media manager in metabox, and I need to use multiple select. I just have problem with doing output from that selection. I need element in metabox to hold all selected files urls. My code is here: jQuery(document).ready(function($){ var custom_uploader; $(‘#upload_image_button’).click(function(e) { e.preventDefault(); //If the uploader object has already been created, reopen … Read more
I was creating a plugin, and its part should by adding files to custom posts. I managed script to work, but after few changes, to better look and function, it allows only one file to be added, than no other is allowed. Can you help me, please? jQuery(document).ready(function($){ var custom_uploader; $(‘#songbook_addfile_button’).click(function(e) { e.preventDefault(); //If the … Read more
Is there a plugin or a “hack” that can help me do this? I have spent hours try to figure this out so I would greatly appreciate nay help. I have WP 3.1 running php5 Thanks! eg.: postitle_image-ID.jpg 2 Answers 2 Hook into the filter ‘sanitize_file_name’. See my plugin Germanix URL for a working example. … Read more
Which theme details are absolutely required for your style.css file header? I’m developing my first theme for personal use, so do I really have to include things like a license, license uri, author, author uri, etc. WordPress Docs just give an example, but they don’t reference what’s required. Does anyone know? /* Theme Name: Twenty … Read more