WordPress Tip: Automatically Empty Trash

Your Trash is a function that was added in WordPress 2.9. When an item (post, comment, etc) is deleted, it goes in Trash instead of being permanently removed. You can easily tell your WordPress blog to automatically empty trash every X days.

Just open your wp-config.php file (located at the root of your WordPress install) and paste the following code:

define('EMPTY_TRASH_DAYS', 10 );

The second parameter is when to empty trash, in days. So in this example it will empty your trash automatically every 10 days. And if we want to completely disable the trash? You can put a zero as your second parameter.


Blurb RSS Feed to Full Text RSS Feed

First things first…

Have you ever subscribed to an RSS feed only to get a sentence or at most a paragraph in the feed and then you have to click through to the site to read the rest of the article? This itself can be very annoying. Especially if you are on a mobile device like your smart phone. A lot of websites don’t have a very good mobile site and viewing the full site on your mobile device is a laugh.

Wouldn’t it be easier to just get the full content in the RSS Feed? Well, your wait is over because there is a way to do it! Try out the Web Ninja FullRss page!

Continue Reading »