[How to] Use more than allowed posts in homepage slider
-
The wordpress themes I’m using provides only for a limited number of posts on homepage slider. I want to increase the current number of posts allowed from 2 to 4 or more. What changes should I make in the theme and where ?
<?php get_header(); wp_enqueue_script( 'slider-main', get_template_directory_uri() . '/js/slider.js' ); ?> <div id="slider"> <div id="slideshow"><ul class="bjqs"> <?php $sbargs = smallbusiness_ppp(); query_posts( $sbargs ); if (have_posts()) : while (have_posts()) : the_post();?></div>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[How to] Use more than allowed posts in homepage slider’ is closed to new replies.