Forum Replies Created
-
AuthorPosts
-
January 24, 2022 at 9:28 PM in reply to: ✅Links in WP Admin Bar not appearing for custom post types #33434
Kenneth 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?
January 23, 2022 at 9:22 PM in reply to: ✅Links in WP Admin Bar not appearing for custom post types #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 23, 2022 at 10:28 AM in reply to: ✅Links in WP Admin Bar not appearing for custom post types #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 10:28 AM in reply to: ✅Links in WP Admin Bar not appearing for custom post types #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:27 AM in reply to: ✅Links in WP Admin Bar not appearing for custom post types #33406Kenneth Lang
ParticipantKenneth Lang
ParticipantHi, happy new year. I'm submitting this again in case it got lost in the end-of-the-year shuffle. Thank you.
Thank you - could you be more specific with how we can set up a cron job to remove a MetaBox cloned group once the date in it has passed? There are 4 pieces of data in each cloned group, and the first is an upcoming date, so we need the whole cloned group to be removed via a cron job once the date has passed. Thank you for any help you can lend with this.
Kenneth Lang
ParticipantThank you - could you be more specific with how we can set up a cron job to remove a MetaBox cloned group once the date in it has passed? There are 4 pieces of data in each cloned group, and the first is an upcoming date, so we need the whole cloned group to be removed via a cron job once the date has passed. Thank you for any help you can lend with this.
Kenneth Lang
ParticipantThank you - worked perfectly!
A follow up question. In each cloneable group's data, we have a date for each cloned group, and we want to delete old dates and their associated objects once the date has passed. How can we write a cron job to do that? My programmer is good at that sort of thing but wasn't sure how to do it because it's not a straightforward table due to the cloned elements. How can we accomplish this? Thank you!
-
AuthorPosts