Load JS & CSS only on pages
-
Hello. Tried to modify wp-sympsium to load js & css only on my wordpress pages, but with no luck. Any ideas how I could do that? Thank you.
What I have tried:
function __wps__js_init
…
// Only load if not admin (and chosen in Settings)
if (!is_admin()){
…
}Tried to change is_admin to is_page but no results..
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Load JS & CSS only on pages’ is closed to new replies.