WordPress.org

Support

Support » Plugins and Hacks » Header Image Slider » [Resolved] [Plugin: Header Image Slider] Order of Images

[Resolved] [Plugin: Header Image Slider] Order of Images

  • I have searched around the support area and suprised no one else has asked this. Useing the Header Image Slider, how do you change the order of the pictures? The only way I can find is to either 1 go rename the pictures so they are in an order, or 2 delete them and upload them one by one in the order I would like to view them. THanks for any help

    http://wordpress.org/extend/plugins/header-image-slider/

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 ‘[Resolved] [Plugin: Header Image Slider] Order of Images’ is closed to new replies.
Skip to toolbar