View Single Post
06-24-2011, 09:14 PM   #3
maxaud
Junior Member
 
Join Date: Jun 2011
Location: North Idaho
Posts: 10
Rep Power: 0
maxaud is getting browny points
seems to be a wordpress issue..

The following code wont work as a new plugin for adding an admin page..

PHP Code:
<?php
/*
Plugin Name: Test Plugin
Plugin URI: http://testing.com
Description: Testing some things
Version: .1
Author: Test Author
Author URI: http://www.nodomain.com/
*/ 


add_action('admin_menu''my_plugin_menu');

function 
my_plugin_menu() {
    
add_options_page('My Plugin Options''My Plugin''manage_options''my-unique-identifier''my_plugin_options');
}

?>
maxaud is offline   Reply With Quote