Mô tả
To add a quote, go to Quotes->Add New. Enter the citation (source or author) for the quote and the quote itself. You can use HTML in both the citation and the quote. For styling purposes, the post format defaults to “Quote.”
To add the widget to a sidebar, go to Appearance->Widgets and drag the Quote widget to the sidebar. Set the “Title” to the text you want to be displayed above the random quote in the sidebar.
The HTML displayed by the widget looks like this:
<div class="quote">
“the_quote”
</div>
<div class="citation">
—the_citation
</div>
<div class="all-quotes">
[<a href="quote_archive_url">View All</a>]
</div>
Cài đặt
- Upload
bhm-quote.php
to yourwp-content/plugins/
directory. - Activate the Random Quote plugin through the ‘Plugins’ menu in WordPress.
- Add your quotes using Quotes->Add New.
- Go to Appearance->Widgets and drag the Quote widget to the sidebar.
Hỏi đáp
- Can I use HTML in my quotes and citations?
-
Yes.
- How can I style my quotes on single, index, archive, and search pages if I’m using the Twenty Twelve theme?
-
Create a child theme with a
content-quote.php
template file. - Where can I see an example of this plugin in action?
- What does “BHM” stand for?
-
Brian Henry Marston (the plugin’s author)
- How can I contact the plugin’s author?
-
webguy@fatdays.com
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
“BHM Random Quote” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “BHM Random Quote” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
0.1
- Game on!