In this tutorial, i’ll show you what i consider to be the best way to add the fastest loading full width slider to your home page.
This is the fastest loading slider plugin i have tested and doesn’t require any custom coding to make it mobile responsive.
Simply paste this code at the end of your child themes functions.php file using Notepad++.
You may need to replace home-page in the code above to the ID or slug of your slider.
The above slider is installed in the Minimum Pro child theme by StudioPress.
Add On Front Page Only
Use this code if you only want to display the full width slider on the front page of your website.
Blog Page Template Only ( Posts Page )
If you want to display your slider before your posts page which uses the blog page template, change the conditional tag from is_front_page()
to genesis_is_blog_template()
like this :
Was This Tutorial Helpful?