1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how to include javascripts in wordpress post?

Discussion in 'Blogging' started by america-lottery, Jan 6, 2008.

  1. america-lottery

    america-lottery Newbie

    Joined:
    Sep 3, 2007
    Messages:
    24
    Likes Received:
    3
    it is real pain for me to put javascripts in wordpress post, tried several plugin, but they don't work with wp2.3.2.

    Any idea how to make it happen.

    I will appreciate your help.
     
  2. brwipens

    brwipens Regular Member

    Joined:
    Nov 18, 2007
    Messages:
    245
    Likes Received:
    254
    this isn't perfect, but it works:

    after you publish your wp post, go back in and EDIT it. Click on the CODE tab and then insert your javascript. Immediately save it, don't switch off of the CODE tab or anything else. This works consistently, and like you, I haven't found a plugin that works the majority of the time with different versions of WP
     
  3. america-lottery

    america-lottery Newbie

    Joined:
    Sep 3, 2007
    Messages:
    24
    Likes Received:
    3
    doesn't work for me, bro. Thanks for your help
     
  4. HaRRo

    HaRRo Elite Member

    Joined:
    Oct 29, 2005
    Messages:
    2,676
    Likes Received:
    13,451
    Occupation:
    Self Employed
    Location:
    Miami, FL
  5. brwipens

    brwipens Regular Member

    Joined:
    Nov 18, 2007
    Messages:
    245
    Likes Received:
    254
    That;'s weird. It works on several blogs that I have. Works on Adsense too.
    Going to try the plugin Harro linked to, though I thought I already had at one time in the past without success.
     
  6. america-lottery

    america-lottery Newbie

    Joined:
    Sep 3, 2007
    Messages:
    24
    Likes Received:
    3