• Resolved rachellucie

    (@rachellucie)


    Hi there,

    I have just updated to the new 0.3.1 version of the theme, and am using a child theme for it.

    I have created a static page called ‘welcome!’ and a blog page called ‘blog’ and in settings/reading have set the front page to ‘welcome!’ and the post page to ‘blog’ as directed elsewhere here. However when this theme is installed, the blog page only shows one post. When changed to a default theme, there is the list of blog posts. I have been advised that this is therefore a theme issue.

    Can this be fixed, what is the fix?

    Thanks ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The home.php which is a template used for Blog Home page has this in it.

    <?php query_posts( array( 'post__not_in' => get_option( 'sticky_posts' ), 'paged' => get_query_var( 'paged' ) ) ); ?>

    So, any posts marked as sticky will not be shown in the main loop. Could it be that most of your posts had been marked as sticky from the usage of previously used theme ?

    Thread Starter rachellucie

    (@rachellucie)

    Hi paulwpxp,

    yes, thanks Paul, this solved it ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘When using static page, blog page not working’ is closed to new replies.