Last active
December 21, 2015 16:09
-
-
Save ckpicker/6331913 to your computer and use it in GitHub Desktop.
Community Events // Hide Columns on 'My Event' List Page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'wp_footer', 'community_hide_columns' ); | |
function community_hide_columns() { | |
if (tribe_is_community_my_events_page()) { | |
?> | |
<style> | |
#col-2, #col-3, #col-4, #col-5, td[headers="col-2"], td[headers="col-3"], td[headers="col-4"], td[headers="col-5"] {display:none !important;} | |
</style> | |
<?php | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment