Skip to content

Instantly share code, notes, and snippets.

@lorenzocaum
Last active September 19, 2015 19:24
Show Gist options
  • Save lorenzocaum/04bb75c4fc882306fb04 to your computer and use it in GitHub Desktop.
Save lorenzocaum/04bb75c4fc882306fb04 to your computer and use it in GitHub Desktop.
Hide content for Event Espresso 4 pages in Twenty Twelve 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, leave reply link on Event Espresso event list page */
.post-type-archive-espresso_events header.archive-header, .post-type-archive-espresso_events .leave-reply {display:none;}

/* Hide posted on date and author on Event Espresso event list page */
.post-type-archive-espresso_events .entry-meta {display:none;}

/* Hide leave reply link, posted on date and author, navigation links on Event Espresso single events pages */
.single-espresso_events .leave-reply, .single-espresso_events .entry-meta, .single-espresso_events .nav-single {display:none;}

/* Hide navigation links on Event Espresso single events pages */
.single-espresso_events .nav-single {display:none;}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment