ifacethoughts

day

day is a WordPress query string variable that can used to request archive of posts published on a certain day, across months and years. day global variable stores day of the current post. It is set in the function setup_postdata($post) defined in [wordpress root folder]/wp-includes/functions.php.

WordPress uses this global variable internally, e.g., to form the HTML title when any archive is requested. Plugin and theme developers can use day to get day of the current post.

Back to full list of global variables.

Technorati tags: , .

Discussion [Participate or Link]

  1. WordPress Global Variables | iFansClub said:

    […] $day […]

Say your thought!

If you want to use HTML you can use these tags: <a>, <em>, <strong>, <abbr>, <code>, <blockquote>. Closing the tags will be appreciated as this site uses valid XHTML.

freshthoughts

contactme

Abhijit Nadgouda
iface Consulting
India
+91 9819820312
My bookmarks

badgesand...

This is the weblog of Abhijit Nadgouda where he writes down his thoughts on software development and related topics. You are invited to subscribe to the feed to stay updated or check out more subscription options. Or you can choose to browse by one of the topics.