
R12Themes Quotes
v1.0.2rzvc · 2012年11月22日 上架
It displays random qoutes on your sidebar or on your page depending where you want to be shown.
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 2,023
- 最近更新
- 2012年11月22日
需要 WordPress 3.0.1+已测试到 3.4.2
贡献者
It displays random qoutes on your sidebar or on your page depending where you want to be shown.
Usage
You can add the quote on your sidebar by using the “Quote” widget that allows you to set the title of your block, number of quotes that you want to be displayed or one specific quote.
You can display the quotes via template by using <?php do_action( 'r12themes_quotes' ); ?>.
This sintax can be customized by using the following arguments:
- ‘limit’ => 1 (the default value – e.g
2will display two random quotes ) - ‘id’ => 0 ( display random post – e.g.
19will display the quote that have id = 19 )
You can add this in your post by using [r12themes_quotes], the arguments above apply to this one to.