Title: Custom post-new page
Last modified: August 19, 2016

---

# Custom post-new page

 *  [mat_](https://wordpress.org/support/users/mat_/)
 * (@mat_)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/custom-post-new-page/)
 * Hi everyone,
    I’m looking for a way to use a custom post-new.php page in my wp
   plugin.
 * I’m actually using add_submenu_page(__FILE__,’Add Listing’, ‘Add Listing’, 0,‘
   post-new.php?ref=myref’);
    It adds a link to my admin menu, but it redirects 
   to the post-new.php page. I would like to “stay” even if it’s just virtual on
   my plugin side.
 * Finally, i would like to be able to modify some part in this new page, like restrict
   some categories, add custom data …
    If anyone can help m 🙂
 * Thanks a lot !

The topic ‘Custom post-new page’ is closed to new replies.

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [post-new](https://wordpress.org/support/topic-tag/post-new/)

 * 0 replies
 * 1 participant
 * Last reply from: [mat_](https://wordpress.org/support/users/mat_/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/custom-post-new-page/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
