1

By using the twenty sixteen theme, I placed a "slider" short-code in the header.php section. The result, the slider position is where i want it, but it's showing on all pages.

How do i achieve this by making the slider show on the homepage ONLY?

The website is : http://www.pulaakufm.com/

Thank you.

4

inside of the header.php file use is_home() to check if it's the home page

if ( is_home() ) {
    // Include slider here
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.