• Resolved MacMediaMarketing

    (@macmediamarketing)


    Trying to embed a button to a page on my website and the button is not embedding. The code is correct. Why won’t WordPress accept it? How can I get this working? Thanks in advance.

    <div id="cp281d62becc" style="margin: 10px 0" onclick="document.getElementById('pay_now_form_2ce520a6c9').submit()"><div><div class='r-bg '><span class='r-fg r-fg-3'></span> <span class='r-fg r-fg-2'></span> <span class='r-fg r-fg-1'></span> <span class='r-fg r-fg-0'></span> </div><form action="https://globalgatewaye4.firstdata.com/pay" id="pay_now_form_2ce520a6c9" method="post"><input name="x_login" type="hidden" value="WSP-ELITE-b1nKogBplw" /><input name="x_show_form" type="hidden" value="PAYMENT_FORM" /><input name="x_fp_sequence" type="hidden" value="14618830361716510786" /><input name="x_fp_hash" type="hidden" value="PNB-1.0-5a420eed224c4017ecbca26075d29b0442eddcc5" /><input name="x_amount" type="hidden" /><input name="x_currency_code" type="hidden" value="USD" /><input name="x_test_request" type="hidden" value="FALSE" /><input name="x_relay_response" type="hidden" value="" /><input name="donation_prompt" type="hidden" /><input name="button_code" type="hidden" value="Pay Now Recurring Dues" /><div class="cpwrap"><button type="button">Pay Now</button></div></form><div class='r-bg '><span class='r-fg r-fg-0'></span> <span class='r-fg r-fg-1'></span> <span class='r-fg r-fg-2'></span> <span class='r-fg r-fg-3'></span> </div></div></div><style type="text/css">div#cp281d62becc{width: 200px; background-color: #FF9900;}div#cp281d62becc:hover{cursor: pointer}div#cp281d62becc * {background-color: #FFAA00;}div#cp281d62becc form{margin:0; padding:0;text-align:center}div#cp281d62becc div.cpwrap {width: 90%;border:0;margin:0 auto;padding: 0px; background-color: #FF9900}div#cp281d62becc button{width: 95%;border:0;margin:0;padding: 3px 0; background-color: #FF9900;text-align: center; color: #FFFFFF; }div#cp281d62becc:hover button {text-decoration: underline}div#cp281d62becc button:focus,div#cp281d62becc button:visited,div#cp281d62becc button:active{border:none;outline: none}div#cp281d62becc button {font-size: 16px}div#cp281d62becc div.cpwrap {border-left: 3px solid #FFAA00; border-right: 3px solid #FFAA00}div#cp281d62becc .r-fg{background-color: #FFAA00; border-color: #FFAA00}div#cp281d62becc .r-bg{background-color: white}div#cp281d62becc .r-fg{border-style: solid; border-width: 0px 1px; overflow: hidden; display: block; height: 1px; font-size: 1px}div#cp281d62becc .r-fg-0{margin-left: 1px; margin-right: 1px; border-width: 0px 1px !important; height: 1px !important}div#cp281d62becc .r-fg-1{margin-left: 2px; margin-right: 2px}div#cp281d62becc .r-fg-2{margin-left: 3px; margin-right: 3px}div#cp281d62becc .r-fg-3{margin-left: 5px; margin-right: 5px}</style>
Viewing 2 replies - 1 through 2 (of 2 total)
  • Are you pasting it in the visual-mode or text-mode of the Editor? In visual mode, WordPress’s TinyMCE visual editor will strip out extraneous things like <style> tags and other stuff under the generally good assumption that you don’t want crufty HTML in your posts and pages. But if you really do want that code, use the Editor’s text mode to paste it in. And don’t switch modes on that post or page or WordPress will strip it out again.

    Thread Starter MacMediaMarketing

    (@macmediamarketing)

    Was pasting in text-mode. Thanks for trying. I’ve had this issue with WordPress for a long time. I decided to use a plugin that automated the transaction system and it solved the issue. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HTML Help’ is closed to new replies.