WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. VinaySharma
    Member
    Posted 7 years ago #

    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

  2. Glenn Ansley
    Member
    Posted 7 years ago #

    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.)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags