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

Electric Pagination Fix

説明

If you create a custom taxonomy in WordPress, whether it’s part of a theme or a plugin, you may encounter a 404 error when trying to view the taxonomy on the front end of your website.

This normally only happens if you are referencing the taxonomy in your permalinks, i.e. if your permalinks look something like this:

/%category%/%postname%/

At first glance this seems to be fine, until you try to navigate to page 2 of the taxonomy archive. This will result in WordPress sending you to a URL something like this:

www.your_site.com/your_taxonomy/page/2

The ‘/page/2’ bit stuck on the end will clash with your permalink settings, causing in an a 404 error.

This plugin fixes that 🙂

See https://www.electriccode.co.uk/blog/fixing-404-errors-with-wordpress-custom-taxonomies/ for more information.

Usage

Step 1. Install plugin
Step 2. Activate plugin
Step 3. Enjoy your error free custom taxonomy pagination

評価

2023年2月5日 1 reply
Used this as an immediate patch, and later added the code snippets recommended on the author's homepage. A frustrating problem fixed. Appreciate this plugin and the documentation, @electriccode.
1件のレビューをすべて表示

貢献者と開発者

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

貢献者

“Electric Pagination Fix” をあなたの言語に翻訳しましょう。

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

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

変更履歴

1.0.1

  • Bug fix

1.0.0

  • Initial release