Title: Create plugin with custom html page
Last modified: August 22, 2016

---

# Create plugin with custom html page

 *  Resolved [alexandrubau](https://wordpress.org/support/users/alexandrubau/)
 * (@alexandrubau)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/create-plugin-with-custom-html-page/)
 * I want to create a plugin which will have a simple HTML page.
    So, after I active
   the plugin, I want a new button to appear in the left menu. After the user clicks
   the button I want to display a static HTML page. How can I achieve this ? I’ve
   searched and haven’t found anything
 * Thank you !

Viewing 1 replies (of 1 total)

 *  Thread Starter [alexandrubau](https://wordpress.org/support/users/alexandrubau/)
 * (@alexandrubau)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/create-plugin-with-custom-html-page/#post-5565194)
 *     ```
       function oscimp_admin() {
           echo '<p>awesome</p>';
       }
   
       function oscimp_admin_actions() {
   
           $page_title = 'WordPress Extra Post Info';
           $menu_title = 'Extra Post Info';
           $capability = 'manage_options';
           $menu_slug  = 'extra-post-info';
           $function   = 'oscimp_admin';
           $icon_url   = 'dashicons-media-code';
           $position   = 4;
   
           add_menu_page( $page_title,
               $menu_title,
               $capability,
               $menu_slug,
               $function,
               $icon_url,
               $position );
       }
   
       add_action('admin_menu', 'oscimp_admin_actions');
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Create plugin with custom html page’ is closed to new replies.

## Tags

 * [content](https://wordpress.org/support/topic-tag/content/)
 * [html](https://wordpress.org/support/topic-tag/html/)

 * 1 reply
 * 1 participant
 * Last reply from: [alexandrubau](https://wordpress.org/support/users/alexandrubau/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/create-plugin-with-custom-html-page/#post-5565194)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
