pepelsbey
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Installing WordPress
In reply to: 2.8 upgraded, but not upgradedSame troubles:
http://ww.wp.xz.cn/support/topic/278814?replies=3
advice “redo steps 7 and 8” doesn’t help.
Forum: Installing WordPress
In reply to: 2.8 doesn’t recognize that it’s installedSame troubles: http://ww.wp.xz.cn/support/topic/278911?replies=2
Forum: Themes and Templates
In reply to: Last Post in The LoopWhat if numbers of post smaller than $posts_per_page?
How can i get the last post?Forum: Fixing WordPress
In reply to: Last comment of a categoryLooks like it’s the solution. For me, at least:
<?php while (have_posts()) : the_post(); ?> <div class="entry<?php echo ($post == $posts[count($posts)-1]) ? ' last' : '' ?>"> <?php the_content(); ?> </div> <?php endwhile; ?>Forum: Fixing WordPress
In reply to: Last comment of a categoryI have the same problem width while() in index.php
<?php while (have_posts()) : the_post(); ?> <div class="entry"> <?php the_content(); ?> </div> <?php endwhile; ?>…how can i mark last entry within this while()?
<div class="entry">…</div> <div class="entry">…</div> <div class="entry last">…</div>I can’t believe that it’s the only solution
Viewing 5 replies - 1 through 5 (of 5 total)