內容簡介
WordPress 的 Pownce 外掛可以展示您的公開 Pownce 訊息,讓大家都能閱讀。
使用方法
如果您使用 WordPress widget,只需將 widget 拖曳到側邊欄中並進行配置。如果您不喜歡 widget,可以使用以下程式碼來展示您的公開 Pownce 訊息:
<?php pownce_messages('使用者名稱'); ?>
此外,Pownce 外掛還有幾個可配置的選項。以下是可配置的選項:
<?php pownce_messages('使用者名稱', 訊息數量, 以清單形式輸出, 顯示時間戳記, 顯示回覆); ?>
因此,如果我想展示 3 則訊息,不以列表方式輸出,並且不顯示回覆,則會使用以下程式碼:
<?php pownce_messages('cavemonkey50', 3, false, true, false); ?>
外掛標籤
開發者團隊
原文外掛簡介
Pownce for WordPress displays your public Pownce messages for all to read.
Usage
If you use WordPress widgets, just drag the widget into your sidebar and configure. If widgets aren’t your thing, use the following code to display your public Pownce messages:
Pownce for WordPress also has several configurable options. Here’s what you can configure:
So, if I wanted to display 3 messages, not in a list, with no replies, I would use the following:
