[WordPress] 外掛分享: Cross-Network posts

首頁外掛目錄 › Cross-Network posts
WordPress 外掛 Cross-Network posts 的封面圖片
全新外掛
安裝啟用
尚無評分
4690 天前
最後更新
問題解決
WordPress 3.0+ v2.0 上架:2013-04-25

內容簡介

重大改版

自 2.0 版本起,CNP(Cross Network Posts)允許您藉由內置的短代碼生成器,輕鬆地在同一個 WordPress 網絡中嵌入其他網站的文章。

手動進入短代碼的方式仍然可用,但您可以根據自己的喜好進行選擇。

2.0 版本還包括一個選項頁面,您可以在該頁面設置某些安全措施:1. 您可以限制僅原始文章的作者(不適用於管理員)嵌入內容。2. 您可以禁止 WordPress 網絡中的其他網站嵌入您網站的文章。

使用方式

如果您有一個 WordPress 網絡(多站點),並且希望在同一網絡的其他網站上顯示(嵌入)來自另一個網站的文章或文章類別,則此外掛程式很有用。

使用內容編輯器上方的短代碼生成器或手動輸入短代碼:

[cnp blogid=1 postid=1]
屬性

強制性

blogid 是您希望從中提取文章的部落格(到 網絡->網站,然後將滑鼠懸停在該網站上以查看 ID)。

您可以使用 catid= 來顯示特定類別的所有文章,而不是 postid=。

可選

header=1 -> 標題號碼(例如 h1 ),如果設為 0 則沒有標題(預設為 2)

excerpt=true -> 如果您只想顯示文字摘要和其他網站上文章的「閱讀更多」連結

numberofposts=5 -> 顯示某個類別的特定數量文章(預設為 5)

titlelink=false -> 如果您不希望標題帶有永久鏈接(預設為 true)

與其他外掛一起工作

如果您想通過短代碼顯示您正在顯示的文章中的某個外掛程式,請確保該外掛程式在您使用 CNP 的網絡站點上也是活躍的。

注意:並非所有外掛程式都可使用。如果您發現了可以和不可以使用的外掛,請發佈相關文章。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Cross-Network posts」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.
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 the WordPress network to embed posts from your website
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.
Use the shortcode builder above the editor or type the shortcode in manually:
[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).
Instead of postid= you can also use catid= to display all posts from a category.
Optional
header=1 -> header number (i.e. h1 ), no title if you set it to 0 (default is 2)
excerpt=true -> if you only want to display excerpts with read more links to the post on the other website
numberofposts=5 -> for displaying a certain number of posts from a category (default is 5)
titlelink=false -> if you don’t want the title to have a permalink (default is 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.
Note: not all plugins will work. Post about it if you find some that do and also that don’t.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon