Home › Forums › Calendar Products › Events Calendar PRO › Adding featured/sticky event to Quick Edit
- This topic has 3 replies, 2 voices, and was last updated 6 years, 1 month ago by Shane.
-
AuthorPosts
-
February 15, 2018 at 2:56 pm #1454760ShaneParticipant
Hi…
I finally got around to purchasing the plugin suggested to me in my last support thread:
https://theeventscalendar.com/support/forums/topic/adding-featuredsticky-event-to-quick-edit/
I’m having some trouble because I have to add that column manually and I have no idea what to look for. Wondering if you can help me out with this. Thanks.
Here is what I need to do:
February 22, 2018 at 10:12 am #1461183JenniferKeymasterHi Shane!
As Victor mentioned, this is possible with some custom coding. Please note that we are limited in the amount of support that we can provide for customizations, but I will try to point you in the right direction here.
First, events are a custom post type (tribe_events), and you can find the name by using your browser’s inspector (right click the field on the edit event page, click Inspect – see screenshot). For the “Hide From Event Listings” field, the name you need is EventHideFromUpcoming. So, based on the example in the article you linked to, the code you need would be:
add_filter( 'manage_tribe_events_posts_columns', 'my_manage_newsroom_posts_columns' );
function my_manage_newsroom_posts_columns( $columns ) {
$columns['EventHideFromUpcoming'] = esc_html__( 'Hide from Upcoming');
return $columns;
}I tested this out on my end, and it did add the field as a column. However, editing it in the Quick Edit section will take a bit more code. As a starting point, I would recommend taking a look at this article.
You might also try out some third-party plugins. I did a quick search and found Custom Bulk/Quick Edit which looks like it will do what you are looking for, but there may be others out there as well.
I hope this helps get you started, and please let me know if you have any questions!
Thanks,
Jennifer
March 16, 2018 at 9:35 am #1481330Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Adding featured/sticky event to Quick Edit’ is closed to new replies.