fabiorino / crelly-slider

A free responsive slider for WordPress that supports layers. Add texts, images, videos and beautify them with transitions and animations.
MIT License
104 stars 36 forks source link

frontend.php - getCrellySlider($alias) #46

Closed mathieu2011 closed 7 years ago

mathieu2011 commented 7 years ago

Hi there,

i was wondering: shouldn't the getCrellySlider($alias) function actually return the output? Since the $echo parameter in output() is false, the function doesn't really serve any purpose otherwise as far as i can see.

So my suggestion would be to change the function to function getCrellySlider($alias) { return CrellySliderFrontend::output($alias, false); }

fabiorino commented 7 years ago

You're definitively right! I'll fix it this afternoon