[wordpress插件] Cross-Network posts跨网络帖子

wordpress 插件 文章 2020-04-05 07:20 627 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Major overhaul

大修

As of version 2.0 CNP allows you to easily embed posts from other websites in the same WordPress network with a shortcode builder that is available above your editor.

从2.0版开始,CNP允许您使用编辑器上方可用的简码生成器轻松地将来自同一WordPress网络中其他网站的帖子嵌入。

The manual way of entering the shortcode is still available, but you can chooses whichever you prefer.

仍然可以使用手动输入短代码的方式,但是您可以选择任何一个。

Also included from version 2.0 is an options page where you set certain security measures: 1. You can restrict embedding of content to only the original author of the post (does not apply to administrators) 1. You can disallow other websites in

2.0版还包括一个选项页面,您可以在其中设置某些安全措施:1.您可以将内容的嵌入限制为帖子的原始作者(不适用于管理员)1.您可以禁止其他网站在

the WordPress network to embed posts from your website

WordPress网络嵌入来自您网站的帖子

Usage

用法

This plugin is useful if you have a wordpress network (multisite) and you want to display (embed) a post or a category of posts that is on another website in the same network.

如果您有一个wordpress网络(多站点)并且想要显示(嵌入)同一网络中另一个网站上的帖子或帖子类别,此插件将非常有用。

Use the shortcode builder above the editor or type the shortcode in manually:

使用编辑器上方的简码构建器,或手动输入简码:

[cnp blogid=1 postid=1] 

  [cnp blogid = 1 postid = 1]  

Attributes

属性

Mandatory

必填

blogid is the ID of the blog you wish to pull the post from (go to Network->Sites and hover over the site to view the ID).

blogid 是您希望将其发布到的博客的ID(转到Network-> Site,然后将鼠标悬停在该站点上以查看ID)。

Instead of postid= you can also use catid= to display all posts from a category.

除了 postid = 外,您还可以使用 catid = 显示类别中的所有帖子。

Optional

可选

header=1 -> header number (i.e. h1 ), no title if you set it to 0 (default is 2)

header = 1 ->标头编号(即h1),如果将其设置为0(默认值为2),则没有标题

excerpt=true -> if you only want to display excerpts with read more links to the post on the other website

excerpt = true ->如果您只想显示摘录,其中包含指向其他网站的帖子的更多链接

numberofposts=5 -> for displaying a certain number of posts from a category (default is 5)

numberofposts = 5 ->用于显示某个类别中的特定数量的帖子(默认为5)

titlelink=false -> if you don’t want the title to have a permalink (default is true)

titlelink = false ->如果您不希望标题具有永久链接(默认为true)

Working with other plugins

使用其他插件

If you want to display a plugin through a shortcode that is in one of the posts that you are displaying, make sure that the plugin is also active on the network site where you use CNP.

如果要通过显示的帖子之一中的短代码显示插件,请确保该插件在使用CNP的网站上也处于活动状态。

Note: not all plugins will work.

注意:并非所有插件都可以使用。

Post about it if you find some that do and also that don’t.

如果您发现有做与不做的内容,请发贴。

安装步骤

    1. install (or download zip and upload) and activate the plugin on the Plugins page
    2. 安装(或下载zip并上传)并在“插件”页面上激活插件

    3. add shortcode [cnp blogid=1 postid=1] to page or post content manually or with the shortcode builder
    4. 将简码 [cnp blogid = 1 postid = 1] 添加到页面或手动或通过简码构建器发布内容

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

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] BootStrapShortCodeBootStrapShortCode
[wordpress插件] Disqus Conditional JS LoadDisqus条件JS加载
[wordpress插件] Bg Orthodox CalendarBg东正教日历
[wordpress插件] Airsuggest For blogs对博客的建议
[wordpress插件] Code Syntax Highlighter代码语法突出显示
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 6128
如何解决渲染层网络错误Failed to load media? 17394
小程序找号找回 释放昵称? 3253
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 3109
删除部分微信用户个人数据的通知,怎么删除? 6381