Several Api services available for backup your wordpress blog on cloud storage. But i prefer, Google Drive to store your files and database backup. Drive is Google product and allow users 5GB free of cost.

Now, coming to our topic, Download and install “Google Drive for WordPress” from WordPress plugin repository.

After installation, you will find out “Configure Google Account” tab on your wp-admin panel.

 

For connecting WordPress blog with your Google Drive account,You need Google API Console to generate Client Id & Client Secret Key.

Hide-Login-Error-Message-300x126A lot of bloggers don’t care about WordPress blog security. For example, when someone attempt fail login on your ‘wp-login.php’. it’s displays an error message “ERROR: Invalid username or password”. That kind of information is very useful for the potential hackers. This simple trick help you to hide those messages from others.

Please editit your Theme -> ‘functions.php‘ file and paste the following code snippet.

add_filter('login_errors', create_function('$a', "return null;"));

Once done, you will no longer receive error notifications.

wp-paragraph-tags-300x126Its true, WordPress automatically puts some paragraphs tags all over your posts. Of course it considered a useful feature. But sometimes it creates a lot of troubles for Programmers and Template Designers. So you can remove the paragraph tags by using filter into the “functions.php” file of worpdress theme.

remove_filter ('the_content', 'wpautop');

Once saved, WordPress no longer inserts paragraph tags into your post contents.

images

If you have a multi-authors WordPress blog, by default WordPress allow contributors or authors to see all posts in the Admin Panel. However if you want to disable this privilege. Here is a code snippet ..

<?php

function mypo_parse_query_useronly( $wp_query ) {
    if ( strpos( $_SERVER[ 'REQUEST_URI' ], '/wp-admin/edit.php' ) !== false ) {
        if ( !current_user_can( 'level_10' ) ) {
            global $current_user;
            $wp_query->set( 'author', $current_user->id );
        }
    }
}

add_filter('parse_query', 'mypo_parse_query_useronly' );

?>

Just copy and insert code snippet into your theme “functions.php” file. That’s it.