Title: Plugin Post-Type overwrites backend  Menu Entry
Last modified: August 22, 2016

---

# Plugin Post-Type overwrites backend Menu Entry

 *  Resolved [hyest](https://wordpress.org/support/users/hyest/)
 * (@hyest)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/plugin-post-type-overwrites-backend-menu-entry/)
 * Hi there, very nice plugin it is working good.
 * The only issue I have is I noticed when I activated the plugin it overwrites 
   one of my other post type menus in the wordpress backend. When you look at the
   screenshots, notice “Page Sections” is gone (Timeline overwrites its place) after
   activation.
 * Before Plugin Activated: [http://pbrd.co/1ttM00q](http://pbrd.co/1ttM00q)
 * After Plugin Activated: [http://pbrd.co/1ttM94b](http://pbrd.co/1ttM94b)
 * At least “Page Sections” comes back when I deactivate, but to do updates I’d 
   have to constantly deactivate and activate your plugin to gain access to these
   page sections.
 * Is there any code fix I could apply to one of the plugin files so that “Timeline”
   in the wordpress backend takes a different position in the menu order so it doesn’t
   overwrite an existing one?
 * Thanks for any help, your plugin is great!
 * [https://wordpress.org/plugins/ahmeti-wp-timeline/](https://wordpress.org/plugins/ahmeti-wp-timeline/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [hyest](https://wordpress.org/support/users/hyest/)
 * (@hyest)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/plugin-post-type-overwrites-backend-menu-entry/#post-5221255)
 * Nevermind, I did some research and figured it out. In case anyone else has this
   problem, look for the file AhmetiWpTimelineFunction.php in the main plugins directory.
 * Look for this line of code: `add_menu_page( 'Ahmeti Wp Timeline', 'Timeline','
   edit_pages', 'ahmeti-wp-timeline/index.php', 'Ahmeti_Wp_Timeline_Index', plugins_url('
   ahmeti-wp-timeline/images/ahmeti-wp-timeline-icon.png') , 6);`
 * Change it to something like (this is what i did):
    `add_menu_page( 'Ahmeti Wp
   Timeline', 'Timeline', 'edit_pages', 'ahmeti-wp-timeline/index.php', 'Ahmeti_Wp_Timeline_Index',
   plugins_url('ahmeti-wp-timeline/images/ahmeti-wp-timeline-icon.png') , '7.6');`
 * Notice the single quotes and the decimal, doing a decimal helps to make sure 
   two menu items do not use the same position and overwrite each other.
 *  Thread Starter [hyest](https://wordpress.org/support/users/hyest/)
 * (@hyest)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/plugin-post-type-overwrites-backend-menu-entry/#post-5221257)
 * By the way, I edited that plugin file while the plugin was active through Plugin/
   Editor in the wordpress admin area. Make sure to then deactivate and then re-
   activate the plugin after making the code change, so wordpress picks up the new
   menu position.
 *  Plugin Author [ahmeti](https://wordpress.org/support/users/ahmeti/)
 * (@ahmeti)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/plugin-post-type-overwrites-backend-menu-entry/#post-5221507)
 * Hi hyest,
 * Thank you your feedback. I fixed that bug in verison 4.0.
 * Thank you again,
    Ahmet

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugin Post-Type overwrites backend Menu Entry’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ahmeti-wp-timeline_c2c2c1.svg)
 * [Ahmeti Wp Timeline](https://wordpress.org/plugins/ahmeti-wp-timeline/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ahmeti-wp-timeline/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ahmeti-wp-timeline/)
 * [Active Topics](https://wordpress.org/support/plugin/ahmeti-wp-timeline/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ahmeti-wp-timeline/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ahmeti-wp-timeline/reviews/)

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [Backend](https://wordpress.org/support/topic-tag/backend/)
 * [dashboard](https://wordpress.org/support/topic-tag/dashboard/)
 * [menu](https://wordpress.org/support/topic-tag/menu/)

 * 3 replies
 * 2 participants
 * Last reply from: [ahmeti](https://wordpress.org/support/users/ahmeti/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/plugin-post-type-overwrites-backend-menu-entry/#post-5221507)
 * Status: resolved