WordPress stripping html - by Tom - on WordPress WooCommerce support

This topic has 5 replies, 2 voices, and was last updated 10 years, 5 months ago ago by Jack Richardson

  • Avatar: Tom
    Tom
    Participant
    June 23, 2015 at 18:07

    Hi. I’m using:

    <h2 class=”title a-center with-subtitle”><span>Shop Categories</span></h2> on shopping page, but every time I save, WordPress strips out the span so the line goes through the h2.

    It was fine before. Any idea how I can fix this?

    Thanks!

    Please, contact administrator
    for this information.
    4 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 23, 2015 at 20:28

    Hello,

    Please specify what result you want to achieve and provide us with WP Dashboard credentials in private content.

    Best regards,
    Jack Richardson.

    Avatar: Tom
    Tom
    Participant
    June 24, 2015 at 23:50

    Anyone?

    Avatar: Tom
    Tom
    Participant
    June 25, 2015 at 00:05

    Solved. I just created a class. As long as there is a class, WordPress doesn’t strip the element.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 25, 2015 at 06:50

    Hello,

    We are glad that you found the solution.
    Let us know if you need more help.

    Best regards,
    Jack Richardson.

  • Viewing 5 results - 1 through 5 (of 5 total)

The issue related to '‘WordPress stripping html’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.