[wordpress插件] Custom Excerpts自定义节选

wordpress 插件 文章 2020-04-08 01:30 426 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Custom Excerpts allows you to implement custom excerpt text, length, and to choose HTML tags to allow and whether to make the link nofollow or dofollow.

自定义摘录允许您实现自定义摘录文本,长度,并选择允许使用的HTML标签以及是否将链接设置为nofollow或dofollow。

Previously the only way to achieve this was to edit the WordPress core file formatting.php which meant changes would be lost after each update.

以前,实现此目的的唯一方法是编辑WordPress核心文件formatting.php,这意味着每次更新后更改都会丢失。

Related Links:

相关链接:

安装步骤

    1. Upload the wplinkdir folder to your ‘/wp-content/plugins/’ directory.
    2. 将wplinkdir文件夹上传到您的“ / wp-content / plugins /”目录。

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

    5. Options can be changed from Settings -> Custom Excerpts
    6. 可以从设置->自定义摘录中更改选项

    That’s it!

    就是这样!

    Wherever the_excerpt is used in your theme files it will utilize the options you have set.

    在主题文件中使用the_excerpt的任何地方,它将使用您设置的选项。

下载地址
https://downloads.wordpress.org/plugin/custom-excerpts.zip
-EOF-

AI助手支持GPT4.0