Set Default Columns on My Events page
Thanks for reaching out with your question! That’s a good one.
I believe the easiest would be to create a template override for this file:
(More details about creating a template override in our Themer’s Guide)
Line 79-90 handles creating the options in the dropdown.
If you add a piece of code like this right after the foreachin line 79, that will remove the two columns from the dropdown as well as from the table.
<?php if( $column_slug == "category" || $column_slug == "end_date" ) continue; ?>
Note, category and the end date will still be visible in the code, but not accessible via the UI.
If you want to make it disappear from the code as well, then you will need some further customization later in the code.
Hope this gets you started. Let me know if you need further guidance.
Hope you had a great thanksgiving. I’m stoked to hear it worked for you!
Since this is resolved I am going to close this ticket, but if you need anything else related to this topic or another please create a new ticket and we’ll be happy to help.
PS: If you like our plugins, and you didn’t yet do so 🙂 we would be happy to receive a review in the wordpress.org repository. Thanks!
PS2: We’d be also grateful if you would give us feedback on your satisfaction with support. Just click on one of the classy looking emojis below. 🙂 If you can spare a few words, that’s even better. Doublethanks!
The topic ‘Set Default Columns on My Events page’ is closed to new replies.