is_new_day


is_new_day ( No parameters )

Returns:
  • (int) 1 when new day, 0 if not a new day.
Defined at:

Description

Determines whether the publish date of the current post in the loop is different from the publish date of the previous post in the loop.For more information on this and similar theme functions, check out the [Conditional Tags](https://developer.wordpress.org/themes/basics/conditional-tags/) article in the Theme Developer Handbook.

Related Functions

is_day, is_network_admin, is_date, is_feed, is_email

Top Google Results

User discussions

wpseek mobile