Support » Plugin: Raw HTML » Stopped Working, and now adding random p,a tags

  • Resolved ashleighm

    (@ashleighm)


    At some point since the last update, this plugin stopped working for me. And worse, it started royally screwing up my code. Worse than wpautop.

    This:
    <a href="http://www.charmcat.net/shop/"><h1 class="CTAlink">Get Started by Finding Your Perfect Design <i class="fa fa-arrow-circle-right"></i></h1></a><a href="http://www.charmcat.net/custom/"><h2 class="CTAlink">Or contact me to start your custom design <i class="fa fa-arrow-circle-right"></i></h2></a>

    Became this:

    <a href="http://www.charmcat.net/shop/">
    <br>
    <h1 class="CTAlink">
    "Get Started by Finding Your Perfect Design "
    <i class="fa fa-arrow-circle-right"></i>
    </h1>
    </a>
    <p>
    <a href="http://www.charmcat.net/shop/">
    <a href="http://www.charmcat.net/custom/">
    <br>
    </a>
    </p>
    <h2 class="CTAlink">
    <a href="http://www.charmcat.net/custom/">Or contact me to start your custom design <i class="fa fa-arrow-circle-right"></i>
    </h2>
    <a href="http://www.charmcat.net/custom/">
    </a>
    <p>
    <a href="http://www.charmcat.net/custom/">
    </a>
    </p>

    After deactivating the plugin, the page went back to normal. So I guess I’m not using it anymore.

    http://www.charmcat.net

    https://wordpress.org/plugins/raw-html/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Janis Elsts

    (@whiteshadow)

    Which “Disable [filter]” options were you using, if any? Was your code inside a [raw] tag, or just posted as-is? Which WordPress version do you have installed?

    I was using all “disable” filters on the post/page setting. No [raw] tags.

    I have 4.1.1 running Bootstrap child theme.

    It turns out my theme has the ability to set manual paragraph mode through the use of templates. I don’t know if that would have been messing with it?

    Plugin Author Janis Elsts

    (@whiteshadow)

    It turns out my theme has the ability to set manual paragraph mode through the use of templates. I don’t know if that would have been messing with it?

    It’s possible. As a test, try temporarily switching to the default theme and check if the problem goes away. Even looking at the “live preview” might help see if it’s theme-related.

    Looks like it’s the theme’s function that’s causing the issue. I switched to the basic template and the ps went away. Blast!

    Plugin Author Janis Elsts

    (@whiteshadow)

    Does the theme have a settings page? Maybe there’s a way to turn off that theme function.

    I’ve been playing around with it and it looks like I can use both. The templates are special to my site so turning them off isn’t really an option. The template was only blocking wpautop on a portion of the page, and wasn’t allowing the Raw HTML to take effect. I contacted support and they fixed it for me.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Stopped Working, and now adding random p,a tags’ is closed to new replies.