WordPress.org

Forums

Feature A Page Widget
Resolving Weird Output in Excerpt (2 posts)

  1. MRWweb
    Member
    Plugin Author

    Posted 1 year ago #

    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' );

    http://wordpress.org/plugins/feature-a-page-widget/

  2. MRWweb
    Member
    Plugin Author

    Posted 10 months ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Feature A Page Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic