[wp-trac] [WordPress Trac] #14355: is_front_page returns fasle - if used before the loop starts
WordPress Trac
wp-trac at lists.automattic.com
Tue Jul 20 16:20:21 UTC 2010
#14355: is_front_page returns fasle - if used before the loop starts
-----------------------------+----------------------------------------------
Reporter: christian_gnoth | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.0
Severity: normal | Keywords: reporter-feedback
-----------------------------+----------------------------------------------
Comment(by christian_gnoth):
sorry, it was written wrong - it returns outside true and inside false.
and I am using query_posts.
Problem is, that I am showing on my front page an excerpt and I have a
customized excerpt function - in that customized excerpt function I am
testing if it is front page or not and return different content. (http
://wp-theme-t1.it-gnoth.de)
if query posts is teh reason - it should be possible to show different
posts on the front page and still the function returns true.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14355#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list