Loop issues w/nav link
-
Hello,
I want to make something that looks quite simple, but can’t get it to work.
On my homepage I want to display 2 featured posts, which I get by get_posts() from a category and the other remainig posts to show under this. But I only want to show 10 posts, and to see the others, to click on “view older posts”.
When I click on the nav button it won’t show the post, just reloads the page. What code should I use to show correctly the older posts?Should I use something like:
If (older posts) {
show posts with this style } else {
show posts front page style }
??Thanks,
- The topic ‘Loop issues w/nav link’ is closed to new replies.