Budget 2012: New tax slabs and exemption limit raised

Mr. Pranab Mukherjee has annouced new Tax Slabs for us so that we can enjoy more on cafes, apps, movies and gadgets.

Up to 2 lakh rupees – NIL

2 lakh – 5 lakh rupees – 10%

5 lakh – 10 lakh rupees – 20%

Above 10 lakh rupees – 30%

Now if you have a package of lets say 7 Lakhs per annum then how you would get taxed? lets check that…

For your first 2 Lakhs our government is kind enough to forgive you. so NIL. for next 3 Lakhs you will need to shell out 10% that is… INR 30,000. For the next income of INR 5,00,000 to INR 7,00,000 it is 20% so another INR 40,000.  So for a annual income of 7 Lakhs you are taxed for INR 54,000 + Education Cess + Surcharge = INR 71,140.

Now looking at this figure you may want to save your taxes. If you are on a job…  well only options is to make investments and save few bucks.

Below is a good calculator from InvestmentYogi

How to upload WordPress from your local machine to online server

It is quit possible that many of you love working on local setup of WordPress than tweaking the things directly on live setup of WordPress. Most important advantage is that it definately fastens your process of development and most importantly when your files on local machine you can use Eclipse, Notepad++ or TextmMate for updating your files Then test everything and when your satisfied… upload files online.

So lets see how to do that…

  1. Most important step take backup of your local WordPress database from PHPMyAdmin. [We need this to restore local database after finishing the deployment]
  2. Log in to your local wp-admin panel. Go to Settings >> General Settings, then change WordPress Address (URL)Site Address (URL) to your the URL where you want to deploy your website. Click on save button. Data will get stored and you wont be see anything but a error screen post save. But that is OK. Don’t panic.
  3. Take Another backup of the same database. [We want this to upload online]
  4. Upload your WordPress files on online using FileZilla
  5. Open wp-config.php file and update database connection parameters (Database Name, Database User Name, Database Password & Host Name)
  6. Check your online website. Everything should be looking fine. Cheers!
  7. Lets now restore your local database as its not working now.
  8. Go to your local PHPMyAdmin and select your required database. Delete all tables and import the database that we had created at Step 1. Check your local website and it should work normally. Cheers again!

How to add full width page template in wordpress | Adding custom wordpress page template

While developing a website or a blog using WordPress you might have noticed that your chosen theme does not quit support full width page template option or you want to add a custom page template for your particular page may be having a jquery slider on it or a big Google Map or you want a different page template for your photo gallery. Most common is that you want to remove the slider from certain pages.

This article will show you how you can possibly achieve this by simply adding custom page template that solves your problem. You need a at least some basic skill of HTML and PHP for this. Lets start with it.

Goto “/wp-content/themese/your-theme/” folder. Here “your-theme” is theme that you are currently using for your blog.

Look for “page.php”

Make a copy of this file and name it as “full-page-width-page.php” or “my-custome-page.php” whichever you like. for this exampke i will consider the name as “full-page-width-page.php”.

Open this file and add following code at the beginning.

[php]

<?php
/*
Template Name: Wide Page
*/
?>

[/php]

This will name your template as “My Wide Page Template”, and this can be seen at the “Template” drop down box under “Page Attributes” while you add a WordPress page.

Once this is done look for following tag and change the class name to your full width content class. You are usually required to add width or change page background, this totally depends on CSS of your theme.

[html]
<div id="content-wrapper">
.
.
.
[/html]

Below is the class that i will be using, you can name it anything as long as it does not conflict any existing classes.

[html]
<div id="wide-content-wrapper">
.
.
.
[/html]

Once you are done with the changes upload save the css file and upload “full-page-width-page.php” file that we created. Now try to add a new page via your WordPress admin panel or you can even open an existing page where you do not want the sidebar.

Change the page template to “My Wide Page Template” and save the page. Try viewing that page and you must have got the page with no side bar.

I hope you like this article and it helps you. In case you have any questions you can post your comments. Thanks for reading .