Changeset 675616
- Timestamp:
- 03/03/2013 07:59:31 AM (13 years ago)
- Location:
- follow-category-feeds
- Files:
-
- 3 added
- 2 edited
- 4 copied
-
assets (added)
-
assets/screenshot-1.png (added)
-
assets/screenshot-2.png (added)
-
tags/2.1.3 (copied) (copied from follow-category-feeds/trunk)
-
tags/2.1.3/follow-category-feeds.php (copied) (copied from follow-category-feeds/trunk/follow-category-feeds.php) (4 diffs)
-
tags/2.1.3/readme.txt (copied) (copied from follow-category-feeds/trunk/readme.txt) (3 diffs)
-
tags/2.1.3/screenshot-2.png (copied) (copied from follow-category-feeds/trunk/screenshot-2.png)
-
trunk/follow-category-feeds.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
follow-category-feeds/tags/2.1.3/follow-category-feeds.php
r615699 r675616 4 4 Plugin URI: http://www.prasannasp.net/follow-wordpress-category-feeds-plugin/ 5 5 Description: 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. 26 Version: 2.1.3 7 7 Author: Prasanna SP 8 8 Author URI: http://www.prasannasp.net/ … … 27 27 28 28 function fwcf_get_cat_feed_links() { 29 $options = get_option('fwcf_options'); 30 if (isset($options['rel_nofollow'])) 31 { 32 $rel = 'rel="nofollow"'; 33 } 34 29 35 $cats = get_the_category(); 30 36 foreach ($cats as $cat) { 31 $catfeedlinks[] = '<a href="'37 $catfeedlinks[] = '<a '.$rel.' href="' 32 38 .get_category_feed_link($cat->cat_ID,'') 33 39 .'">'.$cat->cat_name.'</a>'; 34 }40 } 35 41 return implode(', ', $catfeedlinks); 36 42 } … … 40 46 $followcatstext = $options['follow_cats_txt']; 41 47 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 { 44 50 $content .= '<p class="follow-cat-feed"> '.$followcatstext.' '.fwcf_get_cat_feed_links().'</p>'; 45 }51 } 46 52 return $content; 47 48 53 } 49 54 … … 108 113 </td> 109 114 </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> 110 121 <tr><td colspan="2"><div style="margin-top:10px;"></div></td></tr> 111 122 <tr valign="top" style="border-top:#dddddd 1px solid;"> 112 123 <th scope="row">Database Options:</th> 113 124 <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> 115 126 <br /><span style="color:#666666;margin-left:2px;">Only check this if you want to reset plugin settings upon Plugin reactivation</span> 116 127 </td> -
follow-category-feeds/tags/2.1.3/readme.txt
r615699 r675616 1 1 === Follow WordPress Category Feeds === 2 Contributors: prasannasp 2 Contributors: prasannasp 3 3 Donate link: http://www.prasannasp.net/donate 4 License: GPLv3 4 Tags: categories, RSS, feed, link, follow, subscribe, post, category 5 Requires at least: 3.1 6 Tested up to: 3.5.1 7 Stable tag: 2.1.3 8 License: GPLv2 or later 5 9 License URI: http://www.gnu.org/copyleft/gpl.html 6 Tags: categories, RSS, feed, follow, subscribe7 Requires at least: 3.18 Tested up to: 3.4.29 Stable tag: 2.1.210 10 11 This plugin adds category feed links after post content on single posts.11 This plugin adds link for the category feeds after post content. 12 12 13 13 == Description == 14 14 15 Just 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. 15 16 16 Visit <a href="http://www.prasannasp.net/wordpress-plugins/">this page</a> for more <strong>WordPress Plugins</strong>from the developer.17 Visit [this page](http://www.prasannasp.net/wordpress-plugins/) for more **WordPress Plugins** from the developer. 17 18 18 Visit <a href="http://www.prasannasp.net/">developer's blog</a>for more information on WordPress and plugins.19 Visit [developer's blog](http://www.prasannasp.net/) for more information on WordPress and plugins. 19 20 20 21 == Installation == … … 32 33 33 34 == Changelog == 35 36 = 2.1.3 = 37 38 * Added option to include `rel="nofollow"` in links. 34 39 35 40 = 2.1.2 = … … 65 70 66 71 == 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 4 4 Plugin URI: http://www.prasannasp.net/follow-wordpress-category-feeds-plugin/ 5 5 Description: 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. 26 Version: 2.1.3 7 7 Author: Prasanna SP 8 8 Author URI: http://www.prasannasp.net/ … … 27 27 28 28 function fwcf_get_cat_feed_links() { 29 $options = get_option('fwcf_options'); 30 if (isset($options['rel_nofollow'])) 31 { 32 $rel = 'rel="nofollow"'; 33 } 34 29 35 $cats = get_the_category(); 30 36 foreach ($cats as $cat) { 31 $catfeedlinks[] = '<a href="'37 $catfeedlinks[] = '<a '.$rel.' href="' 32 38 .get_category_feed_link($cat->cat_ID,'') 33 39 .'">'.$cat->cat_name.'</a>'; 34 }40 } 35 41 return implode(', ', $catfeedlinks); 36 42 } … … 40 46 $followcatstext = $options['follow_cats_txt']; 41 47 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 { 44 50 $content .= '<p class="follow-cat-feed"> '.$followcatstext.' '.fwcf_get_cat_feed_links().'</p>'; 45 }51 } 46 52 return $content; 47 48 53 } 49 54 … … 108 113 </td> 109 114 </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> 110 121 <tr><td colspan="2"><div style="margin-top:10px;"></div></td></tr> 111 122 <tr valign="top" style="border-top:#dddddd 1px solid;"> 112 123 <th scope="row">Database Options:</th> 113 124 <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> 115 126 <br /><span style="color:#666666;margin-left:2px;">Only check this if you want to reset plugin settings upon Plugin reactivation</span> 116 127 </td> -
follow-category-feeds/trunk/readme.txt
r615699 r675616 1 1 === Follow WordPress Category Feeds === 2 Contributors: prasannasp 2 Contributors: prasannasp 3 3 Donate link: http://www.prasannasp.net/donate 4 License: GPLv3 4 Tags: categories, RSS, feed, link, follow, subscribe, post, category 5 Requires at least: 3.1 6 Tested up to: 3.5.1 7 Stable tag: 2.1.3 8 License: GPLv2 or later 5 9 License URI: http://www.gnu.org/copyleft/gpl.html 6 Tags: categories, RSS, feed, follow, subscribe7 Requires at least: 3.18 Tested up to: 3.4.29 Stable tag: 2.1.210 10 11 This plugin adds category feed links after post content on single posts.11 This plugin adds link for the category feeds after post content. 12 12 13 13 == Description == 14 14 15 Just 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. 15 16 16 Visit <a href="http://www.prasannasp.net/wordpress-plugins/">this page</a> for more <strong>WordPress Plugins</strong>from the developer.17 Visit [this page](http://www.prasannasp.net/wordpress-plugins/) for more **WordPress Plugins** from the developer. 17 18 18 Visit <a href="http://www.prasannasp.net/">developer's blog</a>for more information on WordPress and plugins.19 Visit [developer's blog](http://www.prasannasp.net/) for more information on WordPress and plugins. 19 20 20 21 == Installation == … … 32 33 33 34 == Changelog == 35 36 = 2.1.3 = 37 38 * Added option to include `rel="nofollow"` in links. 34 39 35 40 = 2.1.2 = … … 65 70 66 71 == 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.