SHARE
TWEET

Untitled

a guest Mar 31st, 2011 148 Never
  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(); ?>
RAW Paste Data
Top