Plugin Directory

Changeset 1665883


Ignore:
Timestamp:
05/27/2017 07:22:08 PM (9 years ago)
Author:
khratos
Message:

Global code assessment to ensure compatibility with latest WP versions. Corrections to readme file/documentation.

Location:
pe-category-filter
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • pe-category-filter/trunk/pecf_catfilter.php

    r631367 r1665883  
    33 * @package PECF (PavelEspinal Category Filter)
    44 * @author Pavel Espinal
    5  * @version 1.1
     5 * @version 1.2
    66 */
    77/*
     
    99 Plugin URI:    http://pavelespinal.com/resume/downloads/
    1010 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
     11 Version:       1.2
    1212 Author:        J. Pavel Espinal
    13  Author URI:    http://pavelespinal.com/resume/about
     13 Author URI:    http://pavelespinal.com/
    1414 License:       GPL2
    1515
    16     Copyright 2012  J. Pavel Espinal  (email : jose@pavelespinal.com)
     16    Copyright 2017  J. Pavel Espinal  (email : jose@pavelespinal.com)
    1717
    1818    This program is free software; you can redistribute it and/or modify
     
    3131
    3232/* [1] Start */
    33 /* Taking out posts of not allowed categories */
     33/* Taking out posts of disallowed categories */
    3434add_action( 'pre_get_posts' , 'pecf_categ_excluder' );
    3535
  • pe-category-filter/trunk/readme.txt

    r631367 r1665883  
    22Contributors: khratos
    33Tags: category, filter, category filter, exclude post, home page, exclude from home
    4 Donate link: http://asteriskfaqs.org/2012/03/03/general/make-a-donation.html
     4Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=U8W8GKD6KM2G8
    55Requires at least: 3.0
    6 Tested up to: 3.4.2
    7 Stable tag: 1.1
     6Tested up to: 4.7.5
     7Stable tag: 1.2
    88
    99This plugin allows you to exclude posts that belong to certain categories from your home page.
     
    1414from the inner sections of your site.
    1515
    16 This is an ad-hoc solution that aims to do **one** thing, and do it right.
     16This 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:
    1717
    18 - Please note the following:
     18* The functionality of this plugin can not be limited to a given widget on the home page. Example:
    1919
    20 * The functionality of this plugin can not be limited to a given widget of the home page. Example:
     20Given 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.
    2121
    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.
     22Such 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.
    2623
    2724* The focus of this plugin is simplicity, performance and correctness of the code.
    2825
    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:
     26You can see this plugin in action the following projects:
    3127
    3228* http://asteriskfaqs.org - Important VoIP community project.
     29* http://centosfaq.org
    3330* http://slackware-es.com - Slackware Linux documentation project (Spanish)
    3431
     
    4239== Frequently Asked Questions ==
    4340
    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
     411. 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
    4542some other plugin. Is that possible?
    4643
     
    6158* Global code assessment to ensure compatibility with latest WP versions.
    6259* 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.