外掛說明
In WordPress 2.9 custom post type was introduced, that opened a new world for many WordPress developers.
When it comes to removing the slug and not destroying the rewrite rules for other post types this plugin works great.
This only concerns those who are using %postname% as permalink structure and want to add a custom post type so that
the urls for them are in the same way as normal posts and pages: http://siteurl/%custom_post_type_title%/.
Find more useful tips and plugins: Ultimate web tips
安裝方式
- Upload
remove-slug-custom-post-type
folder to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
常見問題集
- Which permalink structure do I need to have for this to work?
-
This only works if permalink structure is “/%postname%/
使用者評論
2018 年 1 月 12 日
it is not work when i add title post type same title post
2016 年 11 月 18 日
Recommended, it still works like a charm after 2 years without any update.
2016 年 9 月 3 日
it's just working. removed "product" slug from url
2016 年 9 月 3 日
Just install it and it will automatically remove the custom post slug from the post urls. Lovely <8
2016 年 9 月 3 日
It works OK, but when I uninstalled it broked my site (404 or redirect errors). I had to reset my htaccess file to make things work again.
2016 年 9 月 3 日
A nice and simple plugin that gets the job done of removing the slug of your custom post type from the permalink.
參與者及開發者
變更記錄
1.0.3
- Permalink regex fixed
- Suffix feature added
1.0.2
- Permalink bug fixed
1.0
- Released