showing especial category of posts
-
HI all
in my wordpress theme (monaco) there is a slider that shows all pictures summery of main posts (main page).
how can I show info of especial category in slider?
the code for summery of the post is:<?php $count = of_get_option('w2f_slide_number'); $slidecat =of_get_option('w2f_slide_categories'); $query = new WP_Query( array( 'cat' =>$slidecat,'posts_per_page' =>$count ) ); if ($query->have_posts()) : while ($query->have_posts()) : $query->the_post(); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘showing especial category of posts’ is closed to new replies.