Forums
(@eleis)
15 years, 6 months ago
Thanks esmi!
<ul> <?php global $post; $myposts = get_posts('numberposts=5&offset=1&category=1'); foreach($myposts as $post) : ?> <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li> <?php endforeach; ?> </ul>
edit: was unhelpful post
so how would the second loop look if i were to write it separately?
iridiax, i said that stuff was inside The Loop. i also thought it was weird that it wasn’t DESC like in SQL
despite everything, no one has even touched my question