该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Quote This

描述

Quote This is yet another quote plugin. It has been a script I’ve used on my personal blog for a few years that I figured I’d share with the rest of the WordPress community.

Basically, it lets you show quotations on your blog in one of three ways:

  • quote_this() template tag for your theme template files.
  • [quote-this] shortcode for adding it to your posts and pages.
  • Quote This widget for use in widget areas.

安装

  1. Uzip the quote-this.zip folder.
  2. Upload the quote-this folder to your /wp-content/plugins directory.
  3. In your WordPress dashboard, head over to the Plugins section.
  4. Activate Quote This.

More detailed instructions are included in the plugin’s readme.html file.

常见问题

Why was this plugin created?

It was just an old script I’ve had lying around, gathering dust. I’ve been using it on my personal blog for years, so I figured someone might make some use of it.

How do I call the function in my theme templates?
How do I use the shortcode in my posts?

[quote-this]

How do I use the widget?

Head over to the Widgets section in your WordPress admin and click the “Add” button for the Quote This widget. Once added, you can select how you want to display the quotes.

What are the parameters?
type
  • Which type of quotes to show.
  • Possible values: all (default), art, film, friendship, individual, life, literature
orderby
  • How to order the quote(s) shown.
  • Possible values: rand (more options will be added in the future)
echo
  • Whether the quotation should be printed to the screen or returned for use in a function (is not used for the [quote-this] shortcode.)
  • Possible values: true (default), false
Can I get more detailed instructions?

If you need a more detailed guide, see readme.html, which is included with the plugin. It has a few examples and explains everything.

评价

此插件暂无评价。

贡献者及开发者

「Quote This」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Quote This」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

Version 0.2

  • Pretty much every line of code has changed. Yeah, so there’s no much point in documenting it. Treat this as if it’s a new plugin.

Version 0.1

  • Plugin released.