WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Is there a way to manually remove floating sidebar from some pages?

[Resolved] Is there a way to manually remove floating sidebar from some pages?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Anyone know a way to do this?

    Yes. Looking through the 5.3.0 code, there is an undocumented feature for this. Add the following HTML comment to your content:

    <!– Digg Digg Disabled –>

    This worked well for me.

    db

    I threw it in the top of the html on the page (through the WP admin) and no dice. Still shows up. I put it in as

    <!– Digg Digg Disabled –>

    Is there a possibility it needs to go in a specific place?

    No, it can appear anywhere in the page/post content. Two ideas without seeing it myself:

    – Did you enter that using the Visual or the Text tab? Make sure you’re using the Text tab or else the < and > will get converted to HTML entities which will make it not work.

    – If you intentionally entered HTML entities, don’t do that. Use an actual < and >.

    If that doesn’t fix it, do a View Source in your browser and search for “Digg Digg Disabled” to see if the full HTML comment string was preserved which is what you want.

    db

    Strange. Went back in and now that’s working. I did everything the same way I did it before (in through the text editor and all). Weird.

    Thanks for the help. This worked like a charm!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Is there a way to manually remove floating sidebar from some pages?’ is closed to new replies.