Automatically add links to the full size images below captions.
Author: | Matthew Muro (profile at wordpress.org) |
WordPress version required: | 2.8 |
WordPress version tested: | 3.4.2 |
Plugin version: | 1.1 |
Added to WordPress repository: | 01-04-2011 |
Last updated: | 13-09-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | |
Total downloads: | 3 796 |
Active installs: | 10+ |
Click to start download
|
Image Caption Links is a plugin that automatically adds a link to the full size image below image thumbnails with captions.
Screenshots
An image with a caption and the link to the high quality version.
FAQ
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:
- Add a caption to the image you want to insert into the post
- Select the File URL for the image link
ChangeLog
Version 1.1
- Update code to work with new WordPress 3.4 captions
Version 1.0