KeepSpace

Description

WordPress by default omits consecutive spaces and leading/trailing spaces. KeepSpace can automatically convert regular spaces to special character spaces to prevent them from being omitted.

Main functions:

  • Automatically convert regular spaces into special-character spaces
  • Supports four independent toggles for title, excerpt, content, and comments
  • Provides three types of special space characters to choose from

Three types of special space characters:

  1. Non-breaking space (\u00A0) – Recommended

    • Same visual effect as  
    • Counts as only 1 character and does not affect excerpt truncation
  2. Chinese full-width space (\u3000)

    • In a Chinese environment, it’s very natural
    • The width is exactly one Chinese character
  3. HTML Entity Space ( )

    • Best compatibility, supported by all browsers
    • Counting 5 characters will affect the summary extraction

Captures d’écrans

  • Settings interface

Installation

  1. Upload the plugin files to the /wp-content/plugins directory
  2. Activate the plugin in the « Plugins » menu of the WordPress admin dashboard
  3. Go to « Settings » > « KeepSpace » to configure the plugin options

FAQ

Will existing content be automatically updated after changing the space type?

No. The special space type change only applies to newly saved content; existing special spaces in saved content will not be automatically updated.

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs/contributrices & développeurs/développeuses

« KeepSpace » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Traduisez « KeepSpace » dans votre langue.

Le développement vous intéresse ?

Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.

Journal des modifications

1.0.5(2025-10-13)

  • Optimize the space-replacement logic to reduce the chance of mistakenly intercepting other forms

1.0.4(2025-6-20)

  • Launch on wordpress.org