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

Remove Taxonomy Slug

外掛說明

This plugin will give you the advantage of having the clean seo url. You can remove taxonomy slug and have the seo friend url by click couple of clicks.

This plugin can remove the custom taxonomy slug as well by going into the plugin settings.

You can do this by doing the admin login and check admin menu > Remove Taxonomy Slug Settings

Once you click on it you will be able to see all existing the taxonomy slug you just need to selected it and save the settings.

For the developer i have given the filter as well with the use of that filter you can directly add the slug in the array which will remove the slug.

Filter name is remove_taxonmy_slug_filter.
add_filter( ‘remove_taxonmy_slug_filter’,function ( $slug_list ){
return $slug_list
} );

In the above array you need to make sure that you pass the slug name as it is.

It is working with the below functions you just need to make sure that you have used the one of the below function to have the catgory link.

term_link
get_category_link
get_term_link
category_link

This plugin is compatible with custom post type ui as well.

Apart of this you can create the ticket for your query or reach me out for quick question on akshay.shah5189@gmail.com

If you are looking to remmove the post type slug, I am having another plugin that you can find it here : https://wordpress.org/plugins/remove-post-type-slug/

螢幕擷圖

  • Admin side setting screenshot.

安裝方式

This section describes how to install the plugin and get it working.

e.g.

  1. Upload remove-taxonmy-slug.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Goto admin menu and click on the taxonomy slug and select the slug from slug list.
  4. You are done.

使用者評論

2022 年 11 月 21 日
Solved taxonomy slug on custom post type with one click. I absolutely recommend using this plugin if you are not familiar with the code.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Remove Taxonomy Slug〉的開發相關工作。

參與者

將〈Remove Taxonomy Slug〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.1

  • Version Update

1.0

  • A change since the previous version.
  • Another change.