- This topic has 3 replies, 1 voice, and was last updated 2 months, 2 weeks ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
How to make my slider appear only on my homepage? I removed the header image of my theme from the header.php file and added a slideshow made by smart slider 3 . How to stop showing it in all pages? I want the slider only in my home page. thanks a lot. i am using a theme named ‘jetblack’
Look up is_front_page(); . You just need to toss a conditional around that template part so it only shows up on the home page. That is of course if your home page is set to a static page in settings. Otherwise you will need to use is_home();
Why are you not running the shortcode at the top of the home page?
Make sure you’re editing your theme’s child theme or else all of your changes will be wiped the next time your theme gets an update.