Support » Fixing WordPress » If Page & List of Responses

  • Hi All,

    I am using the following to display a slider:

    <?php
    		if ( is_page(80) ) {
    	?>
        <?php putRevSlider("slider80") ?>
        <?
    		} else {
    		}
    	?>

    Basically if the page is 80, it’ll show the slider called slider80.

    If I had a list of pages e.g. 80,90,100 and a list of sliders e.g. slider80, slider90, slider100

    Is there a clever way I can write my if statement to show the right slider on the relevant page?

    Thanks
    dvent

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘If Page & List of Responses’ is closed to new replies.