Support Forum
Support › MB Custom Post Type › Links in WP Admin Bar not appearing for custom post typesResolved
Hi, I'm using MetaBox and since setting it up and importing my custom post types, taxonomies, etc., I no longer see the links for my custom post types under NEW in the WP admin bar. If you hover over the link, the link is there, but there's no text - this is how it looks in the code:
So the text which should be Networking Groups isn't showing, though the link is active. All other dropdown items under NEW are appearing normally. I found the setting Edit Post Type -> Advanced -> Show in admin bar, and selected that, but still no text is showing for my custom post types. How can this be fixed? Thank you!
Hi,
Please try to re-save the permalink settings (Post name) to fix this issue. I didn't see that on my demo site.
https://monosnap.com/file/ebd1rvUOgrNVoxNSdNva7CaNvuGKKl
I'm not sure if you can see the code I posted so here goes again:
< a class='ab-item' href='https://www.mynetworkingcentral.com/wp-admin/post-new.php?post_type=networking-groups'>
< a class='ab-item' href='https://www.mynetworkingcentral.com/wp-admin/post-new.php?post_type=networking-groups' >< /a >
Hi,
Please share the code that creates the CPT on your site, I will try to implement it on my end and check the issue.
I realized I had deactivated the Custom Post Types UI plugin because I thought I needed to in order to have MetaBox take over the CPTs. Is it OK to have CPT UI and MetaBox both activated on the site? If so, then the issue is fixed. Please let me know if that's OK - thank you!
Hi,
No need to activate the CPT UI plugin when you use the MB Custom Post Type plugin. You can move all CPTs from CPT UI to Meta Box as well. Refer to this article https://metabox.io/move-custom-post-types-custom-taxonomies-from-cpt-ui-to-meta-box/
Yes I'm aware that I don't need to keep CPT UI activated, but when I deactivate it, that's when the CPT items disappear from the "NEW" dropdown. So my question is, is it OK to keep CPT UI activated, even though it doesn't need to be, so that these links are visible? Is there any wrong with having CPT UI and MetaBox both active on the site?