WordPress.org

Support

Support » Plugins and Hacks » Digg Digg » Exclude Digg digg from categories

Exclude Digg digg from categories

  • Hi folks,

    I’ve got the trick to remove Digg digg from pages by adding the ID’s in such a code `function eo_exclude_digg_digg() {
    if (is_page( array( 1,2,3 ) )) {{
    remove_filter(‘the_excerpt’, ‘dd_hook_wp_content’);
    remove_filter(‘the_content’, ‘dd_hook_wp_content’);
    }
    }
    add_action(‘template_redirect’, ‘eo_exclude_digg_digg’);`

    What I’d like to do is to exclude categories of pages so that I won’t have to update any code in the future.

    Anyone can help?
    Thanks

    https://wordpress.org/plugins/digg-digg/

  • The topic ‘Exclude Digg digg from categories’ is closed to new replies.
Skip to toolbar