Add JS File to Snippet – Revisited
-
Using a previous response to this same question, I added the following code to check that the site would recognize the snippet.
function ai_jobListingAutofill() { ?> <script> console.log('added snippet'); </script> <?php } add_action( 'wp_footer', ‘ai_jobListingAutofill’);
I don’t see anything in the Console nor do I get an alert box when I change log to alert.
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Add JS File to Snippet – Revisited’ is closed to new replies.