[wp-trac] Re: [WordPress Trac] #7533: is_page() Returns false
Always In Search Results
WordPress Trac
wp-trac at lists.automattic.com
Sun Aug 17 12:21:11 GMT 2008
#7533: is_page() Returns false Always In Search Results
---------------------------+------------------------------------------------
Reporter: GamerZ | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.6.2
Component: Template | Version: 2.6.1
Severity: trivial | Resolution:
Keywords: is_home, home |
---------------------------+------------------------------------------------
Comment (by DD32):
technically, Its not a "page" either really.. Hostorically its closer to
posts rather than pages.
there's another conditional, is_search() i believe which can be used for
those situations.
(When i think of a "page" i think of a User defined page, When i think of
a "post" i think of a Single view, When i think of a "search" i'm thinking
of the Search page & search template)
--
Ticket URL: <http://trac.wordpress.org/ticket/7533#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list