Skip to content

Instantly share code, notes, and snippets.

@ckpicker
Created March 20, 2014 15:36
Show Gist options
  • Save ckpicker/9666551 to your computer and use it in GitHub Desktop.
Save ckpicker/9666551 to your computer and use it in GitHub Desktop.
Community Events Add-on 3.4 // Hide specific widget on Community Pages
add_action( 'wp_head', 'community_add_css' );
function community_add_css() {
if (tribe_is_community_edit_event_page() || tribe_is_community_my_events_page()) {
?>
<style>
#sidebar #feature-posts {display:none !important;}
</style>
<?php
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment