WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.