• I have been using raw-html and TinyMCE Advanced as my only two plugins for quite some time now. So far I have had little to no problems and it has made my clients life a whole lot easier.

    However, when I added the plugin to a different site with the same frameworks, code, wordpress version and everything, I am no longer able to see proper results. I now have the words “[raw]” and “[/raw]” displaying in my post. The only thing I have in the entire post is now test stuff, like so…

    [raw]
    
    <h1>This@</h1>
    
    <h2>is a...</h2>
    
    <h4>test!</h4>
    
    [/raw]

    Everything inside the raw tags is fine and the content is
    and <p> free as expected. But my out put shows the shortcodes tag words themselves.

    https://www.ads-software.com/plugins/raw-html/

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

    (@whiteshadow)

    Even though all the versions are the same, could you try temporarily deactivating the other plugin and switching to the default theme as a test? Just in case.

    Thread Starter goredefex

    (@goredefex)

    I turned them all off and still no dice. Hmm..

    I can’t think what it would be.

    Plugin Author Janis Elsts

    (@whiteshadow)

    I turned them all off and still no dice. Hmm..

    I can’t think what it would be.

    Neither can I. With everything else turned off, it should basically be a stock WordPress install. There’s no reason why the plugin wouldn’t work in that case.

    Are other Raw HTML features working correctly? For example, there should be a “Raw HTML” widget in the post editor with options like “Disable automatic paragraphs”, “Disable wptexturize” and so on. Is that showing up?

    I’m having a similar problem.

    [raw] is showing up before and after a form generated from another shortcode. They seem to be conflicting.

    Plugin Author Janis Elsts

    (@whiteshadow)

    Is [raw] inside the other shortcode, near it, or wrapping it? In general, shortcodes don’t work inside [raw] tags. It’s possible (though unlikely) that [raw] tags that are inside another shortcode also wouldn’t work.

    I’m having this problem too. Everything inside [raw] fine, and [raw] not display on the post page itself, but is displaying on the main page with the feed of all the posts

    Plugin Author Janis Elsts

    (@whiteshadow)

    In this case, it’s probably related to how your theme displays the main page. The [raw] tag depends on the the_content filter. If the theme doesn’t run this filter when rendering the main page, the [raw] tag won’t work. It will just display as if it was plain text. The same problem can affect some shortcodes from other plugins.

    Thank you Janis for the quick reply and happy new year!

    If i may ask your help some more, can you suggest a safe way to go about fixing this? I’ve researched this function and method some, but i can’t quite get to a point where i’m confident to change things without messing it up. I’m currently running a Twenty Twelve child theme.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[raw] shortcode itself showing to screen’ is closed to new replies.