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

Combined Image and Text Widget

外掛說明

Combined Image and Text Widget is a plugin that allows you to effortlessly add text and images to your sidebars, with or without links.

Features

  • Easily add images to your sidebar using the native WordPress media uploader.
  • Add classes, an id, an image alt and a link to your sidebar widget without touching any code.
  • Supports WPML multilanguage capabilities.

螢幕擷圖

安裝方式

Installation via WordPress

  1. Go to the plugins tab, click on “add new link”, search for the plugin via the search box and install it.
  2. Activate the plugin.
  3. Drag and drop the Combined Image and Text widget to the desired sidebar in the Widgets page.
  4. Enjoy.

Manual Installation

  1. Download a copy of the Combined Image and Text Widget plugin.
  2. Move the combined-image-text-widget folder to your /wp-content/plugins/ directory.
  3. Activate the plugin.
  4. Drag and drop the Combined Image and Text widget to the desired sidebar in the Widgets page.
  5. Enjoy.

常見問題集

Does the plugin support multilingual websites?

Yes, the plugin can be used in conjunction with the WPML plugin. The plugin’s multilingual capabilities will automatically activate if WPML is present and active.

What are the multilingual capabilities of the plugin?

You can define the title, image, image alt, text and link for each enabled language. In addition the plugin can detect if your link leads to an inner page within your website, and attach the correct language code depending on the end user’s selected language.

Can I define a unique link for the widget in each language?

Yes. By default the plugin will only provide you with one link input, and that link will be converted to the end user’s language. However, you can disable this feature and instead manually define the url link for each language individually. To do that follow these steps:
1. Access your WordPress admin panel.
2. Go to Settings->CITW (note that this page is only available if WPML is already enabled).
3. Under Multilingual Url Schema choose “Allow me to manually input the url for each language” and save.
4. Go to the Widgets page. You should now have url link inputs for each of your active languages.

Can I define a unique image alt for the image in each language?

Yes. By default the plugin will only provide you with one image alt input, and that alt will be used for all languages. However, you can define an alt for each language individually. To do that follow these steps:
1. Access your WordPress admin panel.
2. Go to Settings->CITW (note that this page is only available if WPML is already enabled).
3. Tick the box next to Enable Multilingual Image Alts and save.
4. Go to the Widgets page. You should now have image alt inputs for each of your active languages.

Can I add language-specific classes to the widget?

No. The widget does not accept language-specific classes. However, the plugin dynamically creates a language class for each of your widgets, and you can use that class to define language-specific CSS rules. The aforementioned language class will be a combination of “citw_” and your active language code. For example if your widget is currently displaying on a page in French it will have the “citw_fr” class.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Combined Image and Text Widget〉的開發相關工作。

參與者

將〈Combined Image and Text Widget〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.1

  • The id and class attributes are now attached to the section tag instead of the image container.
  • Image alts can now be specified.