Articles of file manager

Is it safe to use the file editor to make customizations?

I’m constantly reading stuff on the wordpress forum where people are making all mannar of customizations by modifying php or css files using the file editor. But aren’t all those files generated? Don’t these files get reverted when a change is made to the website through the wp-admin console or when wordpress updates?

Upload file without attaching it to a POST

I’ve brought files with html file field and I’m trying to attach file to wordpress attachments using media_handle_upload $attach_id = media_handle_upload ( $file_handler, null ); the I’ve specified second parameter as null because I don’t want to attach it with any post, but it returns some WP Error, since it is may be not allowed […]

What types of files can I upload with the WordPress Uploader?

I have a domain with WordPress 3.4.2 installed on it. (This is NOT a site) What kind of files can I upload? I know .jpeg, .gif, .png, .mp3, etc. are accepted, but where can I find a complete list of the accepted file types? Basically, what can I upload via this screen:

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.

Add a page that appears in the backend admin that lists files to download? WP 3.3

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 […]

WordPress media manager multiple selection output

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 […]

Media manager multiple selection

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 […]

Automatic image renaming based on title

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

Which Details Are Required For Style.css File Header?

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 […]