這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Custom Permalink Editor

外掛說明

  • This plugin is Developed by Team KCG to change the URL of the post, page, and custom post.
  • This plugin allows you to edit permalink on posts, pages, custom posts.
  • This plugin Do not change the theme default permalink structure
  • You have to edit every post/page manually and edit the permalink.
  • If you Uninstall this plugin. Your post will back to the default permalink.

Free Plugin Support

  • If you need any custom modifications or for any other queries, feedback if you simply want to get in touch with us please use our contact form.

Privacy Policy

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

Filters

Add `PATH_INFO` in `$_SERVER` Variable

`
add_filter( ‘cp_editor_path_info’, ‘__return_true’ );

Exclude Permalink

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’ );

Exclude Post Type

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’ );

Exclude Posts

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’ );

Allow Accents Letters

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' );

Thanks for the Support

How To Use

You can change the permalink by following the steps.

  • Edit your posts/pages and create SEO friendly custom URL.
  • In the permalink box insert your desired permalink and update the post.
  • Preview your post and see the post URL is changed.
  • If you want to revert to the WordPress default URL system, just deactivate the plugin.

螢幕擷圖

  • screenshot-1.png

安裝方式

Follow the following step to Install Custom Permalink Editor through wordpress or Manually from FTP.

From within WordPress

  1. Visit ‘Plugins > Add New’
  2. Search for Custom Permalink Editor
  3. Activate Custom Permalink Editor from your Plugins page.

Manually

  1. Upload the custom-permalink-editor folder to the /wp-content/plugins/ directory
  2. Activate Custom Permalink Editor through the ‘Plugins’ menu in WordPress

使用者評論

2024 年 5 月 20 日
I am a developer and trying set custom permalink for my client from 3/4 days. then I found this plugin. Thanks Custom Permalink Editor team.
2021 年 11 月 5 日
I was searching for a lightweight and secured permalink editor, luckily I found this, It’s fast and shows no issue yet. Great plugin. Thank you guys for, awesome work.
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Custom Permalink Editor〉的開發相關工作。

參與者

將〈Custom Permalink Editor〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.4 – 29-03-2024

  • Tested with wordpress latest version.
  • Fix: Some basic issue.

1.0.2

  • Initial launch of the plugin