Image Caption Links

توسط

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

  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
×
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
بازخورد (Feedback) های اینلاین
مشاهده همه دیدگاه ها
نسخه حجم فایل SHA256 تغییرات دانلود
1.1 4 کیلوبایت -
دانلود
×
بدون امتیاز

قیمت:

رایگان

نگارش

1.1

آخرین انتشار

2 خرداد 1405

آخرین بروزرسانی

4 هفته پیش

نصب های فعال

10+

نگارش وردپرس

وردپرس 2.8+

تست شده از نسخه

وردپرس 3.4.2

نگارش PHP

-

تگ ها

نسخه ها

1 نسخه