Slider Revolution WP
09.27.2016
Inside WordPress, select “Appearance -> Editor” from the main menu. Then inside your theme’s “page.php” file, paste one of the examples below where you want the slider to appear on your page.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
<!-- Load the slider with "slider1" alias every time --> <?php putRevSlider("slider1") ?> <!-- Load the slider with "slider1" alias only on the homepage only --> <?php putRevSlider("slider1", "homepage") ?> <!-- Load the slider with "slider1" alias only on a specific page with default permalinks --> <?php putRevSlider("slider1", "2") ?> <!-- Load the slider with "slider1" alias only on a range of pages --> <?php putRevSlider("slider1", "2, 3") ?> <!-- Load the slider with "slider1" alias only on a specific page with permalinks set to "Post Name" --> <?php putRevSlider("slider1", "page_slug") ?> <!-- Load the slider with "slider1" alias on a range of pages --> <?php putRevSlider("slider1", "page_slug, another_page") ?> |