inside of the header.php
file use is_home()
to check if it’s the home page
if ( is_home() ) {
// Include slider here
}
Related Posts:
- How to show Twenty-sixteen them menu under logo?
- How to add ‘Categories’ heading to categories block in sidebar?
- How do I find (index) file in order to change style on CSS?
- WordPress default theme css units
- How to remove “Category : …”
- Child Header.php Not Showing On Other Pages
- Include custom post type content in search
- How to make the Primary Menu stay the same in the PC and mobile versions of the Twenty Sixteen theme
- Jetpack infinite scroll not working on twentysixteen custom theme
- Overwriting the menu break points of twentysixteen in child theme
- Adding Bootstrap to WordPress TwentySixteen Theme
- Is there a way to use get_sidebar() when no widgets are activated?
- How can I add a custom checkbox / radio button on the admin theme options to display a CSS or other?
- How to show Widget in Content Bottom part on home page in twenty sixteen theme
- Customising Breadcrumb NavXT [closed]
- Twenty sixteen – full height
- Why does twentysixteen take a free hand in dealing with longstanding usability principles? [closed]
- How to remove “Category:” title prefix in Twenty Sixteen theme?