WordPress.org

Ready to get started?Download WordPress

Forums

Digg Digg
[resolved] Is there a way to manually remove floating sidebar from some pages? (6 posts)

  1. patrickhealy
    Member
    Posted 1 year ago #

    I have some members only pages that should never be shared. Is there a way I can just nix the floating DiggDigg bar from them while leaving it where it normally is?

    http://wordpress.org/extend/plugins/digg-digg/

  2. patrickhealy
    Member
    Posted 1 year ago #

    Anyone know a way to do this?

  3. DaveBurns
    Member
    Posted 1 year ago #

    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

  4. patrickhealy
    Member
    Posted 1 year ago #

    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?

  5. DaveBurns
    Member
    Posted 1 year ago #

    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

  6. patrickhealy
    Member
    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic