Tag Archives: WordPress

How To Modify Post Auto-Save Configuration In WordPress ?

By default WordPress auto saves post on every 60 seconds, but you can easily modify this time according to your like. Open your site’s wp-config.php file and add the following line just above the Happy Blogging line:

define(‘AUTOSAVE_INTERVAL’, 120); // in seconds

In the above line I have given time of 120 seconds, you may change that as per your requirement.

You can also modify post revisions by limiting the number of revisions per post:

define(‘WP_POST_REVISIONS’, 5);

And for disabling post revision, set it to false as shown below:

define(‘WP_POST_REVISIONS’, false);

How To Preserve Editor Scroll Position In WordPress ?

After you save you any draft in WordPress, the page reloads and leaves you at the top of your post and then you scroll down to begin from where you left. This becomes irritating while writing long posts. So if you like you can easily recover old scroll position in your WordPress Editor after saving your draft. Works both in either HTML or visual editor.

Continue reading How To Preserve Editor Scroll Position In WordPress ?

Globally Disable Comments On Any WordPress Post Type Including Posts, Pages & Attachments Etc

Disable Comments, another WordPress plugin allows administrators to globally disable comments on their site. Comments can be disabled according to post type.

Remember:

Use this plugin if you don’t want comments at all on your site or on certain post types. After activating it, plugin settings can be accessed from the ‘Settings’ menu in the administration area.

Related Plugin:

Read this article to Disable Comments By Default On New WordPress Pages And Custom Post Types.

How To Disable Comments By Default On New WordPress Pages And Custom Post Types ?

You can easily disable comments by default on new pages and custom post types, with the ability to individually set them on a page or post basis.

By default, WordPress provides you two options:

  1. You can have them active by default.
  2. You can either disable comments and trackbacks by default for all pages and posts.

WordPress doesn’t provides you any specific setting that allows comments and trackbacks to be active by default for posts, while disabling them on pages or any other post type but using No Page Comment plugin you can have these options also. Simply install, activate it then visit its options from Dashboard->Settings->No Page Comment.

How to Disable WordPress Comments Media Attachments ?

You can very easily disable comments on WordPress media attachments. Open your theme’s function.php file and add the following hack:

function filter_media_comment_status( $open, $post_id ) {
$post = get_post( $post_id );
if( $post->post_type == ‘attachment’ ) {
return false;
}
return $open;
}
add_filter( ‘comments_open’, ‘filter_media_comment_status’, 10 , 2 );

How To Create A Mobile Friendly WordPress Site In Minutes ?

Convert your WordPress site in to a mobile friendly site in minutes. Make your smartphone visitors automatically get redirected (like Google & Facebook) to your site’s mobile version. DudaMobile WordPress plugin makes it easy, fast and free.

Continue reading How To Create A Mobile Friendly WordPress Site In Minutes ?

Easiest Way To Drag-Drop & Arrange Your WordPress Posts And Custom Post Types

WordPress displays your post in the order you publish them and if you need to rearrange them you have to change their publishing dates. Changing post dates creates dead links and you lost your post’s back links. So rather than changing post dates you can use this new and easy technique for rearranging your WordPress blog posts.

Continue reading Easiest Way To Drag-Drop & Arrange Your WordPress Posts And Custom Post Types

Best Plugin For Auto Tweeting Your WordPress Blog Posts

Tweetily – Tweet Your Posts Automatically! is the best plugin for auto tweeting your WordPress posts. Easy to install, easy to connect with twitter, automatically promotes your posts and pages on Twitter, keep your content alive and drive traffic to your site. Works better than Tweet Old Post Plugin. Set it and forget it!

Continue reading Best Plugin For Auto Tweeting Your WordPress Blog Posts

How to Restrict Certain Usernames in Your WordPress Site ?

If your are using WordPress Mutisite or BuddyPress and you have kept user registration open for public (via Settings -> General -> Membership (“Anyone can register”) sometimes creates problems. By default all usernames (if they already not already registered) are allowed during WordPress user registration process.

If you like to restrict certain usernames from getting registered on your site then first of all install and activate Restrict Usernames plugin. If you are using WordPress Multisite then network activate it and follow these steps:

  • If you are using single WordPress install then visit Dashboard->Users -> Name Restrictions admin settings page and specify username restrictions.
  • If you are using WordPress Multisite then visit Dashboard->My Sites -> Network Admin -> Users -> Name Restrictions and specify username restrictions.

Now anyone attempting to register on your site chooses any restricted username will be seeing this message:

“ERROR: This username is invalid. Please enter a valid username.”

Remember: This plugin doesn’t put any restrictions on usernames chosen by admin himself while creating user accounts from within the WP admin dashboard.

Continue reading How to Restrict Certain Usernames in Your WordPress Site ?