Monday, 26 August 2013

All blog posts are not showing up

All blog posts are not showing up

This post may already exists but I just missed it in how I searched for
it. Here goes. I have recently changed my blog back to the Genesis
Framework. I am using the Nameless child theme.
These are my issues:
The only way the front page shows up correctly is for me to select "Show
latest posts" in the Settings---->Reading section
Only my posts are showing up and not those of the other authors. I created
a page called "Blog" and entered the code below, but it still only shows
my posts.
My template file:
<?php
/*
Template Name: Blog
*/
get_header();
$args = array(
'post_type' => 'any', #all post types
'posts_per_page' => 10 #get 10 posts
);
$query = new WP_Query( $args );
if($query->have_posts()):
while($query->have_posts()):
$query->the_post();
the_title(); #display the title
endwhile;
endif;
get_footer();
In the author box I see where different authors can be chosen by the post,
but I need all posts by all authors showing up in the listing. Any help
would be greatly appreciated.
Here is a link to my site, if that helps: http://fullfigureplus.com

No comments:

Post a Comment