Digitalraindrops

Artisteer Alphabetical Home Page V2.4

Sep 16th, 2010
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.52 KB | None | 0 0
  1. <?php
  2. get_header();
  3.  
  4. // we add this, to show all posts in our
  5. // Glossary sorted alphabetically
  6. $posts = query_posts($query_string . '&orderby=title&order=asc&posts_per_page=-1');
  7.  
  8.  
  9.  if (have_posts())
  10.  {
  11.     while (have_posts())  
  12.     {
  13.       art_post();
  14.     }
  15.     art_page_navi();
  16.  } else {    
  17.     art_post_box(
  18.         __('Not Found', 'kubrick'),
  19.         '<p class="center">' .  __('Sorry, but you are looking for something that isn&#8217;t here.', 'kubrick') . '</p>'
  20.         .  "\r\n" . art_get_search());
  21.  }
  22.  
  23. get_footer();
Advertisement
Add Comment
Please, Sign In to add comment