June 10, 2013 at 11:57 am 4755
|Tareq Hasan||Whenever I activate this plugin it deletes one of my other admin tabs. Wierd! Any ideas on how to solve this?|
June 10, 2013 at 12:09 pm 4756
Here is before and after to visually demonstrate:
I had actually noticed it on my previous theme but what it did was delete the WPMU tab which didn’t worry me but now it deletes Messages tab which is an important part of my new theme.
Your advice would be appreciated.
I have isolated it to your plugin.
June 10, 2013 at 5:50 pm 4762
Look around line 189 in cpm.php.
$hook = add_menu_page( __( ‘Project Manager’, ‘cpm’ ), __( ‘Project Manager’, ‘cpm’ ), $capability, ‘cpm_projects’, array($this, ‘admin_page_handler’), ”, 3 );
“3” is the menu position #. Change it to something else .
June 11, 2013 at 12:41 am 4767
Thanks for prompt reply. Unfortunately whilst this moves the tab it does not fix the problem.
Any other ideas?
June 11, 2013 at 7:54 am 4782
Thats the only option that might create problem because it was assigned a static point in the menu side bar. Other than that, I’ve no idea why that problem would arise.
June 11, 2013 at 8:36 am 4786
How can I update the code so it doesn’t set a specific position at all? Worth a try!
June 11, 2013 at 7:18 pm 4800
You can just remove the number and it should be placed at the bottom.
June 11, 2013 at 11:10 pm 4809
No luck with that either.
FYI this is the response i got from the theme developer:
From your description of the issue it seems that the plugin you are using is conflicting with the theme Message post type. The Messages menu item is simply a custom post type that is added and uses WordPress coding standards to add this post type so if the plugin you are using has been coded to WordPress standards it should not conflict with our theme.
The only way to resolve this issue is to either resolve this issues with this 3rd party plugin or find another plugin that does not conflict with the messages post type I’m afraid as I annot resolve issue slike this with 3rd party plugins under our support policy regrattably.
Stuart – WooNinja
June 12, 2013 at 12:56 am 4810
As Tareq mentioned above if you remove the number it should be visible at the very end of admin left side menu. I can assure the plugin has been coded by following WordPress Standard and being using over 2K+ sites actively !
please mention “ref by: Mahi” as subject.
June 12, 2013 at 2:06 am 4814
WP Project Manager uses also a post type named “message” for it’s messaging system. So I think it’s conflicting with the post type and it’s hiding the post type from the menu as it uses several post types to store the project, milestone, task, tasklist and message. So I guess you’ve to use another post type instead of message.