Changeset 631367
- Timestamp:
- 11/28/2012 04:16:24 PM (13 years ago)
- Location:
- pe-category-filter
- Files:
-
- 1 added
- 2 edited
- 5 copied
-
tags/1.1 (added)
-
tags/1.1/pecf_catfilter.php (copied) (copied from pe-category-filter/trunk/pecf_catfilter.php) (2 diffs)
-
tags/1.1/pecf_menu_form.php (copied) (copied from pe-category-filter/trunk/pecf_menu_form.php)
-
tags/1.1/readme.txt (copied) (copied from pe-category-filter/trunk/readme.txt) (3 diffs)
-
tags/1.1/screenshot-1.png (copied) (copied from pe-category-filter/trunk/screenshot-1.png)
-
tags/1.1/screenshot-2.png (copied) (copied from pe-category-filter/trunk/screenshot-2.png)
-
trunk/pecf_catfilter.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pe-category-filter/tags/1.1/pecf_catfilter.php
r631200 r631367 3 3 * @package PECF (PavelEspinal Category Filter) 4 4 * @author Pavel Espinal 5 * @version 1. 05 * @version 1.1 6 6 */ 7 7 /* 8 8 Plugin Name: PE Category Filter 9 9 Plugin URI: http://pavelespinal.com/resume/downloads/ 10 Description: This plugin filters the Categories that will show up in the front page of your website.<br/> This plugin attempts to be a well written way to filter categories on Wordpress.11 Version: 1. 010 Description: This plugin filters the Categories that will show up in the front page of your website.<br/> This plugin attempts to be a well written (using WP native methods) way to filter categories on Wordpress. 11 Version: 1.1 12 12 Author: J. Pavel Espinal 13 Author URI: http:// www.pavelespinal.com13 Author URI: http://pavelespinal.com/resume/about 14 14 License: GPL2 15 15 … … 94 94 $options = get_option('pecf_cat-list'); 95 95 96 $args = array( 'taxonomy' => 'category' );96 $args = array( 'taxonomy' => 'category', 'hide_empty' => 0); 97 97 $cat_list = get_categories($args); 98 98 -
pe-category-filter/tags/1.1/readme.txt
r631200 r631367 1 1 === PE Category Filter === 2 2 Contributors: khratos 3 Tags: category, filter, category filter, exclude post, home page 3 Tags: category, filter, category filter, exclude post, home page, exclude from home 4 4 Donate link: http://asteriskfaqs.org/2012/03/03/general/make-a-donation.html 5 5 Requires at least: 3.0 6 Tested up to: 3. 3.17 Stable tag: 1. 06 Tested up to: 3.4.2 7 Stable tag: 1.1 8 8 9 9 This plugin allows you to exclude posts that belong to certain categories from your home page. … … 11 11 == Description == 12 12 13 This plugin allows you to **exclude** posts that belong to certain categories from your * home page*, while they will still be reachable13 This plugin allows you to **exclude** posts that belong to certain categories from your **home page**, while they will still be reachable 14 14 from the inner sections of your site. 15 15 16 Please note that you should have at least one post in certaing category in order to be able to exclude that category's posts from Home Page it using this plugin.16 This is an ad-hoc solution that aims to do **one** thing, and do it right. 17 17 18 The focus of this plugin is simplicity, performance and correctness of the code. 18 - Please note the following: 19 19 20 You can see this plugin in action here: http://asteriskfaqs.org , where the post in home page 21 are exclusively the ones I have written, while others (automatically posted via email) are 22 present in the inner sections. 20 * The functionality of this plugin can not be limited to a given widget of the home page. Example: 21 22 You have a category "MyCategory" from which you will exclude posts from the **home page**. 23 A the same time, you want to display posts of "MyCategory" in a widget that is located **in the home page**. 24 25 That would be overkilling. You don't need to *exclude* everything and do one exception, you need to *allow* everything and do one exception. 26 27 * The focus of this plugin is simplicity, performance and correctness of the code. 28 29 - You can see this plugin in action the following projects where the post in home page are exclusively the ones I have written, while others 30 (automatically posted via email) are present in the inner sections: 31 32 * http://asteriskfaqs.org - Important VoIP community project. 33 * http://slackware-es.com - Slackware Linux documentation project (Spanish) 34 23 35 24 36 == Installation == 25 37 26 38 1. Upload `pecf_catfilter` to the `/wp-content/plugins/` directory 27 1. Activate the plugin through the 'Plugins' menu in WordPress28 1. Go to 'Settings' and choose which categories' posts you want to _exclude_ from the Home Page39 2. Activate the plugin through the 'Plugins' menu in WordPress 40 3. Go to 'Settings' and choose which categories' posts you want to _exclude_ from the Home Page 29 41 30 42 == Frequently Asked Questions == 31 43 32 None. Yet. 44 * I'm using the plugin and while it works as expected, I would like it to allow content from a filtered category to be displayed by 45 some other plugin. Is that possible? 46 47 No. At least not for now. Read the description for more details. 33 48 34 49 == Screenshots == … … 41 56 = 1.0 = 42 57 * Stable release. 58 59 = 1.1 = 60 * Allowing to exclude categories whether they have posts or not. 61 * Global code assessment to ensure compatibility with latest WP versions. 62 * Improving "readme" documentation. -
pe-category-filter/trunk/pecf_catfilter.php
r513918 r631367 3 3 * @package PECF (PavelEspinal Category Filter) 4 4 * @author Pavel Espinal 5 * @version 1. 05 * @version 1.1 6 6 */ 7 7 /* 8 8 Plugin Name: PE Category Filter 9 9 Plugin URI: http://pavelespinal.com/resume/downloads/ 10 Description: This plugin filters the Categories that will show up in the front page of your website.<br/> This plugin attempts to be a well written way to filter categories on Wordpress.11 Version: 1. 010 Description: This plugin filters the Categories that will show up in the front page of your website.<br/> This plugin attempts to be a well written (using WP native methods) way to filter categories on Wordpress. 11 Version: 1.1 12 12 Author: J. Pavel Espinal 13 Author URI: http:// www.pavelespinal.com13 Author URI: http://pavelespinal.com/resume/about 14 14 License: GPL2 15 15 … … 94 94 $options = get_option('pecf_cat-list'); 95 95 96 $args = array( 'taxonomy' => 'category' );96 $args = array( 'taxonomy' => 'category', 'hide_empty' => 0); 97 97 $cat_list = get_categories($args); 98 98 -
pe-category-filter/trunk/readme.txt
r513918 r631367 1 1 === PE Category Filter === 2 2 Contributors: khratos 3 Tags: category, filter, category filter, exclude post, home page 3 Tags: category, filter, category filter, exclude post, home page, exclude from home 4 4 Donate link: http://asteriskfaqs.org/2012/03/03/general/make-a-donation.html 5 5 Requires at least: 3.0 6 Tested up to: 3. 3.17 Stable tag: 1. 06 Tested up to: 3.4.2 7 Stable tag: 1.1 8 8 9 9 This plugin allows you to exclude posts that belong to certain categories from your home page. … … 11 11 == Description == 12 12 13 This plugin allows you to **exclude** posts that belong to certain categories from your * home page*, while they will still be reachable13 This plugin allows you to **exclude** posts that belong to certain categories from your **home page**, while they will still be reachable 14 14 from the inner sections of your site. 15 15 16 Please note that you should have at least one post in certaing category in order to be able to exclude that category's posts from Home Page it using this plugin.16 This is an ad-hoc solution that aims to do **one** thing, and do it right. 17 17 18 The focus of this plugin is simplicity, performance and correctness of the code. 18 - Please note the following: 19 19 20 You can see this plugin in action here: http://asteriskfaqs.org , where the post in home page 21 are exclusively the ones I have written, while others (automatically posted via email) are 22 present in the inner sections. 20 * The functionality of this plugin can not be limited to a given widget of the home page. Example: 21 22 You have a category "MyCategory" from which you will exclude posts from the **home page**. 23 A the same time, you want to display posts of "MyCategory" in a widget that is located **in the home page**. 24 25 That would be overkilling. You don't need to *exclude* everything and do one exception, you need to *allow* everything and do one exception. 26 27 * The focus of this plugin is simplicity, performance and correctness of the code. 28 29 - You can see this plugin in action the following projects where the post in home page are exclusively the ones I have written, while others 30 (automatically posted via email) are present in the inner sections: 31 32 * http://asteriskfaqs.org - Important VoIP community project. 33 * http://slackware-es.com - Slackware Linux documentation project (Spanish) 34 23 35 24 36 == Installation == 25 37 26 38 1. Upload `pecf_catfilter` to the `/wp-content/plugins/` directory 27 1. Activate the plugin through the 'Plugins' menu in WordPress28 1. Go to 'Settings' and choose which categories' posts you want to _exclude_ from the Home Page39 2. Activate the plugin through the 'Plugins' menu in WordPress 40 3. Go to 'Settings' and choose which categories' posts you want to _exclude_ from the Home Page 29 41 30 42 == Frequently Asked Questions == 31 43 32 None. Yet. 44 * I'm using the plugin and while it works as expected, I would like it to allow content from a filtered category to be displayed by 45 some other plugin. Is that possible? 46 47 No. At least not for now. Read the description for more details. 33 48 34 49 == Screenshots == … … 41 56 = 1.0 = 42 57 * Stable release. 58 59 = 1.1 = 60 * Allowing to exclude categories whether they have posts or not. 61 * Global code assessment to ensure compatibility with latest WP versions. 62 * Improving "readme" documentation.
Note: See TracChangeset
for help on using the changeset viewer.