Theme Support Forum

Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums

Viewing 2 posts - 1 through 2 (of 2 total)

How to have featured image of new articles automatically go up onto slider?

Home Forums Free Theme Support Scylla Lite How to have featured image of new articles automatically go up onto slider?

  • #82663

    Chris Harders

    Is there a way for the featured image of every new article I post to become a new slide and the oldest slide to be removed?

    #82690

    Towfiq I.

    administrator

    Open up easyslider.php and replace this line:

    <?php $loop = new WP_Query( array( 'post_type' => 'slider', 'posts_per_page' => $option['scl_num_sld'] ) ); ?>

    with this:

    <?php $loop = new WP_Query( array( 'post_type' => 'post', 'posts_per_page' => $option['scl_num_sld'] ) ); ?>

    Now, your newly created posts will be automatically added in the slider.

Reply To: How to have featured image of new articles automatically go up onto slider?