Posting scripts into Wordpress posts

Discussion in 'WordPress' started by DraftMaster, Jul 5, 2009.

  1. #1
    Hi everybody,

    Been a while i didn't post over here, and today i might need your help.

    Thing is, i'm developing an adult blog, where i'm going to post videos everyday.
    I already have the content, and the traffic.

    I'm using Wordpress, on my own server. But i cannot add any <script> tag with api JS to my post.

    I tried to use Inline "Javascript Plugin" but it doesn't work.

    Any help?
    Thanks in advance
     
    DraftMaster, Jul 5, 2009 IP
  2. andrej

    andrej Notable Member

    Messages:
    3,210
    Likes Received:
    130
    Best Answers:
    0
    Trophy Points:
    220
    #2
    Hmmm, I think adding scripts to Wordpress posts should be no problem. Don't forget to switch to the HTML mode when writing your post.
     
    andrej, Jul 6, 2009 IP
  3. DomainDomain

    DomainDomain Active Member

    Messages:
    898
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    78
    #3
    yeah the HTML editor should do it, but iff not you could hardcode the problem bits of code into the theme and add the rest using a custom field.
    DD
     
    DomainDomain, Jul 6, 2009 IP
  4. theapparatus

    theapparatus Peon

    Messages:
    2,925
    Likes Received:
    119
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Do a search for "unfiltered html" plugin for wordpress. It'll remove the filters for folks writing Post content but leave it in for those writing comments.

    There's a couple different ones and the ones I know of are for Wordpress Multiuser so I can't recommend any.
     
    theapparatus, Jul 6, 2009 IP
  5. craiger22

    craiger22 Well-Known Member

    Messages:
    1,472
    Likes Received:
    99
    Best Answers:
    0
    Trophy Points:
    170
    #5
    craiger22, Jul 7, 2009 IP
  6. theapparatus

    theapparatus Peon

    Messages:
    2,925
    Likes Received:
    119
    Best Answers:
    0
    Trophy Points:
    0
    #6
    That's for placing php code within content. The javascript will still be stripped out by the kses filter.
     
    theapparatus, Jul 8, 2009 IP
  7. vrktech

    vrktech Well-Known Member

    Messages:
    449
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #7
    you can just use a video plugin and can customize it to your needs, It is very much easy as 123, Try it and let me know how you feel :)
     
    vrktech, Jul 8, 2009 IP