Skip to content

Instantly share code, notes, and snippets.

@lorenzocaum
Last active September 19, 2015 19:28
Show Gist options
  • Save lorenzocaum/7b260879ab2ead7bcf7c to your computer and use it in GitHub Desktop.
Save lorenzocaum/7b260879ab2ead7bcf7c to your computer and use it in GitHub Desktop.
Hide content for Event Espresso 4 pages in Twenty Fourteen WordPress theme

Add the following CSS to your child theme's CSS or through a plugin like Reaktiv CSS Builder or My Custom CSS:

/* Hide archives header and title, comment icon on Event Espresso event list page */
.post-type-archive-espresso_events header.page-header, .post-type-archive-espresso_events .comments-link {display:none;}
 
/* Hide navigation links on Event Espresso event list page */
.post-type-archive-espresso_events .paging-navigation {display:none;}

/* Hide comment link, navigation links on Event Espresso single event pages */
.single-espresso_events .comments-link, .single-espresso_events .nav-links {display:none;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment