Digitalraindrops

Artisteer 2.5 Index.php with WP Pagenavi

Sep 18th, 2010
309
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.  if (have_posts())
  5.  {
  6.     while (have_posts())  
  7.     {
  8.       art_post();
  9.     }
  10.     /* Start add page navigation to index page */
  11.     if(function_exists('wp_pagenavi') ) {
  12.         wp_pagenavi();
  13.     } else {
  14.     art_page_navi();
  15.     }
  16.     /* End add page navigation to index page */
  17.  } else {    
  18.     art_post_box(
  19.         __('Not Found', 'kubrick'),
  20.         '<p class="center">' .  __('Sorry, but you are looking for something that isn&#8217;t here.', 'kubrick') . '</p>'
  21.         .  "\r\n" . art_get_search());
  22.  }
  23.  
  24. get_footer();
Add Comment
Please, Sign In to add comment