Skip to content


How to make a wordpress plugin “Hello World” ?

WORDPRESS HELLO WORLD PLUGIN

This is for the beginners who wants to make a wordpress plugin in the wp admin.
First Step :
To add a plugin name and other details

<?php
/*
Plugin Name: Herby Design
Plugin URI: http://www.herbydesign.com
Description: Hernan Malubay a freelance web developer
Version: 1
Author: Hernan Malubay
Author URI: http://www.herbydesign.com
*/
Second  Step :

function helloworld() {
include(‘show.php’);
}

function herbyfunction() {
add_options_page(“HerbyDesign”, “HerbyDesign”, 1, “HerbyDesign”, “helloworld”);
}

add_action(‘admin_menu’, ‘herbyfunction’);
?>
For more details please don’t hesitate to contact me .



Posted in Blogging, Websites.


One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Continuing the Discussion

  1. What is Wordpress? | Herby Tech Official Blog linked to this post on 2012-02-11T16:28:50+0000">February 11, 2012

    Like or Dislike: Thumb up 0 Thumb down 0

    [...] There are many free wordpress plugin that can be install easily you can click here, I also building now some plugin and if you like to learn about creating your first wordpress plugin please click here . [...]

     



Some HTML is OK

or, reply to this post via trackback.

Open Sort Options

Sort comments by:
  • * Applied after refresh

Notify me of followup comments via e-mail. You can also subscribe without commenting.