#10158 closed enhancement (wontfix)
Deprecate is_home() and is_single(), in favor of is_blog() and is_post()
| Reported by: | Denis-de-Bernardy | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Query | Version: | |
| Severity: | normal | Keywords: | dev-feedback |
| Cc: | Focuses: | template |
Description
Thoughts?
Change History (8)
#2
@
17 years ago
Just thought I'd add my vote for replacing is_home with is_blog. I personally think that is_single is more descriptive than is_post.
#6
@
14 years ago
Regardless of the name of the is_home() function, I am proposing adding an additional conditional tag called is_blog_page() to return true if any of the blog-related pages are currently being viewed. The name of that function could change to match any changes to the name or implementation of is_home().
I've submitted a patch with ticket #21620.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
see also #6801