WordPress.org

Support

Support » Themes and Templates » I need to run java script on all page my wp pages, where shud i put this code?

I need to run java script on all page my wp pages, where shud i put this code?

  • I want to run my java script on each of my individual post page, where shud i copy this code, this is a add code created by google, Plz. help needed,
    Hope to get response

Viewing 1 replies (of 1 total)
  • you could place it in the header, the footer, the sidebar or you could make a new file called something.php, place the code in that, and upload it to your wp-content folder. Then you would place<?php include('something.php'); ?> where you want it to go in your template pages. (Like your right before the loop or something.)

Viewing 1 replies (of 1 total)
  • The topic ‘I need to run java script on all page my wp pages, where shud i put this code?’ is closed to new replies.
Skip to toolbar