[wordpress插件] Automatic NBSP自动NBSP

wordpress 插件 文章 2020-02-25 11:40 494 0 全屏看文

AI助手支持GPT4.0

评分
92
描述

Support typographic rules in Polish and Czech

支持波兰语和捷克语的印刷规则

Moves conjunctions, prepositions, etc. to the new line.

将连词,介词等移至新行。

( sierotki )

(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.

插件会在选定的单词或短语之后自动添加HTML实体  (不间断空格)。

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

    您可以使用函数 <?php auto_nbsp($ content,$ echo);

    ?> to add   to the custom content.

    ?> &nbsp; 添加到自定义内容中。

    Use this in your code.

    在您的代码中使用它。

    1. Param $content – (string) (required) Free text

    1.参数 $ content –(字符串)(必需)自由文本

    2. Param $echo – (bool) (optional) true (echo), false (return), Default: true

    2.参数 $ echo –(布尔值)(可选)true(回声),false(返回),默认值:true

    Other features:

    其他功能

    * Advanced Custom Fields compatibility

    *高级自定义字段兼容性

    If you have any ideas for how Automatic NBSP could be improved, you write to us.

    如果您对如何改进自动NBSP有任何想法,请写信给我们。

安装步骤

    1. Install the plugin from within the Dashboard or upload the directory automatic-nbsp and all its contents to the /wp-content/plugins/ directory.
    2. 从仪表板内安装插件,或将目录 automatic-nbsp 及其所有内容上载到 / wp-content / plugins / 目录。

    3. Activate the plugin through the ‘Plugins’ menu in WordPress.
    4. 通过WordPress中的“插件”菜单激活插件。

    5. Go to Settings -> Automatic NBSP and set your preferences.
    6. 转到“设置”->“自动NBSP”并设置您的首选项。

    7. Enjoy automatically added non-breaking spaces
    8. 享受自动添加的不间断空格

下载地址
https://downloads.wordpress.org/plugin/automatic-nbsp.1.5.4.zip
-EOF-

AI助手支持GPT4.0