• Hi there,

    I like this theme very much.
    I’ve been trying to add one more slider in the options.php, but the website displays only three (I run the website local).

    I add this in options.php:

    $options[] = array(
    		'name' => __('Slide Image 01', 'innovationlite'),
    		'desc' => __('Upload or Input the Slide Image URL Here. Recommended Size: 2300px X 700px', 'innovationlite'),
    		'id' => 'slide-back1',
    		'std' => get_template_directory_uri() . 'default image link from theme',
    		'type' => 'upload');
    
    	$options[] = array(
    		'name' => __('Slide Image 02', 'innovationlite'),
    		'desc' => __('Upload or Input the Slide Image URL Here. Recommended Size: 2300px X 700px', 'innovationlite'),
    		'id' => 'slide-back2',
    		'std' => get_template_directory_uri() . 'default image link from theme',
    		'type' => 'upload');
    
    	$options[] = array(
    		'name' => __('Slide Image 03', 'innovationlite'),
    		'desc' => __('Upload or Input the Slide Image URL Here. Recommended Size: 2300px X 700px', 'innovationlite'),
    		'id' => 'slide-back3',
    		'std' => get_template_directory_uri() . 'default image link from theme',
    		'type' => 'upload');
    
    <strong>ADDED-></strong>$options[] = array(
    		'name' => __('Slide Image 04', 'innovationlite'),
    		'desc' => __('Upload or Input the Slide Image URL Here. Recommended Size: 2300px X 700px', 'innovationlite'),
    		'id' => 'slide-back4',
    		'std' => get_template_directory_uri() . 'default image link from theme',
    		'type' => 'upload');

    Is there something else that I need to adjust from the theme?

    Can you help me please?? ??

    Thanks in advance!

    Sincerly,
    Bas

Viewing 1 replies (of 1 total)
  • You might change in front-page.php:

    <!— ============ MAIN SLIDE =========== ————>
    <div class=”flexslider main-slider” >
    <ul class=”slides”>

    <?php foreach (range(1, 4) as $opsinumber) { ?>

Viewing 1 replies (of 1 total)
  • The topic ‘1 more slider to add’ is closed to new replies.