WordPress.org

Forums

Digg Digg
Exclude Digg digg from categories (1 post)

  1. digibuze
    Member
    Posted 12 months ago #

    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/

Reply

You must log in to post.

About this Plugin

  • Digg Digg
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic