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

Alt-Link-Text

外掛說明

Alt Link Text can be used to modify the link text and title attributes of links in page lists, and to remove pages from page lists completely. By default, links in page lists generated using wp_list_pages use the page title as both the link text and the title attribute. This plugin adds “Alternative Link Text” and “Alternative Title Attribute” fields to the Write Page and Manage Page screens which can be used to specify alternative link text and title attributes. It also adds a checkbox that can be unchecked to remove a page from these lists.

This can be useful if your page titles are too long for your navigation menu (e.g. “Terms & Conditions” could be abbreviated to “T&C” to save space), or if you just want them to be different (e.g. you might want your home page to have “Welcome” as its title but to be linked to as “Home” in your navigation menu).

Alt Link Text has now evolved into Page Lists Plus.

安裝方式

  1. Download the plugin’s zip file, extract the contents, and upload them to your wp-content/plugins folder.
  2. Login to your WordPress dashboard, click Plugins, and activate Alt Link Text.
  3. Set the alternative link text and title attribute that youd like to use through the Write Page or Manage Page screens. You will need to save the page for the changes to take effect.

常見問題集

Why won’t Alt-Link-Text work with older versions of WordPress?

Alt-Link-Text uses the add_meta_box() function to create new fields on the Write Page and Manage Page screens. This function was introduced in WordPress 2.5.

Will Alt-Link-Text work with WordPress MU?

No. At the moment, Alt-Link-Text is not WPMU compatible.

If I deactivate Alt-Link-Text, will my alternative link text and title attributes be deleted?

No. If you want to remove all trace of the plugin from your database, then you need to uncomment lines 56-58 of your alt-link-text.php file and then deactivate the plugin.

使用者評論

There are no reviews for this plugin.

參與者及開發者

以下人員參與了開源軟體〈Alt-Link-Text〉的開發相關工作。

參與者

將 Alt-Link-Text 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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