Tag Archives: Wordpress Tips

Trash and Restore Comments in WordPress 2.9

Just like trash feature for posts, 2.9 also includes a trash feature for comments too. It works in a similar way to posts. In WordPress 2.9 you can trash and restore comments, by default the comments are stored in trash for 30 days, however you can always update this.

Trash Comments in WordPress 2.9

Trash Commens in WordPress 2.9

In WordPress 2.9, the delete functionality has been replaced by Trash, clicking on the Trash link will move the comment status to Trash, and store it for 30 days or as long as you have set it up to.

Undo Trash Comments in WordPress 2.9

Undo Deleted Comments in WordPress 2.9

Another interesting feature in WordPress 2.9 is the ability to quickly Undo your Trash action, similar to what you can see in .

Browsing Trash Comments in WordPress 2.9

Browse Trash Comments in WordPress 2.9

To browse trashed comments, just click on the Trash link in the Edit comments page.

Restore Deleted Comments in WordPress 2.9

Restore Deleted Comments in WordPress 2.9

Restoring Trash Comments in WordPress 2.9 is pretty easy, just visit the Trash comments and click on the Restore link to restore it back. Bulk actions are also available for restore.

Disabling / Limiting Trash Comments in WordPress 2.9

Trash feature is an excellent addition to WordPress, however, if you want to disable the trash feature or limit the number of days deleted comments are stored in Trash, you can do it by adding a small constant.

This is similar to how you would limit post, you can read about it in our earlier post: Disabling or Limiting Trash feature for posts. One thing to note is that, both the posts and comments use the same constant, so you cannot disable it for one and expect it to be working for the other.

If you decide to disable trash feature, it will be disabled for both post and comments.

How To Restore Deleted Posts in WordPress 2.9

Quite recently we told you about a new Trash feature that will be introduced in 2.9 and how you can disable or limit the trash functionalities.

A good thing about the Trash feature is that it will allow you to restore deleted posts and add them back to your site. In this post we will see how you can restore deleted posts in WordPress.

Browsing Trash Posts

wordpress_29_trash_post_view

To browse trashed posts or page in WordPress you will have to click on the trash link at the top of the page in Edit Posts or Pages.

Restoring Deleted Posts From Trash

restore_deleted_posts

To restore deleted posts from the trash, just browse under the post title and click on the restore link to restore the post.

The trash function in WordPress 2.9 is really useful and can come in pretty handy. What do you think about it?

Fix for XML-RPC Services are Disabled on this Blog

xmlrpc_services_are_disabled

Recently a reader started using Windows Live Writer after she read our of for Windows Live Writer. However, she got stuck with an error which said XML-RPC services are disabled by default.

Jasmine, the above error is because the Remote publishing is disabled by default in , we have written a post on how to enable remote publishing on WordPress platform to help you out. Have fun blogging.

Have a question? Ask it in our Forums or feel free to contact us about it.

How To Limit or Disable Trash Feature in WordPress 2.9

2.9 introduces a new feature which allows you to Trash a post instead of actually deleting it. If you use WordPress 2.9, you will see that the delete link has been replaced by Trash.

wordpress_29_trash_post

Change Trash Retain Limit

By Default WordPress 2.9 is set to retain the Trash posts for 30 days, unless you manually delete it. To curtail the number of days trash post is stored for, add this line to your wp-config.php file.

   1: define('EMPTY_TRASH_DAYS', 7);

Doing this will limit the trash to only 7 days, change the number to limit to any other number of days you want.

Disabling Trash Feature Completely

If you do not want the trash feature, you can always disable it. However, you will need to add a line to your wp-config.php file.

   1: define('EMPTY_TRASH_DAYS', 0);

disable_trash_feature_in_wp29

Doing this will ensure that no posts are store in the trash. In addition to that, the Trash link will display Delete Permanentlyinstead.

How to Enable Remote Publishing in WordPress Blogs?

provides users with an option to remotely publish posts using external tools or devices like Windows Live Writer. However, for security XML RPC was automatically disabled in newer versions of WordPress.

xmlrpc_services_are_disabled

If you see an error like XML-RPC services are disabled on this blogor Blog Server Error – Server Error 405 Occurred. It means that XML RPC is disabled on your blog.

To enable Remote publishing or XML RPC publishing on your blog, follow the steps given below.

Step 1: Login to your WordPress Admin Dashboard.

Step 2: Expand Settings and Click on Writing.

enable_remote_publishing_in_wordpress

Step 3: Scroll down till you see Remote publishing and select the checkbox next to Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols. You might also want to enable the Atom Publishing Protocol

Step 4: Click on Save Changes and try again, you should now be able to publish posts remotely to your WordPress blog.

Add WPtouch Support For Nokia, Symbian & Windows Mobile

WPtouch is a excellent which allows users to provide a mobile friendly interface for their websites, when a user visits using a mobile web browser. At Techie Buzz, we use the plugin to display the website for mobile phones.

Displaying mobile friendly pages on mobile web browsers makes sense, since usually their screens are much smaller. Along with that, mobiles also do not have fast internet connections. Using WPtouch definitely helps speed up page rendering on mobile devices.

techie_buzz_mobile_edition

However, recently one of our authors pinged me and said that the mobile site was not displaying while he was viewing it on a Nokia 5800 touchphone. Turns out that WPtouch is built to only run on iPhone, iPod Touch, Android, Storm and Pre devices. It does support Mini too.

However, this means that it will not work on Nokia based phones running on Symbian OS or Maemo, and devices that run on Windows mobile out of the box. To overcome this issue, you can add support for additional devices by changing a small setting in WPtouch.

wptouch_nokia_symbian_windows_mobile_support

To do that, go to WPtouch options and scroll down to Advanced Options. In the field for custom user-agents, add the following text nokia, iemobile, symbian, and save your settings. The provided strings are generic in nature, you can always find the browser user-agents for mobile devices on this page.

Testing WPtouch on Nokia or WinMo Devices

Once you have added the changes, test it out by visiting the site using a Nokia or Windows Mobile device, or for that matter whichever device you added support for.

If you do not have the different devices to test with, you can visit our earlier tutorial of Emulating Mobile Web Browsers on your Desktop with Firefox.

That’s it, hopefully this will help users who use WPtouch add support for Nokia Symbian, Windows Mobile or other unsupported devices with ease. Feel free to leave a comment if you have any doubts or queries. For more such useful tips, visit the section.

Track Outbound Links From Your Blog

Want to track outbound links from your blog? Use ? Use Google Analytics? Checkout this post I wrote on WLTC, which details how you can track outbound traffic when you are using a WordPress install and have Google Analytics as your tracking software.

outbound_link_tracking_analytics

You will see outbound statistics as you see in the screenshot above. Enjoy.

How to Tweet/Send/Customize WordPress.com Posts to Twitter & Yahoo?

.com recently introduced a feature called Publicize, which allows users to send their blog posts to and as status messages. If you are a WordPress.com user, here are some instructions, on how you can send out your posts as twitter and Yahoo updates.

Enabling Twitter & Yahoo Updates in WordPress

wordpress_com_my_blogs

Step 1: Login to your WordPress.com account and click on the My Blogslink in the sidebar.

wordpress_twitter_publicize

Step 2: In the blog listing on the right hand side, select Twitter under the Publicize column. You will be shown a message to Authorize Twitter, click on it and follow the steps to authorize your twitter account.

To authorize your Yahoo account, select Yahoo and follow the steps to authorize your Yahoo account.

Once you have authorized both your accounts, your posts will automatically be sent to twitter and Yahoo.

Customizing Tweet/Update Messages

WordPress.com will create a automatic status update message based on your post. However, you can edit the message and customize it. While creating a new post you will see a new Publicize message in the sidebar.

edit_wordpress_publicize_message edit_publicize_message

To customize your publicize message, click on the edit link. You can now customize the message that will be sent out to Yahoo and Twitter.

Disabling WordPress.com Posts From Being Sent out as Updates

There are certain times, when you may not want to send out your posts as updates. To do that, just click on the edit link in the sidebar for Publicize, and deselect the services you do not want to send out an update to.

Many WordPress users may argue that there are several plugins that already do this. However, WordPress.com users cannot install plugins, so the Publicize feature is definitely a very good thing for automatically sending out posts as updates.

WordPress Gets A URL Shortening Service WP.me

users, you misery of choosing between a good URL shortening service is now over. The WordPress team has released a new shortening service in the form of WP.me, this will be used across all the current WordPress.com services.

WP.me Features

  • WP.me is the only two-letter .me domain in the world.
  • Every blog and post on WordPress.com has a WP.me URL now.
  • These are all exposed in the <head> using rel=shortlink.
  • It doesn’t work for any URL in the world, just WP.com-hosted ones.
  • The links are permanent, they will work as long as WordPress.com is around.
  • WP.me is spam-free, because we are constantly monitoring and removing spam from WP.com.

There are several more things why WP.me is better than the other URL shorteners out there, Matt the co-founder of WordPress can explain better.

WP.me – shorten your links [Official WordPress Blog]

Fix Briefly unavailable for scheduled maintenance WordPress Error

Quite recently while I was upgrading one of my blogs using the inbuilt upgrading option, I assumed everything would go fine, however when I went to blog I kept seeing a message saying Briefly unavailable for scheduled maintenance. Check back in a minute..

Since I was doing a upgrade I thought this message would go away shortly, however it did not.

Well I did a bit of research and found that the above error is because of a maintenance file that WordPress adds to the root directory whenever it is auto-upgrading.

wordpress_maintenance

Most of the time it deletes the maintenance file, however sometimes it may not be able to do that and users will see the above message when they visit your blog.

To fix this error you will need to login to your FTP server and search for a file called .maintenancewithout the quotes, this file should be in the root directory of your WordPress installation.

Once you find the file delete it from your FTP server. Once you do that your blog will return to normal, hope this solves your problem too.