Skip to content

Instantly share code, notes, and snippets.

@claudiosanches
Created August 21, 2012 02:45
Show Gist options
  • Save claudiosanches/3410963 to your computer and use it in GitHub Desktop.
Save claudiosanches/3410963 to your computer and use it in GitHub Desktop.
jQuery hide
<?php if (is_home() || is_front_page()): ?>
<script type="text/javascript">
$(document).ready(function() {
$('.content').hide();
});
</script>
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment