Changeset 2152103
- Timestamp:
- 09/06/2019 04:50:12 AM (7 years ago)
- Location:
- xslt/trunk
- Files:
-
- 2 edited
-
README.txt (modified) (1 diff)
-
better-rss-feeds.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
xslt/trunk/README.txt
r2152102 r2152103 14 14 - This plugin will add post thumbnail to RSS feed as "media:content" and "enclosure" tags. 15 15 - Image is also added to HTML part of "description" and "content:encoded" tags. 16 - Make RSS Feeds look pretty. 16 17 17 18 = Post thumbnail = -
xslt/trunk/better-rss-feeds.php
r2152102 r2152103 420 420 421 421 public function display_template($arg) { 422 if ($this->CFG['betterrssfeedscfg_ tags_stylefeeds'] && is_feed() && (422 if ($this->CFG['betterrssfeedscfg_style_stylefeeds'] && is_feed() && ( 423 423 strpos(get_query_var('feed'), 'feed') === 0 || strpos(get_query_var('feed'), 'rss') === 0 424 424 ) && $arg === 'rss2') { … … 428 428 429 429 public function feed_namespace() { 430 if ($this->CFG['betterrssfeedscfg_ tags_stylefeeds']) {430 if ($this->CFG['betterrssfeedscfg_style_stylefeeds']) { 431 431 echo 'xmlns:rssFeedStyles="http://www.wordpress.org/ns/xslt#"'; 432 432 echo "\n"; … … 435 435 436 436 public function feed_content_type($content_type, $type) { 437 if ($this->CFG['betterrssfeedscfg_ tags_stylefeeds'] && $type === 'rss2') {437 if ($this->CFG['betterrssfeedscfg_style_stylefeeds'] && $type === 'rss2') { 438 438 return 'text/xml'; 439 439 }
Note: See TracChangeset
for help on using the changeset viewer.