WordPress.org

Ready to get started?Download WordPress

Forums

Insert a code in webpage's html source code (10 posts)

  1. JPBRITS
    Member
    Posted 2 years ago #

    I need to insert a Google code into my webpage's html source code. The recommended method is to copy and paste the Google code. However, on my html source code page no cursor is visible, which means I am unable to paste the code between the two designated tags. Can you please instruct me how to solve this problem. Do I have to do it through a Word Press code view editor, and if so, how do I do this?

    Thanks
    JAKES

  2. You can either use the Theme Editor (which will let you edit code) or a plugin. What Google code are you adding?

    That is what KIND? Analytic?

  3. paulmack
    Member
    Posted 2 years ago #

    I also want to insert google analytics code into my wordpress site but not sure what the main page is called because its in php and it wasn't index.php

  4. JPBRITS
    Member
    Posted 2 years ago #

    Thanks,Ipstenu.

    The code I wish to insert is a Google Adsense one for placing Google ads on my web pages.

  5. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    the simplest way for a google ad is to simply place a text widget into your sidebar, and paste google's code tehre

    Depending on where you want the ad, you may have to edit a theme file.

  6. paulmack
    Member
    Posted 2 years ago #

    I found a plugin that does it all for you without having to touch any code

    http://wordpress.org/extend/plugins/wpanalytics/

  7. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    found a plugin that does it all for you without having to touch any code

    The OP was requesting help with Adsense.... not analytics.....

  8. paulmack
    Member
    Posted 2 years ago #

    yes I know, I was answering my own question.

  9. paulmack - Next time make your own topic :) You've accidently hijacked this one.

    JPBRITS - Do what the Rev said. :) Works great.

  10. JPBRITS
    Member
    Posted 2 years ago #

    Thanks for the assistance. Much appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic