WordPress.org

Support

Support » Themes and Templates » Static front page not working

Static front page not working

  • Hello,

    my static frontpage is not working (when in reading set static front a different one)

    in twentyeleven it is working fine. So it is a mistake in my theme. But I have no idea. Thats why I ask you guys. This is my code:

    <div id="content">
    
        <?php if(have_posts()) : ?>
         <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    	   query_posts("paged=$paged"); ?>
            <?php while(have_posts()) : the_post(); ?>
    
                <div id="post-<?php the_ID(); ?>" <?php post_class('post-single'); ?>>

    thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Static front page not working’ is closed to new replies.
Skip to toolbar