Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 31st, 2011  |  syntax: PHP  |  size: 0.51 KB  |  views: 126  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php get_header(); ?>
  2.  
  3. <?php
  4. $wp_query->set('orderby', 'menu_order');
  5. $wp_query->set('order', 'ASC');
  6. $wp_query->get_posts();
  7. ?>
  8. <?php get_posts("orderby=menu_order&order=ASC"); ?>
  9.  
  10. <?php if (have_posts()) : ?>
  11. <h2><?php single_cat_title(); ?></h2>
  12. <ol>
  13. <?php while (have_posts()) : the_post(); ?>
  14. <li>
  15. <?php the_content(); ?>
  16. <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link">
  17. <?php the_title(); ?></a></li>
  18. <?php endwhile; ?>
  19. </ol>
  20. <?php endif; ?>
  21.  
  22. <?php get_footer(); ?>