1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Wordpress user roles strip out javascript - how to solve?

Discussion in 'Content Management' started by fadetoblack22, Jan 14, 2014.

  1. #1
    I have a writer writing for my wordpress blog and sometimes he has to put links into the content. These links has google analytics events tracking on them with javascript. However in his user role, when the post is posted this JS is stripped out.

    It only works if I set him to admin. Is there any way around this?
     
    fadetoblack22, Jan 14, 2014 IP
  2. RobinInTexas

    RobinInTexas Active Member

    Messages:
    217
    Likes Received:
    14
    Best Answers:
    2
    Trophy Points:
    65
    #2
    You should be able to do it with this plugin http://wordpress.org/plugins/user-role-editor/

    I suspect it's the "unfiltered_html" option that will do it.
     
    RobinInTexas, Jan 16, 2014 IP
    Nigel Lew and kingofking like this.
  3. fadetoblack22

    fadetoblack22 Well-Known Member

    Messages:
    2,399
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    160
    #3
    Thanks!! That's a real great help!
     
    fadetoblack22, Jan 16, 2014 IP