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
remove-slug-custom-post-typefolder to the
- 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%/
“Remove slug from custom post type” 是开源软件。 以下人员对此插件做出了贡献。贡献者
- Permalink regex fixed
- Suffix feature added
- Permalink bug fixed