[wp-trac] [WordPress Trac] #15873: No results returned on post-format archive pages

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 17 22:41:28 UTC 2010


#15873: No results returned on post-format archive pages
--------------------------+-----------------------------
 Reporter:  mfields       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Query         |    Version:  3.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 Hi. I cannot seem to get the post format archive pages to work at all on
 my site. I'm currently running 3.1-beta2-16936 at
 http://wordpress.mfields.org/. I have set up 3 formats via functions.php
 using the following code:

 add_theme_support( 'post-formats', array( 'status', 'image', 'gallery' )
 );

 I have one post given a format of 'status':
 http://wordpress.mfields.org/2010/deep-breath/

 The output of <?php get_post_format_link( 'status' ); ?> is
 http://wordpress.mfields.org/type/status/ but when I visit this link no
 posts are returned from the query.

 I have also tried http://wordpress.mfields.org/?post_format=status which I
 believe should work. WordPress will rewrite the url, but no posts are
 returned from the query. Here is a dump of $wp_query for the post-format
 archive: http://wordpress.pastebin.com/ubjndPiZ

 My theme is very basic. Nowhere d0 I use query_posts or anyother query
 functions outside of the WordPress loop. My only template file is
 index.php. the code can be viewed here
 http://wordpress.pastebin.com/VGDKMuq4

 Please let me know if you need more information and I'll do my best to
 provide it.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15873>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list