WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Digg Digg] floater can't disable on post pages?

[Resolved] [Plugin: Digg Digg] floater can't disable on post pages?

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m having the same issue, can’t disable floating on post pages.

    I want floating on home only, normal on posts.

    Same issue here…has this been resolved?

    Can’t Uncheck Post in Digg Digg Floating Display: Solution

    I was having the same problem as linewbie above. It would seem like it’s a pretty obvious problem–the box won’t uncheck!

    I came up with a work around that seems to be working just fine.

    On the “Floating Display Menu”, under “Display Configuration”, click the “include” radio button and type “None” next to it. So, essentially, even though we cannot uncheck “posts”, we include none of them.

    I have implemented this and it’s working fine for me.

    You can see that our home page has the floating display but posts do not at: http://theseosystem.com/

    Here is the code that worked for me:

    /** Exclude DiggDigg from specific pages */
    function eo_exclude_digg_digg() {
    if(is_page(array(1, 2, 3, 4))) {
          remove_filter('the_excerpt', 'dd_hook_wp_content');
        	remove_filter('the_content', 'dd_hook_wp_content');
    	}
    }
    add_action('template_redirect', 'eo_exclude_digg_digg');

    …where 1, 2, 3, 4 are the ids of the pages you want to exclude DiggDigg from.

    More details here: Exclude DiggDigg From Specific Pages

    Plugin Author Andrew Yates

    @andy7629

    This is now documented in the FAQ for version 5.3.1. Thanks Eugen.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: Digg Digg] floater can't disable on post pages?’ is closed to new replies.