• Can anyone tell me how to change the order of images on the home image slider. I am a total novice and don’t have the images myself they are with the web designer who isn’t answering my emails at present and I want the first image to be the rock paper scissors and the third image to be the UK Backward Run. Can I make the changes to this code below myself to rearrange the order.

    thanks

    ?></div>
        				<?php endif; ?>
    
        				<?php if( !empty($link1) ) : ?>
        				    <a>"><img src="<?php echo $image1; ?>" alt="" /></a>
        				<?php else : ?>
        				    <img src="<?php echo $image1; ?>" alt="" />
        				<?php endif; ?>
    
    				</div>
    
    				<?php endif; // end slide 1 ?>
    
    				<?php if( !empty($image2) ) : // begin slide 2 ?>
    
    				<div class="slide">
    
        				<?php if( !empty($desc2) ) : ?>
        				<div class="slider-desc"><?php echo stripslashes(htmlspecialchars_decode(nl2br($desc2))); ?></div>
        				<?php endif; ?>
    
        				<?php if( !empty($link2) ) : ?>
        				    <a>"><img src="<?php echo $image2; ?>" alt="" /></a>
    				    <?php else : ?>
    				        <img src="<?php echo $image2; ?>" alt="" />
        				<?php endif; ?>
    
    				</div>
    
    				<?php endif; // end slide 2 ?>
    
    				<?php if( !empty($image3) ) : // begin slide 3 ?>
    
        				<div class="slide">
    
            				<?php if( !empty($desc3) ) : ?>
            				<div class="slider-desc"><?php echo stripslashes(htmlspecialchars_decode(nl2br($desc3))); ?></div>
            				<?php endif; ?>
    
            				<?php if( !empty($link3) ) : ?>
            				    <a>"><img src="<?php echo $image3; ?>" alt="" /></a>
        				    <?php else : ?>
            				    <img src="<?php echo $image3; ?>" alt="" />
            				<?php endif; ?>
    
        				</div>
    
        			<?php endif; // end slide 3 ?>
    
        			<?php if( !empty($image4) ) : // begin slide 4 ?>
    
        				<div class="slide">
    
            				<?php if( !empty($desc4) ) : ?>
            				<div class="slider-desc"><?php echo stripslashes(htmlspecialchars_decode(nl2br($desc4))); ?></div>
            				<?php endif; ?>
    
            				<?php if( !empty($link4) ) : ?>
            				    <a>"><img src="<?php echo $image4; ?>" alt="" /></a>
        				    <?php else : ?>
        				        <img src="<?php echo $image4; ?>" alt="" />
            				<?php endif; ?>
    
        				</div>
    
        			<?php endif; // end slide 4 ?>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still – use the pastebin. As it stands, your code may now have been permanently dmaged/corrupted by the forum’s parser.]

  • The topic ‘Changing order on Home Image Slider’ is closed to new replies.