[wordpress插件] Content Shortcodes内容简码

wordpress 插件 文章 2020-04-01 08:40 0 157 全屏看文
评分
100
描述

Content Shortcodes creates a custom post type to organize repeatable content that can be embedded into your site using WordPress shortcodes.

内容短代码创建自定义帖子类型,以组织可重复的内容,这些内容可以使用WordPress短代码嵌入到您的网站中。

Never deal with widgets for repeatable content again.

永远不要再处理可重复内容的小部件。

Using the plugin is incredibly straightforward.

使用插件非常简单。

You simply create new modular content for your site under the new Shortcodes post type, and then add that content to your site’s posts and pages with a simple shortcode.

您只需在新的Shortcodes帖子类型下为您的网站创建新的模块化内容,然后使用简单的shortcode将这些内容添加到您网站的帖子和页面中。

Demo Video: https://vimeo.com/85557648

演示视频:https://vimeo.com/85557648

GitHub URL: https://github.com/binaryorganic/content-shortcodes

GitHub URL:https://github.com/binaryorganic/content-shortcodes

安装步骤

There’s no setup or customization necessary.

无需设置或自定义。

Just install the plugin and you’re good to go.

只需安装插件,您就可以使用了。

There are a few simple steps to getting started with the plugin:

有一些简单的入门步骤:

Create a new Content Shortcode: Click the new Shortcode post-type that has been created in the left-hand menu of WordPress, and then click Add New.

创建新的内容简码:单击在WordPress左侧菜单中创建的新的简码帖子类型,然后单击“添加新内容”。

Add some content to your new Content Shortcode.

在新的内容简码中添加一些内容。

Make sure to give it a title and assign it a category before publishing.

发布前,请确保为其指定标题并为其指定类别。

Those will only be used to help keep you organized in the admin section and will never be displayed on the front-end of your site, but we recommend using them for quick reference later.

这些内容仅用于帮助您使您在管理部分中井井有条,并且永远不会显示在您的网站的前端,但是我们建议以后使用它们作为快速参考。

When you’re finished, simply click Publish.

完成后,只需单击发布。

Add a Shortcode to your site: Make note of the post-id on the View all Shortcodes screen in the admin section of WordPress.

向您的网站添加简码:在WordPress管理部分的“查看所有简码”屏幕上记下post-id。

Go into your post or page and add your shortcode using the following format:

进入您的帖子或页面,并使用以下格式添加您的简码:

[content-shortcode post_id=XX]

[content-shortcode post_id = XX]

where “XX” equals the post-id of the content shortcode you would like to use.

其中“ XX”等于您要使用的内容短代码的后ID。

下载地址
https://downloads.wordpress.org/plugin/content-shortcodes.zip
-EOF-