wordpress hello word plugin tutorial

This blog is dedicated for wordpress beginner. I am trying to write this blog with ease so that even if you are new for wordpress you can create wordpress hello word plugin tutorial. Lets move on the topic on how to create hello word wordpress plugin, follow the quick and easy steps mentioned bellow. Presuming that the you have already installed wordpress on your machine.

3 easy steps to create helloworld module in wordpress.

Step 1: Create folder inside the plugin folder.
Go to the plugins folder and create folder “helloworld”.
\wordpress\wp-content\plugins\helloworld

Step 2: Now create new php file inside helloworld folder and name it to “helloword.php”. copy the source code mentioned bellow to the file. change the

/*
Plugin Name: Hello World
Plugin URI: http://www.phptechi.com
Description: A simple Hello Word Plugin
Version: 0.1
Author: Sunil Rajput
Author URI: http://www.phptechi.com
*/
function hello_world() {
	Print("Hello World Test message.");
}

Step 3: Now go to the wordpress admin panel > plugins and click on “activate” like of helloworld plugin. Now go to the current theme index.php, edit it and add following code just bellow the “get_header” function.

if(function_exists("hello_world")) {
	hello_world();
}

now refresh your home page. It will show the message on your home page just bellow the header section.

Share this nice post:

7 thoughts on “wordpress hello word plugin tutorial

  1. This is like a good resource of which you’re giving therefore you present the item separate intended for totally free. When i really enjoy finding web-sites of which comprehend this benefit connected with delivering some sort of top quality useful resource intended for cost-free. It is this previous just what about happens about habit .

  2. Youre so cool! I dont suppose Ive read anything like this before. So nice to search out someone with some unique thoughts on this subject. realy thanks for starting this up. this website is one thing that’s wanted on the net, somebody with somewhat originality. useful job for bringing something new to the web!

  3. Thanks like your wordpress hello word plugin tutorial, 3 easy steps to create helloworld module in wordpress.

  4. Hi, I do think this is a great web site. I stumbled up on it. I will revisit yet again since i have saved as a favorite it. Money and freedom is the greatest way to
    change, may you be rich and continue to help others.

Comments are closed.