[wordpress插件] Always Show Excerpts总是显示摘录

wordpress 插件 文章 2020-02-17 00:50 559 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

After getting annoyed that the default 2017 theme always showed the full post content on every index page, I extended the answer at http://wordpress.stackexchange.com/a/77947/25187 into this lightweight plugin that can filter calls

在对默认的2017年主题总是在每个索引页面上显示完整的帖子内容感到恼火之后,我将http://wordpress.stackexchange.com/a/77947/25187的答案扩展到了这个可以过滤呼叫的轻量级插件中

to “the_content” and return the post excerpt instead.

转到“ the_content”并返回帖子摘录。

安装步骤

    1. Upload the plugin files to the /wp-content/plugins/always-show-excerpts/ directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到 / wp-content / plugins / always-show-excerpts / 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

    5. Go to the Settings -> Reading page to configure the plugin, picking which types of archives should be affected.
    6. 转到“设置”->“阅读”页面以配置插件,选择应该影响哪些类型的档案。

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

AI助手支持GPT4.0