Do you like Facebook Style Timeline? Want to incorporate with your WordPress Website

Everyone like the timeline of Facebook. Do you like it? If yes and want to incorporate into your website.

Now its easy and Possible.

Please check out plugin: Fully responsive and mobile ready facebook style Timeline for wordpress.

First you have download it and activate it.

How to Add Widgets to WordPress Theme’s

There are really three main parts to introducing a footer sidebar/widget area in your theme:

  1. Registering the Sidebar(s) in the WordPress Theme
  2. Inserting the Sidebars In the WordPress Theme
  3. Putting some style into the sidebars
WordPress has introduced a few new functions recently which makes it hard to write one tutorial that will cater for every theme out there. I have broken this tutorial into smaller sections to cater for the various different themes.
Keep a backup copy of your “functions.php” and “footer.php” file just in case you make a mistake when making the code changes.Keep a backup copy of your “functions.php” and “footer.php” file just in case you make a mistake when making the code changes.

Adding Footer Widget to a Modern Theme

Open function.php

search for “register_sidebar”

Copy

    register_sidebar(array(
        'id' => 'sidebar1',
        'name' => __('Sidebar 1', 'adap'),
        'description' => __('The first (primary) sidebar.', 'adap'),
        'before_widget' => '<div id="%1$s">',
        'after_widget' => '</div>',
        'before_title' => '<h4>',
        'after_title' => '</h4>',
    ));

Paste it

    register_sidebar(array(
        'id' => 'yoursidebar',
        'name' => __('Your Sidebar Name', 'adap'),
        'description' => __('Your Sidebar Desciption', 'adap'),
        'before_widget' => '<div id="%1$s">',
        'after_widget' => '</div>',
        'before_title' => '<h4>',
        'after_title' => '</h4>',
    ));

Show the widget area in your theme

Put below code where you want to add widgets

<div id="ClassofSidebar"> <!-- for your Designing Purpose -->
 <?php
 if(is_active_sidebar('yoursidebar')){
 dynamic_sidebar('yoursidebar');
 }
 ?>
 </div>

Style the widget area to your liking

Create Class for “ClassofSidebar” in your style.css

#ClassofSidebar{
}

You are ready to use your new widgets

Thanks

Be Happy

How to make your WordPress Website Secure

You have find many discussion about WordPress is not secure or easy to hack. I will share some of plugin which can make your website more secure.

Google Authenticator

The Google Authenticator plugin for WordPress gives you two-factor authentication using the Google Authenticator app for Android/iPhone/Blackberry.

Download here

Limit Login Attempts

Limit the number of login attempts possible both through normal login as well as using auth cookies.

Download here

BackWPup Free – WordPress Backup Plugin

Schedule complete automatic backups of your WordPress installation. Decide which content will be stored (Dropbox, S3…). This is the free version

Download here

Disclaimer: You have to check plugin details before your installing that its has to be compatible with your website version

How to: Restrict page view to authenticated users – WordPress

To check if the current reader is authenticated or not, WordPress provide the is_user_logged_in()function, which will return true if user is logged in, false otherwise.

We just have to create a basic php conditional instruction and check if the user is logged in:

if (is_user_logged_in()) {

// You page code goes here
} else {
echo "You must be logged in to view this page.";
}

Insert the code above in a new page template. When you’ll want to make a private page, just use this template.

New in WordPress 2.9: Post Thumbnail Images

Many WordPress themes, especially those with “magazine-like” layouts, use an image to represent each post. It might just be on the front page. It might be alone, or alongside an excerpt. Until now, there was no standardized way to do this. Many themes would require you to tediously enter a Custom Field with the value being the URL you wanted to use. Often you had to do cropping yourself. With WordPress 2.9, theme authors can easily enable Post Thumbnail selection UI and call those image using simple template tags.

and call those image using simple template tags.

Continue reading New in WordPress 2.9: Post Thumbnail Images

Running_a_Development_Copy_of_WordPress

Whether you’re developing WordPress plugins, WordPress themes, or rolling out a new site based on a customized version of WordPress, it’s often helpful to be able to mirror your live site on your local system for development. This is common for commercial sites, where you have a live production server but you also need a development and/or staging server, which is run locally to test plugins, mods, themes, and everything else that you don’t want to do on the live production server. For example, your live site could be http://www.example.com/blog and your development site might be http://localhost/example.com/blog. However, WordPress serves pages with embedded absolute URLs based on the absolute site URL configured in your database, so none of the links on your development site will work.

Continue reading Running_a_Development_Copy_of_WordPress