• My blog: http://www.udyr.com only showing 1 post on frontpage.
    i have now only 1 sticky post. but i tried having no stick posts and i still dont get more than 1 post on frontpage.
    i have display 10 posts on the Settings – REading

    When i log in i get to wiev 10 posts on frontpage but when logging out i only get 1.
    i have tried disabeling all plugins but it doesnt work either.
    this is how my index.php file looks like: i use fervens theme.

    <?php get_header(); ?>
    <!-- Start Con-->
    <div class="con">
    <!-- Start SL -->
    <div class="sc-all"><div class="sc">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    <!--Start Post-->
    <div class="post" style="margin-bottom: 5px;">
    
    <div class="p-head">
    <p class="p-date"><?php the_time('j. F Y') ?> - <?php the_time('H:i') ?></p>
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    <p><span class="p-who">Postet av: <?php the_author() ?></span>  <span class="kategori"> <?php the_category(',') ?></span> <span class="comment-edit"><?php edit_post_link('Edit'); ?></span></p>
    </div>
    
    <div class="p-con">
    <?php the_content('Les resten av denne posten &raquo;'); ?>
    </div>
    <div class="clearfix"></div>
    <div class="p-com">
    <?php comments_popup_link('Ingen kommentarer', '<strong>1</strong> kommentar', '<strong>%</strong> kommentarer'); ?>
    </div>
    
    <?php if (function_exists('the_tags')) { ?> <?php the_tags('<div class="p-tag">Tags: ', ', ', '</div>'); ?> <?php } ?>
    
    </div>
    <div class="clearfix"></div>
    <!--End Post-->
    <?php endwhile; ?>
    
    <?php endif; ?>
    
    <!-- Start Nav -->
    <?php posts_nav_link(); ?>
    <!-- End Nav -->
    </div></div>
    
    <div class="s1">
     <?php include(TEMPLATEPATH . '/sidebar-1.php'); ?>
    </div>
    <div class="s2">
     <?php include(TEMPLATEPATH . '/sidebar-2.php'); ?>
    </div>
    
    </div>
    <!-- End Con -->
    <?php get_footer(); ?>

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter leisegang

    (@leisegang)

    bump

    Thread Starter leisegang

    (@leisegang)

    anyone?

    Thread Starter leisegang

    (@leisegang)

    ?

    Thread Starter leisegang

    (@leisegang)

    bump again!

    Anyone?

    The first rule of this forum is “no bumping” so take care with this. I looked and saw five replies and assumed you were getting help already, so I didn’t check this post.

    Here are some possibilities.

    First, switch to a different Theme, like the Default Theme, and see if this still is a problem. If it is, then copy the WordPress Loop area of the code and replace it within your Theme where it matches. That will fix any code problems you are having with the Theme.

    If the switch still shows two posts on the front page, then go to your Settings and check to see how many posts are set to show on the front page of your blog. Change the number and save it. Does it change?

    Lastly, if these don’t work, are you using an Plugins that impact how your posts are displayed and where on your blog. If so, disable them or upgrade them.

    With the information you bring back if it doesn’t work, we might be able to help you more.

    Thread Starter leisegang

    (@leisegang)

    sorry about the bumping

    its on 10 on options reading. tried with 7. but that didnt work either

    i have tried with default theme with no plugins activated and it didnt do it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Blog only showing 1 post on frontpage’ is closed to new replies.