Make the meaning of is_home() more explicit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
cedfa0181b
commit
0aaf0d83af
|
@ -332,6 +332,10 @@ function is_front_page () {
|
|||
|
||||
/**
|
||||
* Whether current page view is the blog homepage.
|
||||
*
|
||||
* This is the page which is showing the time based blog content of your site
|
||||
* so if you set a static page for the front page of your site then this will
|
||||
* only be true on the page which you set as the "Posts page" in Reading Settings.
|
||||
*
|
||||
* @since 1.5.0
|
||||
* @uses $wp_query
|
||||
|
|
Loading…
Reference in New Issue