Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author shazdeh

    (@shazdeh)

    I rewriting the whole thing from the ground up to make it more flexible, and support more sliders. I’ll add this feature too.
    Thanks for your suggestion!

    You can change order of the images by changing those lines (73-76):

    foreach( $slides as $slide ) {
    		$nivo_slides .= "<a href='".$link_urls[$i]."'><img src='{$slide}' alt='bmx' /></a>";
    		$i++;
    	}

    to that:

    foreach( $slides as $slide ) {
    		$tmp67 = "<a href='".$link_urls[$i]."'><img src='{$slide}' alt='bmx' /></a>".$nivo_slides;
    		$nivo_slides = $tmp67;
    		$i++;
    	}

    in function boom_build_nivo_slider() in file:
    wp-content/plugins/header-image-slider/general-template.php

    sager I tried that and it corrupted my site and have me a 502 Bad Gateway error. I was only able to fix it by deleting the header-image-slider plugin folder in my cPanel File Manager and reinstalling it. Is there any other way to change the image order without corrupting a site?

    I also tried removing the $i++; at the end and the website wasn’t corrupted, but it had no effect on the header or the header settings page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Header Image Slider] Order of Images’ is closed to new replies.