
內容簡介
支援波蘭和捷克的排版規則
將連接詞、介詞等移到新行中(孤煙)
支援法文標點符號
在符號 ! ? ; % « » 前加入不斷行空格
運作方式?
本外掛會自動在指定單字或片語之後加入 HTML entity 不斷行空格 。例如,Mr. Someone 就會變成Mr. Someone。適用於:
文章內容
標題
頁面
自訂文章類型
評論
小工具
自訂內容
使用者可自行建立單字/片語清單,或匯入我們提供的建議。
自訂內容
使用 <?php auto_nbsp($content, $echo); ?> 函數,可以在自訂內容中加入 。在您的程式碼中使用此函數。
1. 參數 $content – (string) (必填) 自由文字
2. 參數 $echo – (bool) (選填) true (輸出), false (傳回),預設:true
其他功能:
* 兼容 Advanced Custom Fields 外掛
如果您有任何改善 Automatic NBSP 的建議,歡迎與我們聯絡。
外掛標籤
開發者團隊
原文外掛簡介
Support typographic rules in Polish and Czech
Moves conjunctions, prepositions, etc. to the new line. ( sierotki )
Support punctuation marks in French
Adds a non-breaking space before punctuation marks as ! ? ; % « »
How it works?
The plugin automatically adds HTML entity ( non-breaking space ) after selected words or phrases. E.g. ‘Mr. Someone’ should be ‘Mr. Someone’. Works with:
posts
titles
pages
custom post types
comments
widgets
custom contents
You can create your own list of words/phrases or import our proposals.
Custom contents
You can use the function to add to the custom content. Use this in your code.
1. Param $content – (string) (required) Free text
2. Param $echo – (bool) (optional) true (echo), false (return), Default: true
Other features:
* Advanced Custom Fields compatibility
If you have any ideas for how Automatic NBSP could be improved, you write to us.
