KeepSpace

Apraksts

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

Ekrānuzņēmumi

Uzstādīšana

  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

BUJ

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.

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“KeepSpace” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “KeepSpace&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

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