Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/wpup/cleanify/archive/refs/heads/master.zipOn Packagist as frozzare/cleanify:
composer require frozzare/cleanifyNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Requires PHP 5.4
Simple WordPress plugin to remove slug from custom post types permalinks.
Install
composer require frozzare/cleanify
Example
Before: http://example.com/photograph/random-name
After: http://example.com/random-name
add_filter( 'cleanify/cpts', function () {
return 'photograph';
} );
Filters
cleanify/cpts
Return all post types where the slug should be removed. Should be a string or array of strings.
License
MIT © Fredrik Forsmo
Releases
1 release.
Tag
Published
v1.0.0
latest
Apr 10, 2015 11 years ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.