Just like weekday, Wordpress uses month global variable to store the month names. It is a single dimensional array set in [wordpress root folder/wp-includes/locale.php]. [Continue]
skip to navigation | content
ifacethoughtsJust like weekday, Wordpress uses month global variable to store the month names. It is a single dimensional array set in [wordpress root folder/wp-includes/locale.php]. [Continue]
Wordpress stores in the abbreviations of weekday names in weekday_abbrev weekday variable. It is a single dimensional array, indexed by the weekday name and is set in [wordpress root folder]/wp-includes/locale.php. [Continue]
Wordpress uses weekday global variable to access, exactly what it says, names of the weekdays. It is a one dimensional array set in the file [wordpress root folder]/wp-includes/locale.php. [Continue]
monthnum is a Wordpress query string variable that stores the two digit month number. It can be used to retrieve archive of posts posted in a certain month, even across years. When a particular post is being displayed, it contains the month when the post was published. [Continue]
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.p [Continue]
The global variable posts stores the results of a Wordpress query as a single dimensional array. It is set in the method register_globals() of class WP. Plugin and theme developers can use this global variable to access results of the query outside the loop. [Continue]
A Wordpress post can be forced to have a teaser by inserting the HTML markup <!-- more --> after the desired teaser in the post. Wordpress then splits this into the teaser and the main content. When an explicit excerpt for a post is not specified, this teaser is used as an excerpt. [Continue]
Wordpress sets is_winIE and is_macIE global variables to identify Microsoft Internet Explorer as part of browser detection in [wordpress root folder]/wp-includes/vars.php. They are set by looking for strings MSIE and Win or Mac in the HTTP_USER_AGENT server variable. [Continue]
max_num_pages represents the number of pages when any Wordpress archive is displayed. It is set using the posts_per_page global variable. It is calculated and set in the functions next_posts_link($label=’Next Page »’, $max_page = 0) and posts_nav_link($sep=’ — ‘, $prelabel=’« Previous Page’, $nxtlabel=’Next Page »’) defined in [wordpress root folder]/wp-includes/template-functions-links.p [Continue]
Wordpress allows configuration for setting the number of posts to be displayed whenever an index archive (the typical homepage) or other archives like category or monthly archives are displayed. This option can be configured in the Blog Pages field Reading tab under Options menu in the administration User Interface. Note that there is a separate field for configuration number of posts to be displayed for syndication (feeds). [Continue]
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.
Twitter - Trying out sakura terminal - http://www.pleyades.net/david/sakura.php