[wordpress插件] CP Tent Posts ShortcodeCP帐篷职位简码

wordpress 插件 文章 2020-04-04 04:00 435 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This is a very very simple plugin.

这是一个非常非常简单的插件。

Use the shortcode to display a list of posts from a specified Tent server.

使用简码显示来自指定帐篷服务器的帖子列表。

Tent is a social networking protocol.

帐篷是一种社交网络协议。

To use this plugin, insert the shortcode [cp-tent] into a post.

要使用此插件,请将简短代码[cp-tent]插入帖子中。

To specify your tent server, use the format [cp-tent tent=”https://yourname.tent.is”].

要指定您的帐篷服务器,请使用[cp-tent tent =” https://您的名字.tent.is”]格式。

To limit the number of posts displayed, use the format [cp-tent tent=”https://yourname.tent.is” limit=10].

要限制显示的帖子数量,请使用[cp-tent tent =” https://yourname.tent.is” limit = 10]格式。

Here are a few more options you can set:

您还可以设置以下几个选项:

    • tent: “https://yourname.tent.is”
    • 帐篷:“ https://yourname.tent.is”

    • limit: 10
    • 限制:10

    • must_mention: “https://yourname.tent.is”
    • 必须提及:“ https://yourname.tent.is”

    • mentions: “off”, “on”
    • 提及:“关闭”,“开启”

    • links: “on”, “https://example.tent.is/posts/”
    • 链接:“开”,“ https://example.tent.is/posts/”

    • header: “on”
    • 标题:“上”

    ‘limit’ is the number of posts to display.

    “限制”是要显示的帖子数。

    ‘mentions’ is off by default.

    默认情况下,“提及”处于关闭状态。

    when ‘on’ a list of mentioned profiles is displayed.

    当“打开”时,将显示提及的个人资料列表。

    'links' is “on” by default (adds '/posts/' to the end of 'tent', and uses this url scheme to display a link to each post), or supply a new base url to precede the post id.

    默认情况下,“链接”为“开”(在“帐篷”的末尾添加“ / posts /”,并使用此url方案显示每个帖子的链接),或在帖子id之前提供新的基本url。



    ‘header’ displays the user name and avatar above the list.

    “标题”在列表上方显示用户名和头像。

    This plugin will never authenticate with your tent server.

    此插件将永远不会通过您的帐篷服务器进行身份验证。

    It’s only meant for public posts.

    仅用于公开帖子。

    Because space is limited in the sidebar, no options are available for the widget.

    由于侧边栏中的空间有限,因此该小部件没有可用的选项。

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

AI助手支持GPT4.0