[wp-trac] [WordPress Trac] #29831: Introduce is_blog_index() and is_homepage() to replace/deprecate is_home() and is_front_page()

WordPress Trac noreply at wordpress.org
Thu Oct 2 11:12:52 UTC 2014


#29831: Introduce is_blog_index() and is_homepage() to replace/deprecate is_home()
and is_front_page()
--------------------------------------+------------------------------
 Reporter:  ericlewis                 |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Query                     |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  2nd-opinion dev-feedback  |     Focuses:  template
--------------------------------------+------------------------------

Comment (by ericlewis):

 Replying to [comment:5 paulwilde]:
 > Worth also noting that I'm not a fan of is_blog_index() as it assumes
 the website is a blog.
 >
 > is_website_index() or is_site_index() would be less assuming.

 is_blog_index() would be a boolean whether you're on the blog posts
 archive page.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29831#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list