[wp-testers] Error with the_loop only displaying 2 posts

Ade Walker photofantaisie at gmail.com
Tue Dec 23 00:11:07 GMT 2008


Patrick,

This list is for testing/bug reports/feature issues with development
versions of Wordpress - not a support forum. You would be better off posting
this on the wordpress.org support forums.

Ade.

2008/12/23 Patrick Leisegang <leisegang at gmail.com>

> 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. or 2 posts.
> i have tried disabeling all plugins but it doesnt work either.
>
> when logged in as admin i get 10 posts on frontpage. all posts are
> "published" but readers can only see max 2.   on the "latest post" widget i
> only get 2 posts when not logged in.
>
> 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(); ?>
>
>
> hope you can help med with this
>
> --
> mvh
> Patrick Leisegang
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


More information about the wp-testers mailing list