WordPress Theme Development


WordPress Links


Research & Documentation


R&D 02: WordPress Code Reference


About the WordPress Code Reference

The WordPress Code Reference is a WordPress resource with the intended purpose of serving as a sort of encyclopedia with respect to code concepts specific to WordPress. These concepts include PHP functions, hooks, and various other pieces of code. Hooks are preset variables defined by WordPress.


About the the_date() Function

This function is used by developers to display the date that a post was posted. This function is intended to retrieve the date of the post, not to modify the date of the post.


Parameters of the the_date() Function

The parameters are $format, $before, $after, and $display. The parameter $format is the PHP date format. The parameter $before is the text to appended to the beginning of the date. The parameter $after is the text to appended to the end of the date. The parameter $display indicates whether the date should be echoed or returned.


Grand Summary

This page contains general information about the WordPress Code Reference; this page also contains specific information about the the_date() function and its parameters.