WordPress.org

Ready to get started?Download WordPress

Forums

Leaf
More Images in Slider (2 posts)

  1. itvt
    Member
    Posted 1 year ago #

    Thanks for the awesome free theme!

    I can't find anything saying the slideshow is limited to no more than 5 images at a time, but that is what I'm getting. Is this normal? How can I get more images in slideshow?

    Thanks!

  2. seberes
    Member
    Posted 1 year ago #

    Hi,

    I had the same question and I found the answer...

    You need to go to the "editor" section of your board. Then, click on the "home.php" file on the right, and look for this lines :

    "<?php
    if ( ! isset( $options['leaf_slider_cat']) || $options['leaf_slider_cat'] == -1 ) {
    $args = ( array( 'posts_per_page' => 5, 'post__not_in' => get_option( 'sticky_posts' ) ) );
    } else {
    $args = ( array( 'posts_per_page' => 5, 'category__in' => $options['leaf_slider_cat'], 'post__not_in' => get_option( 'sticky_posts' ) ) );
    }
    ?> "

    You need to change the two numbers "5", with the number of slides that you want.

    Hope it will help,

    Good-luck !

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.