• Hi there

    I’m sure this question has a simple answer but I’ve been unable to find it in other posts.

    1. How can I view and edit my blog’s html source code – not just the html view of a post I am writing but the source that makes up the home page?

    2. I’d like to insert ga.js on the homepage rather than via a plug in.How do I do this?

    Many thanks for your help

    Tribeka

Viewing 2 replies - 1 through 2 (of 2 total)
  • To edit your theme, it is best to use an FTP client to make changes, but this can also be done by going to Design>Theme Editor on your admin pages.

    Click on the relevant file and copy your ga.js in.

    depending on where you want to put the ga.js edit either header.php or footer.php in you folder wp-content/themes/default (or whatever theme you are using).

    If you have other function calls to the ga.js – then the ga.js must be called FIRST so I would put it in header.php

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Insert HTML and ga.js’ is closed to new replies.