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

Image Caption Links

描述

Image Caption Links is a plugin that automatically adds a link to the full size image below image thumbnails with captions.

螢幕截圖

  • An image with a caption and the link to the high quality version.

安裝

  1. Upload image-caption-links to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題

Can I change the text of the link?

Yes! By adding the following filter to your theme’s functions.php file, you can customize the link text.

add_filter( 'icl_text', 'my_image_caption_text' );

function my_image_caption_text(){
    return 'My Image Caption Link Text';
}
Can I use my own CSS?

Yes! If you want to customize the CSS output, add the following filter to your theme’s functions.php file.

add_filter( 'icl_css', 'my_image_caption_css' );

function my_image_caption_css(){
    /* Replace the default image with my own */
    echo '<style type="text/css">
    .image-caption-photo{
        background:url("' . get_bloginfo('template_url') . '/images/my-image.png") no-repeat left center transparent;
        text-align:left;
        padding-left:20px;
    }
    </style>';  
}
The link isn’t showing up! What’s wrong?

In order for the plugin to work correctly, you will need to:

  1. Add a caption to the image you want to insert into the post
  2. Select the File URL for the image link

評價

There are no reviews for this plugin.

貢獻者及開發者

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

貢獻者

將 Image Caption Links 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

Version 1.1

  • Update code to work with new WordPress 3.4 captions

Version 1.0

  • Plugin launch!