[wordpress插件] Bake Posts烘烤帖子

wordpress 插件 文章 2020-02-28 20:00 510 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Bake post is developed in order to display posts in pages or in widget areas just by pasting the respective shortcodes.

开发烘焙帖子是为了仅粘贴相应的短代码即可在页面或小部件区域中显示帖子。

Individual shortcodes are available for displaying recent posts, posts on categories and tags.

各个短代码可用于显示最近的帖子,类别和标签的帖子。

It has a feature to display featured image as a thumbnail.

它具有将特色图像显示为缩略图的功能。

Shortcode generator is also available to generate shortcodes according to requirement.

短代码生成器还可以根据需要生成短代码。

Shortcodes for displaying Recent Posts are

显示最近帖子的简码是

1.[bake-post-recent limit=5 excerpt=”no” featured_image=”yes”]

1. [最近烘烤限制= 5摘录=“否” featured_image =“是”]

2.[bake-post-recent limit=5 excerpt=”yes”]

2. [最近烘烤限制= 5摘录=“是”]

These two short codes can be used to display recent posts.

这两个短代码可用于显示最新帖子。

Excerpt option can be used to display description as excerpt or full content.

摘录选项可用于将描述显示为摘录或全部内容。

Featured Image can also be displayed by setting featured_image=”yes” in the shortcode.

也可以通过在简码中设置featured_image =“ yes”来显示特色图片。

Shortcodes for displaying Posts on category are

用于显示类别信息的短代码是

3.[bake-post-category term=’slug’ category=’all’ limit=5 excerpt=”no” featured_image=”yes”]

3. [bake-post-category term ='slug'category ='all'limit = 5摘录=“否” featured_image =“是”]

4.[bake-post-category term=’slug’ category=’all,stories’ limit=5 excerpt=”yes”]

4. [bake-post-category term ='slug'category ='all,stories'limit = 5 excerpt =“ yes”]

5.[bake-post-category term=’id’ category=’1′ limit=5 excerpt=”yes” featured_image=”no”]

5. [bake-post-category term ='id'category ='1'limit = 5摘录=“是” featured_image =“否”]

6.[bake-post-category term=’id’ category=’1,2,3′ limit=5 excerpt=”no”]

6. [bake-post-category term ='id'category ='1,2,3'limit = 5 excerpt =“ no”]

Term values differs from “id” or “slug”.

术语值不同于“ id”或“ slug”。

If Slug is used, category value should be category slug values.

如果使用Slug,则类别值应为类别Slug值。

For example, if your category name is short stories, Slug will be short-stories.

例如,如果您的类别名称是短篇小说,则Slug将是短篇小说。

We can use multiple slug values seperated by commas.

我们可以使用多个用逗号分隔的子弹值。

If id is used, category value should be category id values.

如果使用id,则类别值应为类别id值。

For example, We can use multiple id values seperated by commas.Featured Image can also be displayed by setting featured_image=”yes” in the shortcode.

例如,我们可以使用多个用逗号分隔的id值。也可以通过在简码中设置featured_image =“ yes”来显示特色图片。

Shortcodes for displaying Posts on Tags are

用于显示标签上的帖子的短代码是

7.[bake-post-tags term=’slug’ tag=’tag1′ limit=5 excerpt=”yes”]

7. [bake-post-tags term ='slug'tag ='tag1'limit = 5 excerpt =“ yes”]

8.[bake-post-tags term=’id’ tag_id=’1,2,3′ limit=5 excerpt=”no”]

8. [bake-post-tags term ='id'tag_id ='1,2,3'limit = 5 excerpt =“ no”]

Featured Image can also be displayed by setting featured_image=”yes” in the shortcode.

也可以通过在简码中设置Featured_image =“ yes”来显示特色图像。

安装步骤

1.Upload the bake-post directory to the /wp-content/plugins/ Directory (if not exists please create) or install using wordpress plugin installer

1。将bake-post目录上传到/ wp-content / plugins /目录(如果不存在,请创建)或使用wordpress插件安装程序进行安装

2.Activate the plugin through the ‘Plugins’ menu in WordPress

2。通过WordPress中的“插件”菜单激活插件

下载地址
https://downloads.wordpress.org/plugin/bake-posts.zip
-EOF-

AI助手支持GPT4.0