Home › Forums › Support › Master slider This topic has 3 replies, 2 voices, and was last updated 6 years, 11 months ago by Tom. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts October 20, 2016 at 9:20 pm #237522 Visual D Hi I am using master slider and want to show it in the homepage only This is the code i am using, but not working. Any suggestions? <?php if ( is_home() ): masterslider(1); endif; ?> Thanks Edwin October 20, 2016 at 10:03 pm #237535 TomLead Developer Lead Developer Where are you adding that? is_home() is poorly named (very old function) and is actually specific to the blog. Instead, try: is_front_page() October 20, 2016 at 10:18 pm #237540 Visual D Great, that worked. Thanks Tom October 20, 2016 at 10:21 pm #237542 TomLead Developer Lead Developer You’re welcome 🙂 Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In