[wp-trac] [WordPress Trac] #14779: File paged.php in theme seems will never be loaded
WordPress Trac
wp-trac at lists.automattic.com
Sat Sep 4 03:23:50 UTC 2010
#14779: File paged.php in theme seems will never be loaded
--------------------------+-------------------------------------------------
Reporter: nazieb | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Template | Version: 3.0.1
Severity: normal | Keywords: theme
--------------------------+-------------------------------------------------
There is a function 'get_paged_template' which will load paged.php in the
theme if 'is_paged' conditional tag is true.
But when I create paged.php for my paged posts, it seems that the file is
not loaded. The blog always load index.php instead.
My guess is in WP Query class, when a paged posts is called, the $is_home
variable is still set to be true. So when the template loader executed,
Wordpress will always load index.php
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14779>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list