Skip to content

Instantly share code, notes, and snippets.

@ckpicker
Created February 6, 2014 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ckpicker/399de9c81d6bc4ceb7b7 to your computer and use it in GitHub Desktop.
Save ckpicker/399de9c81d6bc4ceb7b7 to your computer and use it in GitHub Desktop.
<?php
if (!tribe_is_community_edit_event_page() && !tribe_is_community_my_events_page()) {
?>
jQuery('select').each(function() { jQuery(this).replaceSelect(); });
jQuery('input[type=checkbox]').each(function() { jQuery(this).replaceCheckbox(); });
<?php } ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment