外掛說明
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.
安裝方式
- Upload the plugin files to the
/wp-content/plugins/sohaus-clean-emoji-slugsdirectory, or install the plugin through the WordPress plugins screen. - Activate the plugin through the “Plugins” screen in WordPress.
- Edit or create a post with emoji in the title.
- 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.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.0.0
- Initial release.
