Support » Themes and Templates » Installing Javascript in a Blog Post

Installing Javascript in a Blog Post

  • Hi there,

    I have a sponsored post that needs to go live tomorrow. I am supposed to install the following code into my post:
    <script language="JavaScript1.1" src="http://oascentral.blogher.org/RealMedia/ads/adstream_jx.ads/ReviewBadge/PG-eStore-Program_241/@x13"></script>

    I read that I need to create a javascript file and call out to the file within the post. I’m not really sure what this means. What steps do I need to take in order to get the code to work in my post?



Viewing 1 replies (of 1 total)
  • Hello Julia,

    when you create a post on the right hand is a button VISUAL and HTML
    you can see something similar here:

    insert the code you posted above when you view the post as HTML.

    please keep in mind that inserting javascript from unknown sources may lead to a security risk.
    I`m not sure if the Javascript is intended for some kind of tracking but so far it only displays:
    This is sponsored content from BlogHer and P&G” so you could also insert this text at the footer of your post content.

    hope that helps 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Installing Javascript in a Blog Post’ is closed to new replies.