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

    I want floating on home only, normal on posts.

    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 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Digg Digg] floater can't disable on post pages?’ is closed to new replies.