The Worlds Most Powerful
WordPress Builder

If you Purchased & Registered a Slider Revolution License you can comfortably upgrade version 5.x to 6.0 from your WordPress Dashboard.

Why Activate Slider Revolution?

Activating Slider Revolution with your Personal Purchase Code will unlock all available Features.

Easy Live Updates
Personal License Key
200+ Template Library
1000+ Object Library
25+ Amazing Add-Ons
1on1 Ticket Support

*Regular License from $29. One License Key required per Domain.

Slider Revolution 6.0 NOW available!

Alternative to the depricated method "getAllSliderAliases"

Before Slider Revolution V6 you as a theme author could get a list of available Slider aliases with something similar to the following code:

$slider = new RevSlider();
$arrSliders = $slider->getAllSliderAliases();

From Slider Revolution V6 the method "getAllSliderAliases" is not available anymore. It is replaced by a more general one called "get_sliders". It will return an object with multiple informations about the sliders. You can call it like this:

$slider = new RevSlider();
$objSliders = $slider->get_sliders();

See everything the method returns with a simple:

var_dump($objSliders);

Here is an example of how to walk through the entries to fill the options of a selectbox with aliases and titles:

foreach( $objSliders as $slider ){ ?>
<option value="<?php echo $slider->alias; ?>"
<?php if( isset( $params['alias'] ) ) selected( $params['alias'], $slider->alias, true )?>>
<?php echo $slider->title; ?>
</option>
<?php }

Popular Solutions