Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a custom plugin that is accessible via WordPress sidebar, this is the option page of my plugin.

How do I called a new page inside my option plugin page?

<li><a href="<?php echo plugins_url(); ?>/myPlugin/create.php">Create</a></li>

Apparently, this code above, will display create.php but I want this page to be displayed inside the WordPress wp-admin, with the sidebar and all..

share|improve this question
    
Have you looked up add_menu_page or add_submenu_page in the Codex? –  s_ha_dum Sep 17 '13 at 3:36
    
add_menu_page() function will help you to add the option –  Vikas Gautam Sep 17 '13 at 4:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.