Timeline for How to show more than 5 posts?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 25, 2014 at 17:18 | comment | added | Jon | I got it working thanks, and I prefer this code than to echo the whole html method. But I had to remove the if function as it did not work with it. And you had added a <ul> which I had outside the code. I had been using endif & endwhile but I guess it is not needed here. | |
Feb 25, 2014 at 16:51 | comment | added | tfrommen |
You're right, I forgot one <?php tag. The rest, however, is fine. What do you mean by No close of the if or while? For each there is a code block built by { ... } . And BTW, you should use wp_reset_postdata no matter with which solution you end up.
|
|
Feb 25, 2014 at 16:50 | history | edited | tfrommen | CC BY-SA 3.0 |
added 10 characters in body
|
Feb 25, 2014 at 16:49 | comment | added | Jon | Looks good, and ready made is far easier to understand & implement! But I think there are some issues with the code? No close of the if or while? The 2nd last ?> was not opened? | |
Feb 25, 2014 at 15:24 | history | edited | tfrommen | CC BY-SA 3.0 |
added 7 characters in body
|
Feb 25, 2014 at 15:19 | history | answered | tfrommen | CC BY-SA 3.0 |