WordPress custom plugin development sample

How to write plugin name in custom coding.

Let us consider , we are coding a plugin to show students rank in web page . lets name the plugin rankboard plugin.

  1. First create a folder name rankboard in wp-content / plugins folder.

2) create a page named rankboard.php. *** you can create with other name too different from folder name .

3. write the name of plugin (declare the plugin name) in rankboard.php . like


*Plugin Name: Golflboard

How to add menu link of plugin to show feature and functionality in dashboard ?

to add menu link on admin / dahboard to show plugin functionality write ..

add_action(‘admin_menu’, ‘studentrank_admin’);

here add_ action (”admin_menu”) creates a menu link on dashboard .

Leave a Reply

Your email address will not be published. Required fields are marked *

fifteen − 10 =