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

WP breaks my gateways (javascript) - any WP pro's around?

Discussion in 'Blogging' started by alex.b, Feb 3, 2010.

  1. alex.b

    alex.b Junior Member

    Joined:
    Jun 30, 2009
    Messages:
    176
    Likes Received:
    49
    Hey folks,

    I searched bhw and also googled for it as well but don't seem to be able to find a solution.
    I'm trying to run a cp4 l3ad gateway on my blog but only in certain posts of course, so i can't just put it into the header file. the gateway is somewhat working, but terribly obfuscated in a way that it's not usable.
    See a screenshot of this mess here.

    yes i tried plugins like the inline javascript one. yes, i implemented stuff into my header file like
    Code:
    <?php wp_enqueue_script("jquery"); ?>
    
    <?php wp_head(); ?>

    obviously the gateway is somewhat working already, but something inside WP is still fucking it up. I'd really appreciate some input on how to make this work. I know lots of you are using cp4 l3ad and similar successfully, so please chime in :)
     
  2. Cadelaf

    Cadelaf Newbie

    Joined:
    Mar 4, 2009
    Messages:
    40
    Likes Received:
    7
    Go to HTML Editor and put it there.
    Simple as that
     
  3. dnreg

    dnreg Jr. VIP Jr. VIP Premium Member

    Joined:
    Sep 16, 2009
    Messages:
    154
    Likes Received:
    118
    He's probably having the infamous issue of when you go to HTML Editor and type in code, you then go view your page and it has somehow ripped all the HTML out of what you posted (or, in his case, only some of it).

    I have no clue how to fix it, OP, sorry; I've had the same issues and just disbanded the theme since I could never figure out how to fix it.
     
  4. Zakk-

    Zakk- Junior Member

    Joined:
    Sep 16, 2009
    Messages:
    141
    Likes Received:
    15
    There is a plugin, specifically made for/by that company, for their gateways...
     
  5. alex.b

    alex.b Junior Member

    Joined:
    Jun 30, 2009
    Messages:
    176
    Likes Received:
    49
    yeah dnreg, same for me, changing to a simpler theme fixed it. the theme i was having problems with used javascript quite a bit the simple one doesn't and now it works like a charm. thx anyways everyone :)