Add Slider to one of your site’s Pages


This version We are not support shortcode elements
From the block page's manage, select your slider from list slider.
And then the selected slider's block will be added to the page.

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:

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 Drupal menu, hover your mouse over the “structure” menu item and select “block list”. Add new block with slider element


“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”).


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.

Get the #1 Slider Plugin for Drupal Modules Today!