Skip to content

Instantly share code, notes, and snippets.

@srikat
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save srikat/51af5866fee2052d83da to your computer and use it in GitHub Desktop.
Save srikat/51af5866fee2052d83da to your computer and use it in GitHub Desktop.
Conditional to check if today is Monday (per timezone in Settings > General). http://sridharkatakam.com/display-different-featured-post-day-week-genesis/
date( 'l', current_time('timestamp') ) == 'Monday'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment