How to create new plugin in Wp ?


 * Plugin Name: 
 * Plugin URI: 
 * Description: 
 * Version: 
 * Author: 
 * Author URI: 
 * License: A "Slug" license name e.g. GPL2

add_action( 'admin_menu', 'front_register' );

function front_register() {
	add_menu_page('FrontRegister', 'FrontRegister', 'manage_options', 'my-top-level-handle', 'back_register');

require_once(ABSPATH . WPINC . '/registration.php');
global $wpdb, $user_ID;

$result = mysql_query('ALTER TABLE wp_users ADD	user_lastname VARCHAR(60) AFTER user_login;');
$result = mysql_query('ALTER TABLE wp_users ADD user_address VARCHAR(250) AFTER display_name;');
$result = mysql_query('ALTER TABLE wp_users ADD	user_city VARCHAR(60) AFTER user_address;');
$result = mysql_query('ALTER TABLE wp_users ADD user_state VARCHAR(60) AFTER user_city;');
$result = mysql_query('ALTER TABLE wp_users ADD user_zip VARCHAR(60) AFTER user_state;');
$result = mysql_query('ALTER TABLE wp_users ADD	user_phone VARCHAR(60) AFTER user_zip;');
$result = mysql_query('ALTER TABLE wp_users ADD	user_category VARCHAR(60) AFTER user_phone;');

function back_register() {
	echo "hy";

function font_register() {
/*  Front Code Type Here */

add_shortcode( 'FrontRegister', 'font_register' );

// Shortcode [FrontRegister] 

Janmashtami 2015



Janmashtami is the festival Hindu love and celebrate with great devotion and enthusiasm in India.The birthday of Lord Krishna was born in a prison in the custody of Kansa. Vasudev, His father immediately thought of his friend Nand and decided to hand over his child to him to save Krishna from the clutch of Kansa. Krishna grew up in Gokul and finally killed his uncle, King Kansa.All over India this day is celebrated with devotional songs and dances, pujas, arti, blowing of the Conch and rocking the cradle of baby Sri Krishna.The Janmashtami celebration of Mathura and Vrindavan, the places where Sri Krishna had spent his life, are very special.



best enjoyed with family and friends. Spread the New Year spirit and share the joy and happiness. Hope this New Year brings to you a magical touch of various treats and pampers you with several surprise presents. Enjoy and don’t miss this opportunity of sending warm wishes to your near and dear ones. Happy New Year 2015 to everyone out there and cheers! Friends if are searching for Funny 2015 Happy New Year


September 27 isn’t Google’s birthday, nevertheless there’s a doodle



New Delhi: There is a doodle on the Google home page that celebrates the company’s 16th birthday. But the interesting fact is that September 27 isn’t the search giant’s birthday.

The selection of September 27 as Google’s birthday seems to be a one of convenience than the actual date when the company was founded.

Google celebrated September 7 (the day when the company was incorporated) as its birthday till 2005. In 2005 Google changed the date to September 27 to make it coincide with the announcement of the record number of pages that the search engine was indexing.

Independence Day in India



What do people do?

Independence Day is a day when people in India pay homage to their leaders and those who fought for India’s freedom in the past. The period leading up to Independence Day is a time when major government buildings are illuminated with strings of lights and the tricolor flutters from homes and other buildings. Broadcast, print and online media may have special contests, programs, and articles to promote the day. Movies about India’s freedom fighters are also shown on television.

The president delivers the ‘”Address to the Nation” on the eve of Independence Day. India’s prime minister unfurls India’s flag and holds a speech at the Red Fort in Old Dehli. Flag hoisting ceremonies and cultural programs are held in the state capitals and often involve many schools and organizations.

Many people spend the day with family members or close friends. They may eat a picnic in a park or private garden, go to a film or eat lunch or dinner at home or in a restaurant. Other people go kite flying or sing or listen to patriotic songs. and


WordPress is a publishing platform that makes it easy for anyone to publish online, and proudly powers millions of websites. It comes in two flavors: the fully hosted, and the self-hosted version available at
Focus on your beautiful content, and let us handle the rest.
Get your hands dirty, and host your website yourself.
Premium hosting, security, and backups are included. You can even upgrade to a custom domain, like You’ll need to find a host, and perform backups and maintenance yourself. We offer VaultPress for security and backups.
Choose from hundreds of beautiful themes. Make it your own with Custom Design. Install custom themes. Build your own with PHP and CSS.
Integrate your site with Facebook, Twitter, Tumblr, and other social networks. Install a plugin, like Jetpack, to enable sharing functionality on your site.
Popular features like sharing, stats, comments, and polls are included. There’s no need to install plugins. Install plugins to extend your site’s functionality.
Personal support and the forums are always available. Visit the support forums for assistance.
You must register for an account on and abide by our Terms of Service. No registration with is required.

WordPress is a community-driven project that’s developed by and for people like you. Many thousands of people from around the world contribute to the project, and many millions of websites are powered by it. From large company websites to personal blogs, and everything in between, everyone can publish with WordPress.

There are two ways that you can get started with WordPress. You can host a WordPress installation on your own server, or you can host your site here at and let us handle the technical bits.

Hosting your own WordPress site can be fun and rewarding, but it also requires some technical knowledge and places more responsibility on you, the publisher. You can download the WordPress software for free at, but it must be installed on a web server before it will work. You will need to research and install your own themes and plugins. Many hosting providers offer a one-click installation of WordPress — here are a few examples. If you’re looking for a web development agency that specializes in building beautiful WordPress sites, check out the CodePoet Directory. is different. Here at, you don’t have to download software, pay for hosting, or manage a web server. You can instead focus on creating wonderful content, and let us handle the rest! is a great choice for bloggers, photographers, artists, plumbers, doctors, restaurateurs — almost anyone. However,  techies that prefer to maintain full control over their code, should consider hosting their own WordPress installation. We provide a large number of themes and built-in plugin functionality so you won’t need to upload your own.

Publishing your website is always free here at And many excellent premium upgrades are available to help you supercharge your site. These upgrades let you use a custom domain (like, extensively customize the appearance of your site, upload HD video, and lots more. is a commercial enterprise owned by Automattic, a company started by the founding developer of WordPress and staffed by full-time developers, designers, and support engineers. Automatticians (employees of Automattic) regularly contribute back to the WordPress software so that the entire community can benefit.

Not sure which way to go? Find out more about and to see which is best-suited for you.

How and where to use wordpress security keys



WordPress security keys and salts come by default with your wordpress installation and it works cool, but to make it stronger you can add new keys. You can see your wordpress security keys and salts in wp-config.php file that is in your main wordpress directory. Below is the sample for wordpress security keys and salts that you see in your wp-config.php

 * Authentication Unique Keys and Salts.
 * Change these to different unique phrases!
 * You can generate these using the {@link secret-key service}
 * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
 * @since 2.6.0
define('AUTH_KEY',         '/hHrAb@zT|.-,+5+6d+p/vgvoBo%^_uByCSRF5s}|X$}oKnV.6QeS%Z7 +[&b^Mq');
define('SECURE_AUTH_KEY',  'bD- +{BOSiGR{cazC**g%UZ~evg4Fi;gldyEZwo |$?Sr0mCg|XB]=*wk^95/(k+');
define('LOGGED_IN_KEY',    'urr!,9Md+:tv0LG0unbD{jE{/Wb$xDd2oE$db|F#:}-yhU}_q-~i{$%^B*');
define('AUTH_SALT',        '.uXW!]|5D)WYza(*Bfv@c,WeHuZpi+/*cOQM;anz]Wn@$JR:s}9Y%RW||[)|N1e6');
define('SECURE_AUTH_SALT', 'K=[42 K20RoEiyq*k7$AVL+_S4veav^jd]2u.^#Ku-s)G>6xP+!F[=9;CPpaqIP*)P&LoOkNu#}_>H2mSu]ZO?|fu%kt9QnZWg)D3h$||up77n3(q?w}!-Gb');
define('NONCE_SALT',       'P:$u1_xKe0u%NA-rRR[4{Qg0%fI72Pm5W;WQ4`atpa*v~7X%jwvgY@;.^+koG.yN');


Don’t copy this key instead generate and grab the whole variables from wordpress secret key generator. Now paste the generated keys in your wp-config.php file accordingly. Now save the file and you don’t need to remember these variables anymore. Generate these keys once again and add it accordingly in your wp-config.php just in case if you recovered your site from a serious hack.

One more thing if your any users were logged in to your wordpress dashboard then they will be asked to login again.

Hope this article helped you with securing your wordpress site using wordpress security keys and salts.