
內容簡介
此外掛可在側邊欄小工具上顯示從 URL 讀取的單篇文章。
此外掛於 GitHub 上維護。
部分功能:
在側邊欄小工具上顯示從 URL 讀取的單篇文章。
可自訂 HTML 輸出。
在自己的外掛中可自訂預設 HTML 模板。
filter hooks 範例
預設模板過濾器。
<?php
add_filter("single-post-widget-template", "my_template");
function my_template($template) {
return '<div class="%class%"><a href="%post_url%">%post_thumb%</a></div>';
}
?>
樣式表 URI 過濾器。
<?php
add_filter("single-post-widget-stylesheet", "my_style");
function my_style($url) {
return 'http://example.com/path/to/style.css';
}
?>
翻譯人員
日文(ja) - Takayuki Miyauchi
聯絡方式:
http://wpist.me/ (英文)
http://firegoby.jp/ (日文)
Twitter:@miya0001
https://github.com/miya0001/single-post-widget
貢獻者
Takayuki Miyauchi
感謝
此外掛的操作與支援並不提供任何保證,但使用者可以自由免費使用此外掛來達成其目的。
聯繫方式
Twitter:@miya0001
外掛標籤
開發者團隊
原文外掛簡介
Display single post from url on sidebar widget.
This plugin maintained on GitHub.
Some features:
Display single post from url on sidebar widget.
You can customize HTML output.
You can customize default HTML template on your plugin.
filter hooks example
Filter for default template.
%post_thumb%
