Title: steezY's Replies | WordPress.org

---

# steezY

  [  ](https://wordpress.org/support/users/steezy/)

 *   [Profile](https://wordpress.org/support/users/steezy/)
 *   [Topics Started](https://wordpress.org/support/users/steezy/topics/)
 *   [Replies Created](https://wordpress.org/support/users/steezy/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/steezy/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/steezy/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/steezy/engagements/)
 *   [Favorites](https://wordpress.org/support/users/steezy/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [How to do this??????](https://wordpress.org/support/topic/how-to-do-this-6/)
 *  [steezY](https://wordpress.org/support/users/steezy/)
 * (@steezy)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/how-to-do-this-6/#post-914660)
 * Use `<?php the_title();?>` rather than `<?php the_content();?>`
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Listing post titles?](https://wordpress.org/support/topic/listing-post-titles-2/)
 *  Thread Starter [steezY](https://wordpress.org/support/users/steezy/)
 * (@steezy)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/listing-post-titles-2/#post-914653)
 * I did a little more searching around and managed to answer my own question. Here’s
   the code you need, just in case anyone else is trying to do the same thing that
   I am:
 *     ```
       <ul>
       	<?php global $post;$myposts = get_posts('numberposts=10&offset=5');foreach($myposts as $post) :?>
       	<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
       	<?php endforeach; ?>
       </ul>
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)