Plugin Directory

Changeset 675616


Ignore:
Timestamp:
03/03/2013 07:59:31 AM (13 years ago)
Author:
prasannasp
Message:

Adding version 2.1.3 of follow wordpress category feeds plugin

Location:
follow-category-feeds
Files:
3 added
2 edited
4 copied

Legend:

Unmodified
Added
Removed
  • follow-category-feeds/tags/2.1.3/follow-category-feeds.php

    r615699 r675616  
    44Plugin URI: http://www.prasannasp.net/follow-wordpress-category-feeds-plugin/
    55Description: This plugin adds link to RSS feed for the current post categories after post content. RSS feed link for categories are usually /category/categoryname/feed. Make sure you are not redirecting your category feeds to feedburner before activating this plugin.
    6 Version: 2.1.2
     6Version: 2.1.3
    77Author: Prasanna SP
    88Author URI: http://www.prasannasp.net/
     
    2727
    2828function fwcf_get_cat_feed_links() {
     29$options = get_option('fwcf_options');
     30    if (isset($options['rel_nofollow']))
     31    {
     32    $rel = 'rel="nofollow"';
     33    }
     34
    2935$cats = get_the_category();
    3036foreach ($cats as $cat) {
    31 $catfeedlinks[] = '<a href="'
     37$catfeedlinks[] = '<a '.$rel.' href="'
    3238.get_category_feed_link($cat->cat_ID,'')
    3339.'">'.$cat->cat_name.'</a>';
    34 }
     40    }
    3541return implode(', ', $catfeedlinks);
    3642}
     
    4046    $followcatstext = $options['follow_cats_txt'];
    4147
    42  if (isset($options['on_other_pages']) && !(is_page() || is_attachment()) || is_single() )
    43  {
     48    if (isset($options['on_other_pages']) && !(is_page() || is_attachment()) || is_single() )
     49        {
    4450        $content .= '<p class="follow-cat-feed"> '.$followcatstext.' '.fwcf_get_cat_feed_links().'</p>';
    45             }
     51        }
    4652    return $content;
    47 
    4853}
    4954
     
    108113                    </td>
    109114                </tr>
     115                <tr valign="top">
     116                    <th scope="row">Add rel="nofollow" to feed links?</th>
     117                    <td>
     118                        <label><input name="fwcf_options[rel_nofollow]" type="checkbox" value="1" <?php if (isset($options['rel_nofollow'])) { checked('1', $options['rel_nofollow']); } ?> /> </label><br />
     119                    </td>
     120                </tr>
    110121                <tr><td colspan="2"><div style="margin-top:10px;"></div></td></tr>
    111122                <tr valign="top" style="border-top:#dddddd 1px solid;">
    112123                    <th scope="row">Database Options:</th>
    113124                    <td>
    114                         <label><input name="fwcf_options[fwcf_default_options_db]" type="checkbox" value="1" <?php if (isset($options['fwcf_default_options_db'])) { checked('1', $options['fwcf_default_options_db']); } ?> />Restore defaults upon plugin deactivation/reactivation</label>
     125                        <label><input name="fwcf_options[fwcf_default_options_db]" type="checkbox" value="1" <?php if (isset($options['fwcf_default_options_db'])) { checked('1', $options['fwcf_default_options_db']); } ?> /> Restore defaults upon plugin deactivation/reactivation</label>
    115126                        <br /><span style="color:#666666;margin-left:2px;">Only check this if you want to reset plugin settings upon Plugin reactivation</span>
    116127                    </td>
  • follow-category-feeds/tags/2.1.3/readme.txt

    r615699 r675616  
    11=== Follow WordPress Category Feeds ===
    2 Contributors: prasannasp 
     2Contributors: prasannasp
    33Donate link: http://www.prasannasp.net/donate
    4 License: GPLv3
     4Tags: categories, RSS, feed, link, follow, subscribe, post, category
     5Requires at least: 3.1
     6Tested up to: 3.5.1
     7Stable tag: 2.1.3
     8License: GPLv2 or later
    59License URI: http://www.gnu.org/copyleft/gpl.html
    6 Tags: categories, RSS, feed, follow, subscribe
    7 Requires at least: 3.1
    8 Tested up to: 3.4.2
    9 Stable tag: 2.1.2
    1010
    11 This plugin adds category feed links after post content on single posts.
     11This plugin adds link for the category feeds after post content.
    1212
    1313== Description ==
     14
    1415Just like the normal Wordpress site feed, wordpress categories and tags also has feeds. The category feed is located at `site.url/category/categoryname/feed`. This plugin automatically adds the RSS feed link to the current post categories after the post content. By default the plugin shows category feed link on single posts. You can change it's settings to show it on other pages, such as archives as well. You can change it's title in WP-Admin --> Settings --> Follow Category Feeds.
    1516
    16 Visit <a href="http://www.prasannasp.net/wordpress-plugins/">this page</a> for more <strong>WordPress Plugins</strong> from the developer.
     17Visit [this page](http://www.prasannasp.net/wordpress-plugins/) for more **WordPress Plugins** from the developer.
    1718
    18 Visit <a href="http://www.prasannasp.net/">developer's blog</a> for more information on WordPress and plugins.
     19Visit [developer's blog](http://www.prasannasp.net/) for more information on WordPress and plugins.
    1920
    2021== Installation ==
     
    3233
    3334== Changelog ==
     35
     36= 2.1.3 =
     37
     38* Added option to include `rel="nofollow"` in links.
    3439
    3540= 2.1.2 =
     
    6570
    6671== Upgrade Notice ==
    67 
    68 * Version 1.0 has a deprecated function and there is a bug in version 1.1. So, please update to the latest version (2.0 or later)
  • follow-category-feeds/trunk/follow-category-feeds.php

    r615699 r675616  
    44Plugin URI: http://www.prasannasp.net/follow-wordpress-category-feeds-plugin/
    55Description: This plugin adds link to RSS feed for the current post categories after post content. RSS feed link for categories are usually /category/categoryname/feed. Make sure you are not redirecting your category feeds to feedburner before activating this plugin.
    6 Version: 2.1.2
     6Version: 2.1.3
    77Author: Prasanna SP
    88Author URI: http://www.prasannasp.net/
     
    2727
    2828function fwcf_get_cat_feed_links() {
     29$options = get_option('fwcf_options');
     30    if (isset($options['rel_nofollow']))
     31    {
     32    $rel = 'rel="nofollow"';
     33    }
     34
    2935$cats = get_the_category();
    3036foreach ($cats as $cat) {
    31 $catfeedlinks[] = '<a href="'
     37$catfeedlinks[] = '<a '.$rel.' href="'
    3238.get_category_feed_link($cat->cat_ID,'')
    3339.'">'.$cat->cat_name.'</a>';
    34 }
     40    }
    3541return implode(', ', $catfeedlinks);
    3642}
     
    4046    $followcatstext = $options['follow_cats_txt'];
    4147
    42  if (isset($options['on_other_pages']) && !(is_page() || is_attachment()) || is_single() )
    43  {
     48    if (isset($options['on_other_pages']) && !(is_page() || is_attachment()) || is_single() )
     49        {
    4450        $content .= '<p class="follow-cat-feed"> '.$followcatstext.' '.fwcf_get_cat_feed_links().'</p>';
    45             }
     51        }
    4652    return $content;
    47 
    4853}
    4954
     
    108113                    </td>
    109114                </tr>
     115                <tr valign="top">
     116                    <th scope="row">Add rel="nofollow" to feed links?</th>
     117                    <td>
     118                        <label><input name="fwcf_options[rel_nofollow]" type="checkbox" value="1" <?php if (isset($options['rel_nofollow'])) { checked('1', $options['rel_nofollow']); } ?> /> </label><br />
     119                    </td>
     120                </tr>
    110121                <tr><td colspan="2"><div style="margin-top:10px;"></div></td></tr>
    111122                <tr valign="top" style="border-top:#dddddd 1px solid;">
    112123                    <th scope="row">Database Options:</th>
    113124                    <td>
    114                         <label><input name="fwcf_options[fwcf_default_options_db]" type="checkbox" value="1" <?php if (isset($options['fwcf_default_options_db'])) { checked('1', $options['fwcf_default_options_db']); } ?> />Restore defaults upon plugin deactivation/reactivation</label>
     125                        <label><input name="fwcf_options[fwcf_default_options_db]" type="checkbox" value="1" <?php if (isset($options['fwcf_default_options_db'])) { checked('1', $options['fwcf_default_options_db']); } ?> /> Restore defaults upon plugin deactivation/reactivation</label>
    115126                        <br /><span style="color:#666666;margin-left:2px;">Only check this if you want to reset plugin settings upon Plugin reactivation</span>
    116127                    </td>
  • follow-category-feeds/trunk/readme.txt

    r615699 r675616  
    11=== Follow WordPress Category Feeds ===
    2 Contributors: prasannasp 
     2Contributors: prasannasp
    33Donate link: http://www.prasannasp.net/donate
    4 License: GPLv3
     4Tags: categories, RSS, feed, link, follow, subscribe, post, category
     5Requires at least: 3.1
     6Tested up to: 3.5.1
     7Stable tag: 2.1.3
     8License: GPLv2 or later
    59License URI: http://www.gnu.org/copyleft/gpl.html
    6 Tags: categories, RSS, feed, follow, subscribe
    7 Requires at least: 3.1
    8 Tested up to: 3.4.2
    9 Stable tag: 2.1.2
    1010
    11 This plugin adds category feed links after post content on single posts.
     11This plugin adds link for the category feeds after post content.
    1212
    1313== Description ==
     14
    1415Just like the normal Wordpress site feed, wordpress categories and tags also has feeds. The category feed is located at `site.url/category/categoryname/feed`. This plugin automatically adds the RSS feed link to the current post categories after the post content. By default the plugin shows category feed link on single posts. You can change it's settings to show it on other pages, such as archives as well. You can change it's title in WP-Admin --> Settings --> Follow Category Feeds.
    1516
    16 Visit <a href="http://www.prasannasp.net/wordpress-plugins/">this page</a> for more <strong>WordPress Plugins</strong> from the developer.
     17Visit [this page](http://www.prasannasp.net/wordpress-plugins/) for more **WordPress Plugins** from the developer.
    1718
    18 Visit <a href="http://www.prasannasp.net/">developer's blog</a> for more information on WordPress and plugins.
     19Visit [developer's blog](http://www.prasannasp.net/) for more information on WordPress and plugins.
    1920
    2021== Installation ==
     
    3233
    3334== Changelog ==
     35
     36= 2.1.3 =
     37
     38* Added option to include `rel="nofollow"` in links.
    3439
    3540= 2.1.2 =
     
    6570
    6671== Upgrade Notice ==
    67 
    68 * Version 1.0 has a deprecated function and there is a bug in version 1.1. So, please update to the latest version (2.0 or later)
Note: See TracChangeset for help on using the changeset viewer.