• Hi, I’m totally new to managing website and code but need help!

    I’ve got the code from google ads but I don’t know where to put it. I’m using Theme Twenty Twelve. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You need to use an ad inserting plugin for inserting ad codes

    first install plugin which allows you to put ad codes on site . Search in plugin directory there are lot with each have some different features .Install as per your requirement and put your code there .

    To add to the sidebar, just use the “Text” widget and paste the codes. 🙂

    But to add to all the pages you will need to edit “page.php” in the theme’s folder. Open the page in code editor and then decide where to place the ad. Do it like:

    <div id="g_ad">
     google code here
    </div>

    It will be visible into all the Pages.

    To show into posts, you will need to edit the single.php page.

    Enjoy.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding Google ads to pages’ is closed to new replies.