Need help? Check out our Support site, then


try to add a button to page

  1. littlegoatproductions
    Member

    Trying to put html code into my page. It just shows up as code and does not translate to the button as it should.

    The blog I need help with is littlegoatproductions.wordpress.com.

  2. Are you placing the code into the text editor or into a text widget?
    Or is the code using forbidden tags?
    http://en.support.wordpress.com/code/

    You can place the code here in the forum so we can examine it. Paste it, then highlight it, and use the "code" button above the comment box.

  3. littlegoatproductions
    Member

    I tried the text widget but not text editor (I don't think). Is text editor when you use "visual" you use "text"?
    If so, I have tried that too.

  4. Yes, that's correct. I think you might be trying to insert some forbidden code. Paste the code here so we can examine it. Perhaps there is some way to alter it to function.

  5. littlegoatproductions
    Member

    I think you are right. I just saw that "form" and "input" are not allowed and both appear in the HTML code I was given.
    How frustrating!
    Perhaps paypal is easier to use?

  6. Ah, yes. PayPal. We can use the plain paypal buttons here on WordPress.COM: no shopping carts. If that is necessary for your site, then you must look into self-hosting.
    http://en.support.wordpress.com/paypal/
    note that the support article only mentions a "donate" button, but you can use a different button as long as it uses the plain html code.

    Here is some information about the different kinds of wordpress:
    http://en.support.wordpress.com/com-vs-org/

  7. I am also trying to add a button from another site by pasting the code into a text widget. All I get is the text in the sidebar. I noticed that when I check the text, after I save the widget, the first and last lines of the code have been deleted. Here is the code:

    <script type="text/javascript">
    (function(d, s) {
    var js, tjs = d.getElementsByTagName(s)[0];
    js = d.createElement(s);
    js.type = 'text/javascript';
    js.async = true;
    js.src = 'http://www.teacherspayteachers.com/widgets/get/1980';
    tjs.parentNode.insertBefore(js, tjs);
    })(document, 'script');
    </script>

  8. Hi!
    Please read my post above about forbidden tags on wordpress.com:
    http://en.support.wordpress.com/code/
    script is one that will be stripped out.

    What does that code do? Perhaps there is another way to link to it?

  9. littlegoatproductions
    Member

    Thanks!

  10. @littlegoatproductions
    You are welcome. Best wishes.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.