Links in WP Admin Bar not appearing for custom post types
Support › MB Custom Post Type › Links in WP Admin Bar not appearing for custom post typesResolved
- This topic has 8 replies, 2 voices, and was last updated 3 years, 10 months ago by
Kenneth Lang.
-
AuthorPosts
-
January 21, 2022 at 10:17 PM #33382
Kenneth Lang
ParticipantHi, 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!
January 23, 2022 at 8:32 AM #33402Long Nguyen
ModeratorHi,
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/ebd1rvUOgrNVoxNSdNva7CaNvuGKKlJanuary 23, 2022 at 10:27 AM #33406Kenneth Lang
ParticipantJanuary 23, 2022 at 10:28 AM #33407Kenneth Lang
ParticipantI'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'>
January 23, 2022 at 10:28 AM #33408Kenneth Lang
Participant< a class='ab-item' href='https://www.mynetworkingcentral.com/wp-admin/post-new.php?post_type=networking-groups' >< /a >
January 23, 2022 at 5:00 PM #33411Long Nguyen
ModeratorHi,
Please share the code that creates the CPT on your site, I will try to implement it on my end and check the issue.
January 23, 2022 at 9:22 PM #33415Kenneth Lang
ParticipantI 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!
January 24, 2022 at 1:06 PM #33425Long Nguyen
ModeratorHi,
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/
January 24, 2022 at 9:28 PM #33434Kenneth Lang
ParticipantYes 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?
-
AuthorPosts
- You must be logged in to reply to this topic.