Set Custom Permalink Editor on a per-post, per-tag per-page, and per-category basis.
This plugin does not collect any user Information
If you need any custom modification or any other thing contact with https://kingscrestglobal.com/ and mention Custom Permalink Editor
`
add_filter( ‘cp_editor_path_info’, ‘__return_true’ );
To exclude any Permalink to be processed by the plugin, add the filter that looks like this:
function team_kcg_exclude_permalink( $permalink ) {
if ( false !== strpos( $permalink, ‘sitemap.xml’ ) ) {
return ‘__true’;
}
return;
}
add_filter( ‘cp_editor_exclude_permalink’, ‘team_kcg_exclude_permalink’ );
To remove Custom Permalink Editor **form** from any post type, add the filter that looks like this:
function team_kcg_exclude_post_type( $post_type ) {
// Replace ‘custompost’ with your post type name
if ( ‘custompost’ === $post_type ) {
return ‘__true’;
}
return ‘__false’;
}
add_filter( ‘cp_editor_exclude_post_type’, ‘team_kcg_exclude_post_type’ );
To exclude Custom Permalink Editor **form** from any posts (based on ID, Template, etc), add the filter that looks like this:
function team_kcg_exclude_posts( $post ) {
if ( 1557 === $post->ID ) {
return true;
}
return false;
}
add_filter( ‘cp_editor_exclude_posts’, ‘team_kcg_exclude_posts’ );
To allow accents letters, please add this on your theme functions.php`: function team_kcg_allow_caps() { return true; } add_filter( 'cp_editor_allow_accents', 'team_kcg_allow_caps' );
You can change the permalink by following the steps.
Follow the following step to Install Custom Permalink Editor through wordpress or Manually from FTP.
From within WordPress
Manually
custom-permalink-editor
folder to the /wp-content/plugins/
directory