Title: Adapting the &#039;Posts&#039; menu
Last modified: August 22, 2016

---

# Adapting the 'Posts' menu

 *  [TavrinWins](https://wordpress.org/support/users/tavrinwins/)
 * (@tavrinwins)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-programming-adapting-the-posts-menu/)
 * Hi,
 * I’m creating a WordPress plugin.
    I want the plugin to have a ‘Products’ menu
   in the WordPress back-end (admin) section where you can view/add/edit/delete 
   products. The pages to manage these products should be nearly the same was those
   of the standard WordPress ‘Posts’ (where you can manage your posts).
 * Here comes my question:
    Can I just copy the existing php files that make up 
   the ‘Posts’ menu and modify them? Or is this bad practice? Or would it be better
   to just start from scratch?
 * Thanks!

Viewing 1 replies (of 1 total)

 *  [PhPCentre](https://wordpress.org/support/users/phpcentre/)
 * (@phpcentre)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-programming-adapting-the-posts-menu/#post-5880568)
 * Use the function `register_post_type()` to register a custom post type for your
   Products menu.
    [http://codex.wordpress.org/Function_Reference/register_post_type](http://codex.wordpress.org/Function_Reference/register_post_type)

Viewing 1 replies (of 1 total)

 The topic ‘Adapting the 'Posts' menu’ is closed to new replies.

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [PhPCentre](https://wordpress.org/support/users/phpcentre/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/plugin-programming-adapting-the-posts-menu/#post-5880568)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
