From f9e8a102d0a65eaf957eb595f41172a6aa1578ce Mon Sep 17 00:00:00 2001 From: uncovery Date: Fri, 6 May 2016 20:13:18 +0800 Subject: [PATCH] fix rss shortcodes --- unc_gallery.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/unc_gallery.php b/unc_gallery.php index 06dc5f9..9948dd4 100644 --- a/unc_gallery.php +++ b/unc_gallery.php @@ -54,9 +54,7 @@ // execute shortcodes in the excerpts add_filter('the_excerpt', 'do_shortcode'); - -// execute shortcodes in the RSS feeds: -add_filter("the_content_feed", "do_shortcode"); +add_filter('the_excerpt_rss', 'do_shortcode'); // get the settings from the system and set the global variables // this iterates the user settings that are supposed to be in the wordpress config