Sohaus Clean Emoji Slugs

外掛說明

Sohaus Clean Emoji Slugs keeps WordPress permalinks clean when editors use emoji in post titles.

By default, WordPress may include emoji or encoded emoji characters in generated slugs. This plugin removes emoji, pictograms, dingbats, variation selectors and related characters from slugs while leaving the original title unchanged.

Example:

❤️ I love WordPress 🩸

Becomes:

i-love-wordpress

The plugin works automatically when a post, page or supported public post type is saved.

Features

  • Removes emoji from slugs.
  • Cleans already encoded emoji in existing slugs when a post is saved, but does not bulk-update old posts automatically.
  • Keeps emoji in post titles.
  • Works on save and update.
  • Supports posts and pages by default.
  • Does not add database tables.
  • Does not track users.
  • Does not send any data to external services.

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/sohaus-clean-emoji-slugs directory, or install the plugin through the WordPress plugins screen.
  2. Activate the plugin through the “Plugins” screen in WordPress.
  3. Edit or create a post with emoji in the title.
  4. Save the post. The slug will be cleaned automatically.

常見問題集

Does this remove emoji from post titles?

No. The plugin only cleans the slug. The post title remains unchanged.

Does this change old URLs automatically?

No. Existing posts are cleaned when they are saved again. This avoids unexpected bulk URL changes.

Will this create redirects?

No. The plugin only changes the slug. If you change URLs for already published content, make sure redirects are handled by WordPress or by your SEO/redirection setup.

Does this work with custom post types?

The plugin can be adjusted to support custom post types. By default it is intended for all post types.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Sohaus Clean Emoji Slugs〉的開發相關工作。

參與者

將〈Sohaus Clean Emoji Slugs〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.0

  • Initial release.