Recent Posts
Python | 2 sec ago
Perl | 9 sec ago
None | 28 sec ago
CSS | 49 sec ago
None | 1 min ago
None | 1 min ago
None | 1 min ago
None | 1 min ago
None | 1 min ago
None | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Christopher Clarke on the 29th of Aug 2009 03:56:07 PM Download | Raw | Embed | Report
  1. <?php
  2.  global $post;
  3.  $myposts = get_posts('numberposts=-1&category=5&order=ASC&orderby=ID');
  4.  foreach($myposts as $post) :
  5.  ?>
  6.     <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a><br />
  7.  <?php endforeach; ?></p>
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: