このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

CleanCodeNZ Exclude Pages Plugin

説明

This plugin allows you to define the custom field to be attached to a page to be excluded from navigation and(or) search results.

As the exclusion is done through highly optimized cached general wordpress query, and queried once for even hierarchical data, this would provide best performance and scalability.
It is using custom fields without creating field or table, it is done in the most unobtrusive way.
Pages that have parent and child relationships are fully supported without any hassle.

Any issues: contact me.

インストール

  1. Upload this plugin to your plugins directory. It will create a ‘wp-content/plugins/cleancodenzexlp/’ directory
  2. WordPress users then can go to their Plugins page and activate “CleanCode NZ Exclude Pages Plugin”.
  3. Now go to Settings->CleanCodeNZEXLP, type in custom field name and value pair for pages to be excluded.
  4. That is all it needed for it to work

FAQ

What happens for parent and child pages
  1. When parent is excluded, child page is excluded, ==> neither appears
  2. When parent is excluded, child page is not excluded, ==> only child page will appear
  3. When parent is not excluded, child page is excluded, ==> only parent page will appear
  4. When parent is not excluded, child page is not excluded, ==> both parent and child page will appear
What do the options mean
  1. Exclude from search too =1 , Exclude from search only =1 ==> Exclude from search results only
  2. Exclude from search too =1 , Exclude from search only =0 ==> Exclude from both navigation and search results
  3. Exclude from search too =0 , Exclude from search only =1 ==> Exclude from search results only
  4. Exclude from search too =0 , Exclude from search only =0 ==> Exclude from navigation only

It is obvious not the smartest way to configure two exclusions, but has to be done like this to make it backward compatible.

Where can I find help for this plugin

You can find more information of this plugin from CleanCodeNz Exclude Pages WordPress Plugin

評価

このプラグインにはレビューがありません。

貢献者と開発者

CleanCodeNZ Exclude Pages Plugin はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“CleanCodeNZ Exclude Pages Plugin” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0.0 : First release

1.1.0 : Exclude from search feature added.

1.2.0 : Parent and child pages support added.

2.0.0 : Exclude from search results only is added, so now this plugin can be used for exclude from navigation or exclude from search results or both.