Support » Plugins and Hacks » Feature A Page Widget » Resolving Weird Output in Excerpt

Resolving Weird Output in Excerpt

  • Plugin Author Mark Root-Wiley


    Over time, I’ve received multiple reports of conflicts with plugins that filter the_excerpt, in particular, Digg Digg and PodPress. An attempted fix for this was made in v1.2.4 but caused more problems than it solved. They were rolled back in v1.2.5.

    In the long run, it’s not feasible to add a compatibility fix for every plugin that modifies the_excerpt and the plugins could likely prevent these problems from occurring in the first place.

    I’ll try to update this thread with fixes for known compatibility issues.

    Unless otherwise noted, put the following code snippets in functions.php or an mu-plugin. Avoid modifying plugin files at all costs so you can take advantage of future updates.

    Digg Digg Compatibility Fix

    function play_nice_dd() {
    	remove_filter('the_excerpt', 'dd_hook_wp_content');
    add_action('plugins_loaded', 'play_nice_dd');

    PodPress Compatibility Fix

    function play_nice_pp() {
    	global $podPress;
    	remove_action( 'the_excerpt', array( $podPress, 'insert_the_excerptplayer' ) );
    add_action( 'plugins_loaded', 'play_nice_pp' );


Viewing 1 replies (of 1 total)
  • Plugin Author Mark Root-Wiley


    Fixes for these and other problems should be included automatically in the 2.0.0 release. Let me know of other similar problems so I can fix them in the plugin or let you know how to fix them in your theme/plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘Resolving Weird Output in Excerpt’ is closed to new replies.
Skip to toolbar