Description
A coditional tag to check if an event date archive is being displyed.
Usage
em_is_event_archive($datetype)
Parameters
- $datetype | string – date archive type (optional)
- year – checks if yearly archive is being displayed, for example https://dfactory.co/events/2013/
- month – checks if monthly archive is being displayed, for example https://dfactory.co/events/2013/11/
- day – checks if daily archive is being displayed, for example https://dfactory.co/events/2013/8/27/
Return
TRUE on success, FALSE on failure.
Leave a Reply