Skip to content

Instantly share code, notes, and snippets.

@billrobbins
Created January 6, 2012 20:28
Show Gist options
  • Select an option

  • Save billrobbins/1572261 to your computer and use it in GitHub Desktop.

Select an option

Save billrobbins/1572261 to your computer and use it in GitHub Desktop.
Add five slides to Foxy custom js page
<?php if(of_get_option('slide5', $single = true) != ""){ ?>
,{image : '<?php echo of_get_option('slide5'); ?>'}
<?php } ?>
<?php if(of_get_option('slide6', $single = true) != ""){ ?>
,{image : '<?php echo of_get_option('slide6'); ?>'}
<?php } ?>
<?php if(of_get_option('slide7', $single = true) != ""){ ?>
,{image : '<?php echo of_get_option('slide7'); ?>'}
<?php } ?>
<?php if(of_get_option('slide8', $single = true) != ""){ ?>
,{image : '<?php echo of_get_option('slide8'); ?>'}
<?php } ?>
<?php if(of_get_option('slide9', $single = true) != ""){ ?>
,{image : '<?php echo of_get_option('slide9'); ?>'}
<?php } ?>
<?php if(of_get_option('slide10', $single = true) != ""){ ?>
,{image : '<?php echo of_get_option('slide10'); ?>'}
<?php } ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment