Note that there are some explanatory texts on larger screens.

plurals
  1. POWordpress Plugin Development - What am I doing wrong
    primarykey
    data
    text
    <p>What am I doing wrong....this doesnt seem to work... I keep getting the following error</p> <p>Warning: Cannot modify header information - headers already sent by (output started at /home/puretige/public_html/wp-content/plugins/Pure Tiger/puretiger.php:13) in /home/puretige/public_html/wp-includes/option.php on line 568</p> <p>Warning: Cannot modify header information - headers already sent by (output started at /home/puretige/public_html/wp-content/plugins/Pure Tiger/puretiger.php:13) in /home/puretige/public_html/wp-includes/option.php on line 569</p> <p>The plugin generated 2 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.</p> <p>Please note I am very new to this....</p> <pre><code>&lt;?php /* Plugin Name: Pure Tiger Hosting Plugin URI: http://www.puretigerhosting.com/wordpressplugin Description: Themes, Plugins and Support from within your admin panel. Version: 1.00 Author: Pure Tiger Hosting Author URI: http://www.puretigerhosting.com License: GPL2 */ ?&gt; &lt;?php add_action('admin_menu','register_custom_menu_page'); add_action('admin_menu','register_my_custom_submenu_page'); add_action('admin_menu','register_my_custom_submenu_page2'); add_action('admin_menu','register_my_custom_submenu_page3'); Function register_custom_menu_page() { add_menu_page('Pure Tiger', 'Pure Tiger','pure-tiger','add_users','','', 6); } /*-----------------------------Sub Pages--------------------------------------------*/ function register_my_custom_submenu_page() { add_submenu_page( 'pure-tiger','Themes','Themes','PTthemes','','','my_custom_submenu_page_themes'); } function register_my_custom_submenu_page2() { add_submenu_page( 'pure-tiger','Plugins','Plugins','PTPlugins','','','my_custom_submenu_page_plugins'); } function register_my_custom_submenu_page3() { add_submenu_page( 'pure-tiger','Ask a Question','Ask a Question','question','','','my_custom_submenu_page_question'); } /*-----------------------------Themes--------------------------------------------*/ function my_custom_submenu_page_themes() { echo '&lt;h3&gt;Pure Tiger Themes&lt;/h3&gt;'; } /*-----------------------------Plugins--------------------------------------------*/ function my_custom_submenu_page_plugins() { echo '&lt;h3&gt;Pure Tiger Plugins&lt;/h3&gt;'; } /*-----------------------------Support--------------------------------------------*/ function my_custom_submenu_page_question() { echo '&lt;h3&gt;Pure Tiger Support&lt;/h3&gt;'; } ?&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload