Tips / Wordpress How to detect home page in iphone and safari February 8, 2022 I simply added a class called “home” in landing page then just check this class as if (document.querySelector('.home') !== null) { // the conditions comes here }
Recent Comments