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.

No replies yet

Be first to start the conversation.

Leave a Reply

Please, do not use this form for technical support. To get support for our plugins, use the support forum.

Your email address will not be published. Required fields are marked *