How do I add code to wordpress pages

6 replies
  • WEB DESIGN
  • |
How do I add code to individual wordpress pages, below the head tag? I am trying to add Google optimizer code, but I can't find the page code to add it. I have been doing wordpress for years, but never had to add code to individual pages. I looked in every file with my ftp program, and looked in the wordpress editor. I added code to the index page, but can't find the individual page code.

Thanks Glenn

Hi, I am trying to use Google optimizer, to split test some squeeze pages. How do I insert the Google code into my Wordpress pages? They say it needs to be immediately below the <head> tag. How do I do that.

I am fairly good with wordpress, and have an ftp program, and I am familiar with file manager in cPanel. I just need detailed directions, because I don't want to screw anything up.

Thanks Glenn
#add #code #pages #wordpress
  • Profile picture of the author elitesalesgroup
    If its going below the head tag you could try the header.php
    If it needs to go on a page, just click the html view and paste it in
    {{ DiscussionBoard.errors[6302734].message }}
  • Profile picture of the author Istvan Horvath
    How do I add code to individual wordpress pages,
    You don't. Because you can NOT.
    Signature

    {{ DiscussionBoard.errors[6306028].message }}
    • Profile picture of the author Fahmzie
      You can, just use conditional function. easy. done
      {{ DiscussionBoard.errors[6306666].message }}
  • Profile picture of the author Ratikanta
    you are add this code in between if...else and write the page code in condition.
    {{ DiscussionBoard.errors[6306350].message }}
  • Profile picture of the author Ed Brown
    hey Glen ... if you aren't using a premium theme that has standard integration fields, try this wordpress plug-in
    WordPress › Header and Footer « WordPress Plugins

    it lets you add code to the header or footer using a dynamic widget. Pretty nifty. Other than that, all you can really do is add it manually to the header.php file.
    Signature
    Affordable Small Business Web Design & SEO by
    - City Publishing Groupâ„¢
    -
    We Create. Quality.
    (I don't revisit topics I comment on. I offer my opinion and move on.
    If you'd like to discuss something further simply PM or email me.)
    {{ DiscussionBoard.errors[6306862].message }}

Trending Topics