WordPress.org

Ready to get started?Download WordPress

Forums

Diamond MultiSite Widgets
Diamond Multisite Widget Feed does process plugins (2 posts)

  1. derekgreer
    Member
    Posted 2 years ago #

    I'm using the Diamond Multisite Widget for my feed and it displays the feed content, but doesn't run it through the plug-ins (if that's the correct way of saying it). For example, I have a Gist plugin that processes shortcodes such as [gist] which the default feed works fine with, but the Diamond feed just seems to pull in the straight post content without running it through any plugins that would normally do their own pre-processing. This is really a show-stopper for using it to display full feed content in any context. I'm assuming the other widgets don't do this either, so if I'm displaying excerpts on my main site which happen to start with something that needs a plug-in I'm assuming you'd just see the raw source.

    http://wordpress.org/extend/plugins/diamond-multisite-widgets/

  2. derekgreer
    Member
    Posted 2 years ago #

    After looking at this for a few days, I was finally able to hack together a solution. My feed now uses the results of get_content() instead of just $p->post_content (which isn't processed by the filters). Unfortunately, I wasn't able to preserve the ability to change this with the Diamond formatting string, but at least it works!

    It would be nice if the plug-in were updated to work with the filtered contents and include comment info in the custom feed.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic