這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Top Level Categories

外掛說明

The Top Level Categories plugin allows you to remove the prefix before the URL to your category page. For example, instead of http://fortes.com/category/work, I use http://fortes.com/work for the address my “work” category. WordPress doesn’t allow you to have a blank prefix for categories (they insert category/ before the name), this plugin works around that restriction.

Known Issues / Bugs

  1. This plugin will not work if you have a permalink structure like %postname or %category%/%postname% — there is currently no workaround

Uninstall

  1. Deactivate the plugin
  2. That’s it! 🙂

安裝方式

  1. Copy the top-level-cats.php file into your wp-content/plugins directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. That’s it! 🙂

常見問題集

Installation Instructions
  1. Copy the top-level-cats.php file into your wp-content/plugins directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. That’s it! 🙂
My links are broken when using `%postname` or `%category%/%postname%` as my permalink structure

This is a known issue, for which there is unfortunately no good workaround. If you add a suffix to your permalink structure (such as .html) you can fix this issue. For example, try %category%/%postname%.html — I realize this is not ideal, but there is no good solution for this issue.

How do I automatically redirect people from the old category permalink?

Use the Permalink Redirect Plugin

I’m getting 404 errors when I click on my category link

First, make sure that you’ve followed the installation instructions — you must manually update your permalink structure (in the ‘Options’ -> ‘Permalinks’ section of your admin). If that doesn’t work, then let me know!

I’ve found a bug, how can I tell you about it so you’ll fix it for me?

Go to http://fortes.com/contact and fill out the contact form. Make sure you let me know the following:

  • What version of WordPress you’re using
  • What other plugins you’re running
  • What your permalink structure is
  • Exactly what problem you’re seeing

Unfortunately, I do have a life outside of this plugin, so don’t be sad if I don’t fix the bug within 5 minutes.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Top Level Categories〉的開發相關工作。

參與者

將〈Top Level Categories〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄