Blog only showing 1 post on frontpage
-
My blog: https://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 – REadingWhen 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 »'); ?> </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)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Blog only showing 1 post on frontpage’ is closed to new replies.