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 {@link Conditional Tags} article in the Theme Developer Handbook.

Related Functions

is_day, is_network_admin, is_date, is_feed, is_user_spammy

Top Google Results

User discussions

wpseek mobile