• Hello. I would like to modify a file called “custom.js.php”, which contains most JS functions for sliders and such, so that I can autoplay a slider if not on homepage.

    This page can read get_option(), and it was my hope that I could somehow pass an is_home() or page ID or page title to distinguish the homepage. is_home() returns true for all pages.

    Is there a way for me to do this in that page?

  • The topic ‘if homepage, then get_option homepage’ is closed to new replies.