Please note, this is a STATIC archive of website www.themepunch.com from 28 Sep 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Add Slider to one of your site’s Pages

Contents

From the slider's main settings page, copy your slider's shortcode to your computer's clipboard.
slider-shortcode
And then paste the slider's shortcode into your page's main content area.
paste-shortcode
From the page's main content editor, select "Revolution Slider" icon.
quick-shortcode-creator
Then select a slider and choose "Add Selected Slider".
quick-shortcode-add-slider
From "WP Menu -> Appearance -> Widgets", you'll find "Revolution Slider" listed.
available-widgets
Then drag and drop the "Revolution Slider" box into one of your theme's "Widget Areas".
drag-drop-widget
Widget Options:
widget-options

1. Optional title to be displayed above the slider

2. Choose the actual Slider you wish to display

3. Choose to only display the slider on your homepage

4. Enter a set of page ID’s to only display the slider on a set of specific pages (page ID’s separated by commas).

The Shortcode and Widget methods will work fine for most themes, but depending on how your theme was built, you may need to add the slider directly to one of your theme’s php files.

  • Important Note:
    This method is for advanced users only, and you'll need to be comfortable editing a php file before you begin.
Below are all the possible ways the slider can be added via PHP (review code comments for information about each one)

In the following example, we’ll use the “homepage” example code from above with a slider’s “alias” name of “slider1”. You can get your slider’s “alias” name by visiting the main settings of your slider:

slider-alias

Next, decide where you want the slider to appear within your theme. Usually this will be somewhere inside your theme’s “page.php” file.

To edit this file, from the main WordPress menu, hover your mouse over the “Appearance” menu item and select “Editor”. Then select “page.php” from the files listed on the right side of the page.

Inside you’re theme’s “page.php” file, you should see something called The Loop:

the-loop

“The Loop” is where the page’s main content will get added to the page. So for this example, we’ll add the slider directly above the page’s main content (i.e. before “The Loop”).

add-slider-before-the-loop

Finally, because we passed in “homepage” as the second argument, even though the slider is now embedded into the “page.php” file directly, it will only appear on the homepage you’ve designated for your site.