Make the meaning of is_home() more explicit.
git-svn-id: https://develop.svn.wordpress.org/trunk@12516 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
dcd3604d90
commit
1955a840a1
@ -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
Block a user