Remove Post Type Slug

外掛說明

This plugin provides a clean, SEO-friendly URL by allowing you to remove custom post type slugs with just a few clicks.

Key Features:
– Remove custom post type slugs via plugin settings in the admin dashboard under Remove Custom Post Type Slug Settings.
– View and select post type slugs to remove, then save your settings.

Developer Note

For additional customization, use the following filter:
add_filter('remove_custom_post_type_slug', function($slug_list) {
return $slug_list;
});

Ensure each slug name in the array matches exactly.

Supported functions:
post_type_link
get_the_permalink
the_permalink

This plugin is also compatible with Custom Post Type UI.

For questions, email akshay.shah5189@gmail.com.

If you’re looking to remove taxonomy slugs, check out my other plugin: Remove Taxonomy Slug

螢幕擷圖

  • Admin settings for configuring post type slugs.

安裝方式

  1. Upload remove-post-type-slug.php to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Remove Custom Post Type Slug Settings, select the post type slug, and save the settings.

使用者評論

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

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.0.1

  • Tested with the latest WordPress version.

1.0

  • Initial release