Limit Slider Pages in Minimatica

Viewing 5 posts - 1 through 5 (of 5 total)
  • #7833
    nmwrio
    Participant

    Does anyone know how to limit the number of slider pages. I only want one with four or five posts. I have read that it’s something that needs to be changed in the loop-slider code but not certain what needs to be changed.

    #7883
    nmwrio
    Participant

    My website is http://www.cubolivre.com. In addition to the slider question, I have encountered a problem in the archives, a grey and white box over the post picture that I can’t seem to get rid of . Toyed around with the folded section in the stylesheet but no luck.

    #10560
    Daniel Tara
    Keymaster

    You can delete the navigation links in loop-slider.php, I’m not aware of any other way.

    #10641
    nmwrio
    Participant

    Is there a particular section I need to remove? Many thanks Daniel, great theme.

    #10655
    Daniel Tara
    Keymaster

    This piece of code:

    <?php if ( $wp_query->max_num_pages > 1 ) : ?>
    	<div id="nav-slider">
    		<div class="nav-previous"><?php next_posts_link( '' ); ?></div>
    		<div class="nav-next"><?php previous_posts_link( '' ); ?></div>
    	</div><!-- #nav-above -->
    <?php endif; ?>
    • This reply was modified 11 years, 8 months ago by Daniel Tara.
    • This reply was modified 11 years, 8 months ago by Daniel Tara.
    • This reply was modified 11 years, 8 months ago by Daniel Tara.
Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.