WP DBManager Plugin for WordPress Database Backup


Database is the real wealth for any blogger and hence WP-DBManager is a very important plugin for all the WordPress bloggers. It takes backup of all the database content like posts, categories, tags, comments, users, pages and other content of WordPress blog. This plugin allows not just to take back-up but also to optimize, repair, restore, delete and run queries from WordPress admin section.
With this plugin’s options we can also schedule database backup. It will store database backup into backup-db folder on your server  or you can also manage settings which will send database back up file to your specified email account.

Plugin Setup:

  • Go to the Wp-DBManager plugin page and click on Download. WordPress Beginners can refer to our guide on How to Install WordPress plugins.
  • After installing the plugin, click on Activate Plugin in the plugin menu.
  • After activating the plugin, you will get a message as shown in the screen shot below. Now simply move the ‘htaccess.txt’ file from WP-DBManage folder to backup-db folder. Error message will fade away. 🙂
  • Click on Database menu for all the options for this plugin. It will give you number of sub-menus to setup plugin setting. Click on the ‘DB Options’ menu and make the changes in settings as per your need.
  • Then go into Backup DB menu and take a backup of your WordPress database. All the database files will be stored into your WordPress hosting server under the folder /wp-content/backup-db.
  • You can also find backup files into WordPress admin panel under Manage DB Option menu. This menu will provide various options like restore, download, delete and email the database file.
  • You can find more about this plugin in WordPress plugin directory .

    So do share your experience after using this amazing plugin.  Comments awaited below. 🙂


[How-To] Share your Facebook Photos on WordPress Blog

Facebook has become the place of interest for internet users to hang around, play games, network, share photos and more. It’s quite a common trend that everyone uploads their pictures on Facebook. If you are willing to show those photos on your WordPress powered blog, this is the right tutorial for you. 🙂

Get the Plugin

We will be using a plugin to implement the feature on the blog. Fotobook is a WordPress plugin that will link to your Facebook account and import all of your photo albums into a page on your WordPress installation. It makes use of Facebook’s API so importing your photos is a breeze.
You can download the plugin here

Configure the plugin

Install the plugin from the admin section. and activate the plugin.
Once you activate the plugin, you can see something like in the following screenshot.

Link to fotobook settings

Click on the link and you’ll be taken to the Fotobook Settings page.

Fotobook Settings Page

Step 1: Authenticate

This step asks you to login to your Facebook account. This is the step by which you allow the plugin to access your account and fetch the images and publish to your blog. Clicking on the link opens a pop-up window as below. Enter your login credentials and click the login button.

This will take you to the next step, that is grant access.

After this step, you may close the pop-up window and proceed to the step 2.
Step 2 : Get Permissions
This step asks you to grant access for your photos and videos associated with your Facebook account.
Once you allow the Fotobook plugin to do so, you can close the window and proceed to the next step.
Step 3: Apply Permissions
By clicking this, you apply all the steps done before and save the settings. Once you click Apply Permissions your Facebook account will be added and you can see something like below.


Import Photos to blog

This will take you to the next step which is shown below.

Clicking on Get Albums will fetch from your Facebook account and list all the albums related to your account. By this time, the plugin have created the exact replica of albums on your Facebook account. You can even hide the albums if you don’t want to show that specific album by clicking the hide link.

That’s it, you are done. You can now access the albums at http://yourblogdomain/photos
The plugin also allows you to display photos in 3 styles.

  1. Color box.
  2. Embedded.
  3. Lightbox.

Select the style and you are all set. Do drop in your comments.


WP Maintenance Mode-Plugin to Create an ‘Under Maintenance’ Page for your Website

Many a times when the design and development of your  website is in progress, or your website is undergoing server maintenance, you want people to know that your website is not ‘up and running’ yet. This can be done by creating an ‘Under Maintenance’ page for your website. This WordPress plugin allows you to create a simple ‘Under Maintenance’ page.

Plugin Setup:

  1. Go to the WP Maintenance Mode Plugin page and click on Download.
  2. WordPress Beginners can refer to our guide on How to Install WordPress plugins.
  3. After installing the plugin, click on Activate Plugin in the plugin menu of your blog.
  4. wpveda maintain 1

  5. Now in your plugin list, look for WP Maintenance Mode and click on Settings to configure the plugin.
  6. wpveda maintain 2

  7. You can configure the plugin to show a countdown time, your desired text, select a theme etc. as shown below.
  8. wpveda maintain 4

  9. Finally, click on Save to save changes. All people who have not logged in as an admin, may see the result as shown below.
  10. The final result : wpveda maintain 5

Drop in your feedback about this plugin through your comments. 🙂 Link: WP Maintenance Mode


SexyBookmarks – WordPress plugin to Share your Posts on Social Networks

This useful plugin allows you to add a stylish-looking social bookmarking menu to your blog. By installing this plugin, you can share your posts on various social networks including Gmail,Yahoo Mail, Buzzster! amongst other networks such as Facebook and Twitter.

Plugin setup :

  1. Go to the SexyBookmarks plugin page and click on Download.
  2. For a complete guide on installing plugins, read our How to Install WP Plugins guide.
  3. Activate the plugin from the plugins menu of your blog.
  4. wpveda sexybookmarks3

  5. Under the Settings tab of your WordPress blog, click on the SexyBookmarks(by Shareaholic) option to edit the settings of your plugin.
  6. wpveda sexybookmarks4

  7. Now select your favorite social networks that you want to be shown with your post.
  8. wpveda sexybookmarks1

  9. Edit other settings such as Plugin Aesthetics and Menu Placement
  10. wpveda sexybookmarks5

  11. Click on Save Changes.
  12. wpveda sexybookmarks6

  13. Now you can go back to your blog to view the plugin in action. It would look something as below:
  14. wpveda sexybookmarks7

Do drop in your views and opinions about this plugin through your comments below.

LINK: SexyBookmarks


How to Create a ‘Recent Comments with Gravatar’ Widget


Many people new to the WordPress community seem to have a common question – “How to create a WordPress Widget?”. Today I’m going to help you to code a simple widget with which you can display the Recent Comments with the Author Gravatar in Sidebar.

WP has given the feature to extend the default functionality of widgets. We can achieve this by extending the WP_Widget class.

when we extend the WP_Widget Class we need not repeat the code and thus the features of this class are available to our class say “rt_comments_widget” (custom class).


First we will create the skeleton of our widgets in functions.php :

class rt_comments_widget extends WP_Widget {

    function rt_comments_widget() {

    function widget($args, $instance) {
    // prints the widget

function update($new_instance, $old_instance) { //save the widget } function form($instance) { //widgetform in backend } } add_action( 'widgets_init', create_function( '', 'return register_widget("rt_comments_widget");' ) ); ?>

As seen in the code above, we have created a class rt_comments_widget, which inherits the properties and methods of the WP_Widget class (extends).

Further, we have called four functions –

  1. The rt_comments_widget function which acts as a constructor
  2. The widget function which prints the widget
  3. The update function which saves the widget
  4. The form function which handles the widget form in the backend.
  5. The function add_action is used to register the widget.

Let’s fill up our widget.

Step 1:

function rt_comments_widget() {
    $widget_ops = array( 'classname' => 'widget_rt_comments_widget', 'description' => __( 'Widget for Show Recent Comment with Author Gravatar in Sidebar.' ) );
    $this->WP_Widget( 'rt-comments-widget', __( 'RT: Comments with Gravatar' ), $widget_ops );
} // end of function rt_comments_widget()

In the code above, we now describe the rt_comments_widget where in you can give a class to your widget to style your widget, give a description to your custom widget and give your widget a title which is showed in the widget area of the admin panel.


In our example “RT: Comments with gravatar” is our widget title.

Step 2:

function widget( $args, $instance ) {
    extract( $args, EXTR_SKIP );
    $title = empty( $instance['title'] ) ? 'Recent Comments' : apply_filters( 'widget_title', $instance['title'] );
    $gravatar = !empty( $instance['gravatar'] ) ? $instance['gravatar'] : 64;
    $count = !empty( $instance['count'] ) ? $instance['count'] : 3;
    $alternative = !empty( $instance['alternative'] ) ? $instance['alternative'] : '';

    echo $before_widget;
        if ( $title )
            echo $before_title . $title . $after_title;
                global $wpdb;
                $total_comments = $wpdb->get_results( "SELECT comment_date_gmt,comment_content, comment_author, comment_ID, comment_post_ID, comment_author_email, comment_date_gmt FROM " . $wpdb->comments . " WHERE comment_approved = '1' and comment_type != 'trackback' ORDER BY comment_date_gmt DESC" );

                $comment_total = count($total_comments);

echo '<ul>'; for ( $comments = 0; $comments < $count; $comments++ ) { if( $alternative == "on" ) { $right_grav = $comments % 2 ? 'style="float:right"' : '' ; $left_readmore = $comments % 2 ? 'style="float:left"' : '' ; } else { $right_grav = ''; $left_readmore = ''; } echo '<li>'; echo "<div class='comment-container clearfix'>"; echo "<div class='author-vcard' $right_grav title='".$total_comments[$comments]->comment_author."'>"; echo get_avatar( $total_comments[$comments]->comment_author_email, $gravatar, $default='<path_to_url>' ); echo "</div>"; echo "<div class='comment-section'>"; echo '<div class="comment-date">'; echo '<a title="'. mysql2date( 'F j, Y - g:ia', $total_comments[$comments]->comment_date_gmt) .'" href="'. get_permalink($total_comments[$comments]->comment_post_ID) . '#comment-' . $total_comments[$comments]->comment_ID . '">'; echo mysql2date( 'F j, Y - g:ia', $total_comments[$comments]->comment_date_gmt); echo '</a>'; echo '</div>'; echo "<div class='author-comment'>"; $str = wp_html_excerpt ( $total_comments[$comments]->comment_content,65 ); if( strlen( $str ) >= 65 ) { echo $str.'...'; } else { echo $str; } echo "</div>"; echo '<div class="sidebar-readmore" '.$left_readmore.' >'; echo '<a title="Reply" href="'. get_permalink($total_comments[$comments]->comment_post_ID) . '#comment-' . $total_comments[$comments]->comment_ID . '">'; echo 'Reply &rarr;'; echo '</a>'; echo '</div>'; echo '</div>'; //end of .comment-section echo '</div>'; //end of .comment-container echo '</li>'; } echo '</ul>'; echo $after_widget; } // end of function widget() ?>

Now we describe the widget function. In our example above, I fetched the date of the posted comment, author comments, author Gravatar, and reply to that comment from the database.

Here are the code snippets in the widget function:

  1. date:
    <?php mysql2date( 'F j, Y - g:ia', $total_comments[$comments]->comment_date_gmt ); ?>
  2. author gravatar:
    <?php get_avatar( $total_comments[$comments]->comment_author_email, $gravatar, $default='<path_to_url>' ); ?>
  3. author comment:
    <?php $total_comments[$comments]->comment_content; ?>
    ( With Word Count '65' )
  4. reply link:
    <?php echo '<a title="Reply" href="'. get_permalink( $total_comments[$comments]->comment_post_ID ) . '#comment-' . $total_comments[$comments]->comment_ID . '">Reply &rarr;</a>'; ?>

Step 3:

function update($new_instance, $old_instance) {
    global $wpdb;
    $total_comments = $wpdb->get_results("SELECT comment_date_gmt,comment_content, comment_author, comment_ID, comment_post_ID, comment_author_email, comment_date_gmt FROM " . $wpdb->comments . " WHERE comment_approved = '1' and comment_type != 'trackback' ORDER BY comment_date_gmt DESC" );
    $comment_total = count($total_comments);
    $instance = $old_instance;
    $instance['title'] = strip_tags($new_instance['title']);
    $instance['gravatar'] = strip_tags($new_instance['gravatar']);
    $instance['count'] = strip_tags($new_instance['count']) > $comment_total ? $comment_total : strip_tags($new_instance['count']);
    $instance['alternative'] = strip_tags($new_instance['alternative']);
    return $instance;
} // end of function update()

With the help of code in the update function you can save your widget or update your data which is changed in admin panel.

Step 4:

function form( $instance ) {
    $title = isset( $instance['title'] ) ? ( $instance['title'] ) : '';
    $gravatar = !empty( $instance['gravatar'] ) ? $instance['gravatar'] : 64;
    $count = !empty( $instance['count'] ) ? $instance['count'] : 3;
    $alternative = !empty( $instance['alternative'] ) ? $instance['alternative'] : ''; ?>
        <label for="<?php echo $this->get_field_id( 'title' ); ?>">Title: </label>
        <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" />

        <label for="<?php echo $this->get_field_id( 'gravatar' ); ?>">Gravatar Size: </label>
        <select id="<?php echo $this->get_field_id( 'gravatar' ); ?>" name="<?php echo $this->get_field_name( 'gravatar' ); ?>" style="float: right;width: 100px;">
            <option value="32" <?php selected( '32', $gravatar ); ?>>32x32</option>
            <option value="40" <?php selected( '40', $gravatar ); ?>>40x40</option>
            <option value="48" <?php selected( '48', $gravatar ); ?>>48x48</option>
            <option value="56" <?php selected( '56', $gravatar ); ?>>56x56</option>
            <option value="64" <?php selected( '64', $gravatar ); ?>>64x64</option>
            <option value="72" <?php selected( '72', $gravatar ); ?>>72x72</option>

        <label for="<?php echo $this->get_field_id( 'count' ); ?>">Show Comments: </label>
        <input class="widefat show-comments" id="<?php echo $this->get_field_id( 'count' ); ?>" name="<?php echo $this->get_field_name( 'count' ); ?>" type="text" value="<?php echo $count; ?>" />
        global $wpdb;
        $total_comments = $wpdb->get_results("SELECT comment_date_gmt,comment_content, comment_author, comment_ID, comment_post_ID, comment_author_email, comment_date_gmt FROM " . $wpdb->comments . " WHERE comment_approved = '1' and comment_type != 'trackback' ORDER BY comment_date_gmt DESC" );
        $comment_total = count($total_comments);
        echo "<div style='color: #444444;font-size: 11px;padding: 0 0 12px;'>You have total '" . $comment_total . "' comments to display</div>"; ?>
        <label for="<?php echo $this->get_field_id( 'alternative' ); ?>">Show Alternate Comments: </label>
        <input name="<?php echo $this->get_field_name( 'alternative' ); ?>" type="hidden" value="off" />
        <input class="alternate" id="<?php echo $this->get_field_id( 'alternative' ); ?>" value="on" name="<?php echo $this->get_field_name( 'alternative' ); ?>" type="checkbox" <?php echo checked( 'on', $alternative ); ?> />

    <script type="text/javascript">
        jQuery( '.show-comments' ).keyup(function () {
            this.value = this.value.replace(/[^0-9.]/g,'' );
} // end of function form()

With the form function you can develop widgetform in the back end(admin panel) such as – entering a widget title, showing Gravatar size in the dropdown list, choosing the number of comments shown in sidebar and showing alternate comments. (refer 2nd screnshot below)

The simple javascript (jQuery) at the end of the code above is to validate your form field.

Your widget will now be appear in Admin Panel > Appearance > Widgets > Available Widgets


Here is the screenshot of your widget in the back end:


Here is the Final Screenshot of your widget: Normal View and Alternate View


Hope with the help of this widget you can easily show your “Recent Comments with Gravatar” in Sidebar. Do drop in your opinions and comments below 🙂

Download the Complete code of Widget Here.


[How to] Force Filtered HTML for Editors on WordPress

In WordPress, unfiltered HTML can be edited and published by Admins and Editors. Unfiltered HTML is not allowed for Authors and Contributors is basically for security. This is because Java Script might create problems if injected inside post content.

This might worry some WordPress Admins who might not want users with Editor rights to insert unfiltered HTML.

We can use Force Filtered HTML for Editors, a WordPress plugin to make sure that users with Editor rights are have access to only filtered html.

Force Filtered HTML for Editors – Plugin

  • In WordPress Dashboard, Click on “Add New ” under Plugins.
  • Now search for ‘Filtered HTML for Editors’ and select the plugin.
  • Click on “Install” and activate the plugin.

This Plugin will not work for Multisite with WordPress. This is because by default in mulitsite, only Super Admins can have edit and publish unfiltered HTML.

In case you want no-one including the Admins to be able to publish unfiltered HTML then just add a single like to wp-config.php


This will disallowed unfiltered html for every user your WordPress blog. If you want to learn more about Filtered HTML for Editors read about it here.

Do drop in you comments.

Link: WordPress Plugin for Filtered HTML for Editors


Make your own ‘Coming Soon’ Page for your Website

When you are updating or designing your website, you can create a landing page for your visitors which says “Coming soon” or “Under maintenance”.

This can be easily done by using a WordPress plugin – Simple “Coming soon” And “Under construction”

Follow the instructions to install the plugin:

  1. For instructions on how to install plugins to WordPress, check this detailed post.
  2. After successful installation, activate the plugin from the Plugins menu in WordPress.
  3. Now in the Settings tab of your WordPress menu, you can see a Simple Coming Soon option. Click on the option to access the plugin menu.
  4. Now in the drop-down menu, select “Coming Soon” to get started and Save Changes.
  5. Now go to Theme Options tab, and edit the fields such as Page title, Header text, Estimated time text, Links to social networks etc. to your liking. You can also add the logo of your company or website.
  6. Now to preview the changes you made, logout of your account and access your website. It would look something like this:

Note: If you are logged in as an admin on your WordPress account, you would be able to see your website instead of the ‘Coming Soon’ page.
Thus you can easily change your website’s landing page while you edit the website in the back-end.


Comment Moderation E-mail to Post Author-WordPress Plugin

When an author gets a comment to his post, he gets a notification for it. However, when that comment is held for moderation, the administrator receives an email notification for the same. As per the moderator’s email address saved under the Settings > General tab.On the other hand, the author of the post does not receive any notifications for the comments that have been made on his article. In such  cases the bloggers can use the Comment moderation Plugin that makes comment management easy for the authors.

images (3)Comment Moderation E-mail to Post Author is a new WordPress plugin that enables WordPress to send notification to post author for comment moderation. This way the site administrator does not have to bother about comment moderation. It is useful for collaborative sites where many people post.

This plugin works well on WordPress in both Normal and Multi-site mode. And there is no settings page for this plugin. It will send comment moderation notifications that goes to the author’s e-mail address, not the site moderator address.

How to test if it is working or not:

  • Check your Settings > Discussion settings and make sure that (1) at option  E-mail me whenever at least A comment is held for moderation and (2) at option Before a comment appears at least Comment author must have a previously approved comment are checked.
  • Log out and clear your browser cookies & cache.
  • As an anonymous visitor, post a comment to a post from anyone other than the main site owner.
  • Log back in, verify that comment went into the moderation queue and then ask the author if he received a moderation notification for it.

For more details visit

Link :  Comment Moderation E-mail to Post Author


Download WordPress Plugin – Global Content Blocks

Global Content Blocks is a WordPress Plugin released on 26 Dec 2010, that allows us to create our own shortcodes to insert reusable code snippets or HTML including forms, opt-in boxes, iframes, Adsense code, etc, into posts and pages and preserves formatting. One can insert them using the shortcodes or using a button in the at the right corner of the TinyMCE visual editor toolbar. It requires WordPress 2.8.6 or higher and last updated at 28 of Dec 2010.





The Plugin can hold up to 64,000 characters. Since the blocks are added to the WordPress database so are independent of the theme and unaffected by WordPress upgrades. It is ideal for inserting reusable objects into the content and to prevent the WordPress editor from getting mess up the code or otherwise changing the format. The snippets are masked as images to allow easy manipulation and non-html tags contamination.

If you find any issues or have suggestions you can leave a comment at the Plugin homepage.

Link : Global Content Blocks


Blogger to WordPress redirection plugin [New version]

We have launched an upgraded version of  the Blogger to WordPress Redirection Plugin for all those who want to migrate blog from to self hosted WordPress blog efficiently and with least time.

Why to use Blogger to WordPress Redirection Plugin?

  1. If you have used WordPress built-in importer to import posts from, you will definitely benefit from this plugin.
  2. This plugin handles the most important aspect during to WordPress migration, that is redirecting posts from blog to new WordPress blog post.

Changes in the New Version

  1. Generates code for your Blogger template.
  2. Plugin handles everything automatically at the WordPress end.
  3. Supports rel=canonical, meta-refresh tags on which will speed-up redirection
  4. Configuration wizard to setup redirection code.
  5. Multiple blog supports after importing posts from by WordPress default importer.
  6. Easy way to configure redirection test.

Check out complete user guide of Blogger to WordPress Redirection plugin.

Download Link