go41

Re: Won’t display posts on page 2 :: Reply by master

von Joern am 13. Jun. 2010 | Keine Kommentare

on top of your template you have

Code:

<?php get_header(); ?>

<!-- Featured news story area !-->

<?php if(!is_paged()) { ?>



means after the header is displayed only stuff will show if it’s NOT paged "if(!is_paged()"
The end of this "if(!is_paged()" condition is after here just after sidebar and before footer:

Code:

<?php get_sidebar(); ?>

<?php } ?>

<?php get_footer(); ?>

everything between <?php if(!is_paged()) { ?> and <?php } ?> will show only on first (unpaged) view.

move <?php } ?> up under "End of Featured news story area" to show what follows…
____________________
you find me on Google+, Twitter and Facebook

(von: master)

Hier noch 1 weitere Ergebnisse dieses Threads:

Won’t display posts on page 2

13. Jun. 2010 (von: adamwork)

Hi allI have this template page that I've setup, which shows a list of posts from a certain category. At the bottom of the page, I have a "next" link, which should show more posts. However, when you click on…

Autor:

Du findest mich auch auf Google+, Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


weitere forum Beiträge: