이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

PE Category Filter

설명

This plugin allows you to exclude posts that belong to certain categories from your home page, while still being reachable from the inner sections of your site.

This is an ad-hoc solution that aims to do one thing, and do it right, with the smallest footprint possible (hopefully). So please note the following:

  • The functionality of this plugin can not be limited to a given widget on the home page. For example:

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 the same “MyCategory” in a widget that is also located in the home page, will not be possible.

Such a functionality, in my opinion, would be overkilling and does not represent the approach taken by this plugin.

  • The focus of this plugin is simplicity, performance and correctness of the code.

You can see this plugin in action the following projects:

  • http://asteriskfaqs.org – Important VoIP community project.
  • http://centosfaq.org
  • http://slackware-es.com – Spanish version of the Slackware Linux project’s website (Spanish)

스크린샷

  • Plugin in the Plugins menu.
  • Plugin configuration panel.

설치

  1. Upload pe-category-filter directory to your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to ‘Settings’ and choose which categories’ posts you want to exclude from the Home Page

If you manage your WordPress installation using composer, follow this instructions:

  1. Add the following in the requirements section of your composer.json file:

    "require": {
    "wpackagist-plugin/pe-category-filter":"^1.3"
    },

  2. Add the following to the repositories section of your composer.json file:

    "repositories" : [
    {
    "type":"composer",
    "url":"https://wpackagist.org"
    }
    ]

  3. Run composer install

A third installation method if you are using composer is to add the Github:

  1. Add the following in the requirements section of your composer.json file:

    "require": {
    "pavel_espinal/pe-category-filter":"^1.4.0"
    },

  2. Add the following to the repositories section of your composer.json file:

    "repositories" : [
    {
    "type":"git",
    "url":"https://github.com/jespinal/PE-Category-Filter.git"
    }
    ]

  3. Run composer install

FAQ

  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
    some other plugin. Is that possible?

No. At least not for now. Read the description for more details.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“PE Category Filter”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “PE Category Filter”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0

  • Stable release.

1.1

  • Allowing to exclude categories whether they have posts or not.
  • Global code assessment to ensure compatibility with latest WP versions.
  • Improving “readme” documentation.

1.2

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

1.3

  • Global code assessment to ensure compatibility with latest WP versions.
  • Adding the GitHub README.md file (this plugin is now also hosted on github).
  • Corrections to “readme” file/documentation.

1.4.0

  • Global code refactoring in order to use classes, namespaces and to ensure compatibility with latest WordPress and PHP versions.
  • Included a package definition using a composer.json file in order to allow installation from Github.
  • Included a phpcs.xml configuration file for phpcs.
  • Switched to semantic versioning system for releases.