Reply To: Using custom JavaScript in a page

Home Forums Support Using custom JavaScript in a page Reply To: Using custom JavaScript in a page

#186106
Ryan

Ok cool, so I can conditionally target the page using some PHP logic: <?php if ( is_page( 'my-page-slug' ) ) : ?>

I already had it in the WP Head of the hooks section (it needs to load an audio loop on startup). Just tested out the slug conditional and it works a treat.

Thanks again!