Home Forums Pro Themes Education Hub Pro Adding a Video Slider

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #73815
    Michael Molter

    Hello, I am looking to add a video slider made from the Slider Hero plugin in the same position as the Featured Slider that came with the template (disabling the featured slider of course). Slider Hero generates a line of PHP that executes a shortcode to display the slider, if placed in the proper position within the theme’s code. The generated code is <?php echo do_shortcode(“[qcld_hero id=4]”); ?>

    The closest I’ve been able to come after much effort is to have it appear beneath the header, but above the primary menu, and I’m looking to get it below the primary menu and above the Featured Content.

    Do you have a solution that can help me?


    Hello @mcmolter,

    First of all thank you very much for using the Education hub pro theme.

    Now to display the slider from the hero slider plugin you have to activate the child theme.

    To create the child theme you can follow below given links:


    After activating the child theme, in your child theme functions.php file add below given code.

    function education_hub_pro_child_display_slider(){
    	echo do_shortcode('YOUR SHORTCODE');

    Here replace the text “YOUR SHORTCODE” with your shortcode.

    PS: Also, we would like to inform you that since we have not tested the theme with the plugin you have mentioned so we are quite sure whether it displays the slider with the proper layout or not.

    Hope this helps.

    Best Regards!!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.