WP Manifestindependent plugin directory
manifest / seo / cleanify

Cleanify

Remove slug from custom post types permalinks

by Fredrik Forsmo · github.com/frozzare/cleanify · website

3stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/frozzare/cleanify/archive/refs/heads/master.zip

Readme

Cleanify

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

Read the full README on GitHub →

Releases

TagPublished
v1.0.0 Apr 10, 2015

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.