How to add code to all WP pages

Discussion in 'WordPress' started by jophan, Jul 17, 2010.

  1. #1
    Hello,

    I wanted to add a code which should be applied to all pages
    I have on WP. How can I do this?

    Regards
     
    jophan, Jul 17, 2010 IP
  2. ilovefireflies

    ilovefireflies Peon

    Messages:
    238
    Likes Received:
    0
    Best Answers:
    2
    Trophy Points:
    0
    #2
    ok you can do this by:

    when you go into your WP installation on your site, you go to the appearance tab, select editor (this is the theme editor) and then you will select which file you want to edit (on the right sidebar) and then you can add whatever code you want.

    OR!!!

    instead of messing with the WP install files, you can go into the widgets tab, and you can add a text box to the sidebar. then you can put whatever code you want in there, and it will be seen on all your pages also.
     
    ilovefireflies, Jul 18, 2010 IP