[wordpress插件] AutoListicle: Automatically Update Numbered List ArticlesAutoListicle:自动更新编号列表文章

wordpress 插件 文章 2020-02-25 06:40 438 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Easily keep your listicles with numbered lists updated correctly by using this plugin’s shortcode [auto-list-number].

使用此插件的简码[auto-list-number],可以轻松正确地更新带编号列表的清单。

This will display the number 1 and increment with ever use.

这将显示数字1,并随着使用而增加。

Perfect if you write blog posts with steps or “top 10 lists”.

如果您编写带有步骤或“前十名列表”的博客文章,则是完美选择。

This will allow you to easily add items to your lists or move elements around without worrying about updating headings with the correct numbers.

这样一来,您就可以轻松地将项目添加到列表中或在其中移动元素,而不必担心用正确的数字更新标题。

Shortcode Options

简码选项

    • name [auto-list-number name=”new-list”] (Default: “default”) If your article has multiple lists this will keep track of multiple numbers.

    • 名称[自动列表编号名称=“新列表”] (默认值:“默认”)如果您的文章有多个列表,则将跟踪多个数字。

      If a name isn’t set it will just use the list name of “default”.

      如果未设置名称,则将使用“默认”列表名称。

      But if you have multiple numbered lists you want to keep track of you can use a unique name for each list in your article.

    • 但是,如果您有多个编号列表,则要跟踪,可以为文章中的每个列表使用唯一的名称。

    • wrapper [auto-list-number wrapper=”span”] (Default: null) Great if you want to wrap each number with a span, div or any html tag.

    • 包装器[auto-list-number wrapper =” span”] (默认值:null)如果要使用跨度,div或任何html标签包装每个数字,则很好。

      By default the wrapper will include the class “auto-list-number”.

      默认情况下,包装器将包含“ auto-list-number”类。

      This can be helpful if you want to style list numbers separately from your headings.

    • 如果您希望将样式编号与标题分开设置,这将很有帮助。

    • after [auto-list-number after=”:”] (Default: “.”) After a number is displayed a period and space will be displayed by default.

    • [自动列表编号在...之后=”:”] 之后(默认值:“。”)。显示数字后,默认情况下将显示句点和空格。

      This option is great if you want to change this to a colon or remove it all together.

      如果要将其更改为冒号或将其全部删除,则此选项非常有用。

      Note that you will have to do this each time the shortcode is displayed, you currently can’t set a new default globally.

      请注意,每次显示简码时,您都必须这样做,当前您无法全局设置新的默认值。

      Additionally the default value does not have white space at the end so you’ll need to include a space between the shortcode and the rest of your title by default.

    • 另外,默认值的末尾没有空格,因此默认情况下,您需要在简码和标题的其余部分之间包含一个空格。

    • display [auto-list-number display=”total”] (Default: “increase”) This allows you to display a total number from a specific list in your article.

    • 显示[自动列表编号显示=“总计”] (默认:“增加”),这使您可以显示文章中特定列表的总数。

      For example using [auto-list-number display=”total” list=”new-list”] will display the total number of times [auto-list-number list=”new-list”] is used.

      例如,使用[auto-list-number display =” total” list =“ new-list”]将显示使用[auto-list-number list =” new-list”]的总次数。

      Great for adding something like “Here are our 10 tips:” at the top of your article.

    • 非常适合在您的文章顶部添加“此处为我们的10条提示:”之类的内容。

安装步骤

To install this plugin:

要安装此插件:

    1. Download the plugin
    2. 下载插件

    3. Upload the plugin to the wp-content/plugins directory,
    4. 将插件上传到wp-content / plugins目录,

    5. Go to “plugins” in your WordPress admin, then click activate.
    6. 转到WordPress管理员中的“插件”,然后单击“激活”。

    7. Add the shortcode [auto-list-number] where you want auto incrementing numbers in your articles (recommended use in headings).
    8. 在您的文章中添加要自动递增数字的简码[auto-list-number](建议在标题中使用)。

下载地址
https://downloads.wordpress.org/plugin/autolisticle-automatically-update-numbered-list-articles.zip
-EOF-

AI助手支持GPT4.0