WordPress plugins, themes, tips and hacks

Changing where WordPress saves your uploaded images and files

Thursday, November 29th, 2007

In my previous post on using thumbnails with WordPress’ custom fields feature, I explained a way to change where WordPress saves images and files you upload from the Write Post/Page page. Generally, any images or files you upload while writing a post are saved on your server under wp-content/uploads in folders that are organized by month and year, i.e. wp-content/uploads/2007/03.

Uploading files on Write > Page in WordPress admin:

Uploading files on WordPress write post page

I explained that you could use a plugin called Filosofo Old-Style Upload Plugin to change where files are saved on your server.

Well, Ryan Hellyer pointed something out that I can’t believe I never noticed: you can change where and how files are saved in WordPress!

Many of you are probably saying “Duh!” But I really never noticed this, so please humor me.

To change where your uploaded files are saved on the server:

  1. Go to Option > Miscellaneous in your WordPress admin
  2. Under Store uploads in this folder, enter the file structure that you want. For example, wp-content/themes/themename/images.
  3. Where it says “Organize my uploads into month- and year-based folders”, you can unselect the check box so that all images will be saved in the one folder you specified in step 2.
  4. Click on Update Options to save your new setup.

Change file upload options in WordPress

I can’t really see any advantage to saving the images in folders according to year and date, so I would make this change right from the beginning of any WordPress blog.

[By the way, did you notice my snazzy new screenshots? Until now I've always hesitated to add screenshots because I was using a free but not-very-efficient screen capture tool. But now I'm using the free and amazing SnagIt from TechSmith. If you haven't heard, TechSmith is offering older versions of their SnagIt and Camtasia Studio software for free! If you want to upload to their most recent version, it's only half price once you've downloaded these older versions!

They are both so great, that you really should download them, even if you don't think you'll have any use for them right now. Go to Quick Online Tips for information on how to download and get the license keys.]

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Search Pages, Comments and more with Search Everything Plugin

Sunday, March 11th, 2007

In default WordPress installations, the search function only yields results for posts. It does not search pages, comments, or anything else.

Search Everything from Dan Cameron solves that problem. Install and activate the plugin, and then go to Options > Search Everything to select what exactly you want to be searched. Here are the options:

  • Pages
  • Comments
  • Only approved comments
  • Drafts
  • Attachments
  • Custom fields (metadata)

I’m not sure why people would want users to see results in drafts or custom fields, but maybe there is a use for that that I’m not aware of.

Search Everything Plugin>> 

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Upload+ to automatically change uploaded file names

Friday, February 23rd, 2007

Update June 7, 2007: Pixline has released a new version of the Upload+ plugin. Their changelog says that they added more options. You can also now download the plugin from the WordPress.org plugin page.

If you are building a site for clients based on WordPress, you want to make it as easy for them as possible to enter information without having to consider coding and other issues.

This plugin is great for those types of sites, as well as for anyone with a WordPress site who wants to have one less thing to think about. When a file is selected for uploading, this plugin changes the filename according to the following three rules:

  • only lowercase;
  • only alphanumeric [a-z] and digits;
  • convert spaces in underscores ( _ )

Upload+>>
Plugin page on WordPress.org>>

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

WordPress Organizer - for organizing uploaded files

Thursday, February 22nd, 2007

Organizer is a worpress plugin. This plugin help the wordpress users to manage the files uploaded to their blog. These are some the feature of this plugin.

  • View all files uploaded in you wp-content/uploads directory and all the sub directories or the directory you have set to store your uploads
  • Copy / Rename / Delete files in the uploads directory
  • Create / Rename / Delete directories
  • Upload files to the uploads directory
  • Resize image files on your uploads directory
  • Supports mutiple users and permissions
  • Changes the filenames automatically in your post when you change the filenames in your upload directory
  • Changes the attachment post to maintain the post cross links
  • Supports roles and you can set permission based on each user what can do with this plugin.
  • More to come…

WordPress Organizer>>

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
Premium News Themes