Posted 09 October 2012 - 01:03 PM
The event is on the 17th of October, but was posted the 9th of October. This causes some confusion to readers when both dates are visible.
I want to keep post dates on regular posts, but hide them on Events.
Event Manager shows Events as custom post types, and it seems like I'm able to use Pagelines drag-and-drop on the Events.php template.
So I figure that what I ought to do is editing the meta-information for events.php? Or use CSS to hide the post-date on events?
Any tips on how to do that?
Posted 09 October 2012 - 10:37 PM
Posted 10 October 2012 - 12:23 PM
Posted 10 October 2012 - 01:17 PM
Three years ago WordPress added automatic body classes depending on what page you are viewing using the body_class() function.
This means themes/developers can easily target specific pages, for example every post will have a postid-nnn class added.
So lets look at the body tag of your events page:
As we can clearly see the events plugin is inserting two clases for you single-event as its a single even page and event, Im guessing every event page would have this.
So to style something on that page, just start your css with .single-event