Plugin Directory

Changeset 2152103


Ignore:
Timestamp:
09/06/2019 04:50:12 AM (7 years ago)
Author:
Waterloo Plugins
Message:

Updated

Location:
xslt/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • xslt/trunk/README.txt

    r2152102 r2152103  
    1414- This plugin will add post thumbnail to RSS feed as "media:content" and "enclosure" tags.
    1515- Image is also added to HTML part of "description" and "content:encoded" tags.
     16- Make RSS Feeds look pretty.
    1617
    1718= Post thumbnail =
  • xslt/trunk/better-rss-feeds.php

    r2152102 r2152103  
    420420
    421421    public function display_template($arg) {
    422         if ($this->CFG['betterrssfeedscfg_tags_stylefeeds'] && is_feed() && (
     422        if ($this->CFG['betterrssfeedscfg_style_stylefeeds'] && is_feed() && (
    423423            strpos(get_query_var('feed'), 'feed') === 0 || strpos(get_query_var('feed'), 'rss') === 0
    424424            ) && $arg === 'rss2') {
     
    428428
    429429    public function feed_namespace() {
    430         if ($this->CFG['betterrssfeedscfg_tags_stylefeeds']) {
     430        if ($this->CFG['betterrssfeedscfg_style_stylefeeds']) {
    431431            echo 'xmlns:rssFeedStyles="http://www.wordpress.org/ns/xslt#"';
    432432            echo "\n";
     
    435435
    436436    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') {
    438438            return 'text/xml';
    439439        }
Note: See TracChangeset for help on using the changeset viewer.