Changeset 1665883
- Timestamp:
- 05/27/2017 07:22:08 PM (9 years ago)
- Location:
- pe-category-filter
- Files:
-
- 6 added
- 2 edited
-
tags/1.2 (added)
-
tags/1.2/pecf_catfilter.php (added)
-
tags/1.2/pecf_menu_form.php (added)
-
tags/1.2/readme.txt (added)
-
tags/1.2/screenshot-1.png (added)
-
tags/1.2/screenshot-2.png (added)
-
trunk/pecf_catfilter.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pe-category-filter/trunk/pecf_catfilter.php
r631367 r1665883 3 3 * @package PECF (PavelEspinal Category Filter) 4 4 * @author Pavel Espinal 5 * @version 1. 15 * @version 1.2 6 6 */ 7 7 /* … … 9 9 Plugin URI: http://pavelespinal.com/resume/downloads/ 10 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 (using WP native methods) way to filter categories on Wordpress. 11 Version: 1. 111 Version: 1.2 12 12 Author: J. Pavel Espinal 13 Author URI: http://pavelespinal.com/ resume/about13 Author URI: http://pavelespinal.com/ 14 14 License: GPL2 15 15 16 Copyright 201 2J. Pavel Espinal (email : jose@pavelespinal.com)16 Copyright 2017 J. Pavel Espinal (email : jose@pavelespinal.com) 17 17 18 18 This program is free software; you can redistribute it and/or modify … … 31 31 32 32 /* [1] Start */ 33 /* Taking out posts of notallowed categories */33 /* Taking out posts of disallowed categories */ 34 34 add_action( 'pre_get_posts' , 'pecf_categ_excluder' ); 35 35 -
pe-category-filter/trunk/readme.txt
r631367 r1665883 2 2 Contributors: khratos 3 3 Tags: category, filter, category filter, exclude post, home page, exclude from home 4 Donate link: http ://asteriskfaqs.org/2012/03/03/general/make-a-donation.html4 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=U8W8GKD6KM2G8 5 5 Requires at least: 3.0 6 Tested up to: 3.4.27 Stable tag: 1. 16 Tested up to: 4.7.5 7 Stable tag: 1.2 8 8 9 9 This plugin allows you to exclude posts that belong to certain categories from your home page. … … 14 14 from the inner sections of your site. 15 15 16 This is an ad-hoc solution that aims to do **one** thing, and do it right.16 This is an ad-hoc solution that aims to do **one** thing, and do it **right** with near the smallest footprint possible. So please note the following: 17 17 18 - Please note the following:18 * The functionality of this plugin can not be limited to a given widget on the home page. Example: 19 19 20 * The functionality of this plugin can not be limited to a given widget of the home page. Example: 20 Given a the category "MyCategory" from which you want to exclude posts on the **home page**, and at the same time you want to display posts of "MyCategory" in a widget that is also located **in the home page**, will not be possible. 21 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. 22 Such a functionality, in my opinion, would be overkilling because what you are looking for is not to *exclude* everything and do one exception, instead you should *allow* everything and do one exception. 26 23 27 24 * The focus of this plugin is simplicity, performance and correctness of the code. 28 25 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: 26 You can see this plugin in action the following projects: 31 27 32 28 * http://asteriskfaqs.org - Important VoIP community project. 29 * http://centosfaq.org 33 30 * http://slackware-es.com - Slackware Linux documentation project (Spanish) 34 31 … … 42 39 == Frequently Asked Questions == 43 40 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 by41 1. 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 42 some other plugin. Is that possible? 46 43 … … 61 58 * Global code assessment to ensure compatibility with latest WP versions. 62 59 * Improving "readme" documentation. 60 61 = 1.2 = 62 * Global code assessment to ensure compatibility with latest WP versions. 63 * Corrections to "readme" file/documentation.
Note: See TracChangeset
for help on using the changeset viewer.