• Resolved robertayala

    (@robertayala)


    I have not found a solution specific to the code I’m using… Here’s what’s happening.

    I edit my product in the text editor, and when I add a button for the product I add this code:

    <form class=”signup” enctype=”multipart/form-data” method=”post”><button class=”single_add_to_cart_button button alt” name=”add-to-cart” type=”submit” value=”56″>Sign Up</button></form>

    It works fine for a day or two but then I get clients complaining they can’t click the button, so I go back to check the editor and I find this code:

    <button class=”single_add_to_cart_button button alt” name=”add-to-cart” type=”submit” value=”56″>Sign Up</button>

    It seems to randomly remove the <form> code. I’m not sure what’s happening. The solutions that I have found are not specifically for <form> code.

    Any idea, or suggestions, or solutions? It would be greatly appreciated!

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter robertayala

    (@robertayala)

    There doesn’t seem to be a fix, so I ended up changing my add to cart button from a “form/button” code to the “shortcode” for add to cart.

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress randomly removing specific code from content’ is closed to new replies.