• Ryan

    (@onesoftindiana)


    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)
  • just try to find a number value same as the limit of posts allowed for slider. Don’t know which slider are you using but there will be a value passed in arguements like “showpost=(number)”. look for that and try to change.

    Thread Starter Ryan

    (@onesoftindiana)

    There’s nothing like that available. As said by the theme aythor, I need to buy premium version of the theme for that to implement, but I know it can be done with some adjustments in code. thanks anyways.

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.