外掛說明
The PinkVisual API Plugin allows you to integrate PinkVisual’s content with your site via
the PinkVisual API [http://api.pinkvisual.com/]. Using your PinkVisual API ID you can earn
revenue from surfers sent to PinkVisual.
The plugin includes a simple shortcode [pvapi] to add content to your site.
Please see the Usage page for information about using the shortcode.
Usage
The simplest possible usage is to include a [pvapi] tag in your post. This will include a number of recent episodes
determined by the default list length value defined on the options page.
To any usage of the pvapi tag, you may include a num= attribute to list only that many episodes. This individually
overrides the value set on the options page. For example [pvapi num=3] to display only 3 episodes.
You can use a “source name” (see Source Documentation at PinkVisual API)
to specify that episodes should only be drawn from a single source. For example, [pvapi source=”bes”]. You may
also include a num argument with a source, such as [pvapi source=”bes” num=”3″].
You may use an “episode name” (see Episode Documentation at PinkVisual API)
to specify a sinlge specific episode for inclusion.
In order to simplify shortcode usage, there is a “PinkVisual Media” button, which appears just to the right of the “Upload Image”
button above the post editor. Simply click to kick off an interactive insertion workflow.
At the moment, actor and niche arguments are not supported, but they will be released in the next version.
安裝方式
- Install the
pvapidirectory into the …/plugins directory. - (Optional) Set your API Keys to use your own account.
- (Optional) Copy the …/pvapi/templates files into your own theme and modify them to change
the presentation of the content.
常見問題集
- Can I use my own revid and API keys
-
Yes! Simply visit the “PVAPI Options” screen and set your own values.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.0
- Initial Version