SHARE
TWEET

category for slider

shelob9 Feb 2nd, 2013 36 Never
  1.         <?php
  2.         $cat = get_option('winterfell_theme_options');
  3.         $cat['slide-cat'];
  4.        
  5.         $categoryvariable = $cat;
  6.         $args = 'cat=' . $categoryvariable . '&orderby=date&order=ASC';
  7.        
  8.         query_posts( $args );
  9.         if(have_posts()) :
  10.             while(have_posts()) : the_post();
  11.         ?>
RAW Paste Data
Top