How to Embed Crelly Slider in your WordPress Template

In the last article we described about the features of Crelly Slider. As we already know Crelly is the best responsive wordpress slider plugin with layer animation and transition. It also supports touch, swipe and drag features. Let’s see how to embed crelly slider in your wordpress template.

Also read:

Steps to Embed Crelly Slider in WordPress Theme

  1. Navigate to Crelly Slider menu
  2. Create a new slider by clicking on “Add Slider” button
  3. Specify the slider name “homepage_slider” and create your slider with images and text
  4. You will get “Alias” and “Shortcode” as soon you save the slider on the “Slider Settings” page
  5. Now go to “Appearance >> Editor” and then click on Homepage Template (home.php) or open any file you want to incorporate the crelly slider
  6. Paste the following PHP code where you want to embed the crelly slider [php] <?php if(function_exists("crellySlider")) crellySlider("homepage_slider"); ?>

That’s it, your page initiates the crelly slider. There is another method to add Crelly slider to your wordpress with do_shortcode function-

[php] <?php echo do_shortcode("[crellyslider alias=’homepage_slider’]"); ?>

Article by Shrinivas Naik

Hi, This is Shrinivas I am a web developer and WordPress enthusiast. I am also a hobby blogger who loves to write about WordPress, web tools, blogging and technology.

3 comments on “How to Embed Crelly Slider in your WordPress Template
  1. Thank you , the slider is showing in 2017 theme of wordpress but in my own custom theme. do i need some addition function to do so… pls let me know asap.

Leave a Reply