這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Tuxquote

描述

Tuxquote shows a random image of Tux the Linux penguin with a random quote either as a widget or shortcode.

You can add or remove images from wp-content/plugins/tuxquote/images/ directory. All jpg, png and gif images will be randomly used from that directory.

Add or remove quotes from the wp-content/plugins/tuxquote/quotes.txt file. Quotes are line delimited and HTML formatting can be used, enabling you to use
for line breaks etc.

Development for this plugin can be found on GitHub: https://github.com/eldougo/wordpress_plugin_tuxquote

The supplied images were sourced from CrystalXP.net (http://www.crystalxp.net/) and are all distributed under the Creative Commons BY-NC-SA license (http://creativecommons.org/licenses/by-nc-sa/3.0/)

Please see images-license.txt for image licensing information and image attributions.

See the Installation section for usage instructions.

螢幕截圖

  • Tuxquote in action – static sample only.
  • Tuxquote in action – static sample only.

安裝

You can download and install Tuxquote using the built in WordPress plugin installer. If you download Tuxquote manually, make sure it is uploaded to “/wp-content/plugins/Tuxquote/”.

Activate Tuxquote in the “Plugins” admin panel using the “Activate” link.

You can either enter the shortcode ‘[TUXQUOTE]’ in your page or post and/or drag the Tuxquote Widget to a widgitized area on your Widgets page.

Shortcode usage

Default usage:

[TUXQUOTE]

Parameters:

[TUXQUOTE title=”title_text” width=”container_width” align=”container_alignment”]

  • title: Add title text above the image. Eg: title=”Listen to the Penguin”
  • width: Div container width in percentage or pixels. Eg: width=”80%” or width=”200px”
  • align: How to align among the surrounding elements on the page. Can be “left”, “right”, “none”. Eg: align=”left”

Shortcode examples

Set the width to 200 pixels:

[TUXQUOTE width=”200px”]

Set the width to 80% of the container element and add a title:

[TUXQUOTE width=”80%” title=”Thought of the day”]

Set the alignment to the left allowing surrounding text to flow down the right of the Tuxquote container:

[TUXQUOTE align=”left”]

Widget usage

Drag the Tuxquote Widget to a widgitized area on your Widgets page (Apperance -> Widgets).

Click the Tuxquote widget and enter the following options as required:

  • title: Add title text above the Tuxquote image.
  • width: Div container width in percentage or pixels. Eg: 80% or 200px.
  • align: Can be “left”, “right”, “none”. Eg: align=”left”. Doesn’t have much of an affect in a wigetized area.

常見問題

The images are distributed under the Creative Commons BY-NC-SA license, what does this mean?

This means that you can’t use the supplied images for any commercial purposes.

How do I get around this?

No problem, either remove all the images from the plugin images directory and replace them with your own, or get written permission from the image authors who are listed in the images-license.txt file. The Tuxquote plugin code is distributed under the GPL v2 license.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Tuxquote” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Tuxquote 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.3

  • Added an alignment option to the shortcode and widget.
  • The image will now expand to fill 100% of the Tuxquote div container.
  • Refactored tuxquote.php to WordPress standards.

1.2

  • Replaced some deprecated HTML styling tags.
  • Widgetized the plugin.
  • Added width and title options.

1.1

Corrected some small typos in the readme file.

1.0

Initial.