• Resolved dutchguy123

    (@dutchguy123)


    I really need to show the title of each image under each image.

    Any tips how to achieve this? Should be possible by modifying the shortcodes file, but I can’t get the title of the image to show.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Sayful Islam

    (@sayful)

    I am going to update a new version. but before that you can do it by modifying the shortcode file. Find the variable
    $image_title = get_post( $attachment_id )->post_title ? get_post( $attachment_id )->post_title : '';

    and now place this variable inside the item like the following.

    $html .='<div class="carousel-item-wrap">'.$image.'<div class="caption">'. $image_title .'</div></div>';

    You also need to modify some CSS also.

    Thanks

    • This reply was modified 7 years, 12 months ago by Sayful Islam.
    Plugin Author Sayful Islam

    (@sayful)

    Hello,

    New version has option to show title and caption of images.

    Thanks,
    Sayful Islam

    Thread Starter dutchguy123

    (@dutchguy123)

    Thanks! Works great now, exactly what I needed!

    Thread Starter dutchguy123

    (@dutchguy123)

    One thing that would make this plugin complete is, if you can add links to images from within the plugin settings.

    Plugin Author Sayful Islam

    (@sayful)

    You can still link each image by writing link in Description. It must be a valid URL.

    • This reply was modified 7 years, 11 months ago by Sayful Islam.
    Thread Starter dutchguy123

    (@dutchguy123)

    Thanks! That indeed works!

    Hello i have a question is possible to add the title below image in the shortcode i tried with:

    [carousel][image_title=”image-name”] [/carousel] or with only “title” and it does not work neither, is it possible?

    Regards,

    Victor

    Plugin Author Sayful Islam

    (@sayful)

    Hi chepevic,

    This attribute is not available now for [carousel][image_title=”image-name”] [/carousel] but hope in future version.

    Actually I am working for a new user interface for adding image as a link but it need some more time to be publicly available.

    Thanks,
    Sayful Islam

    Thnaks for your feedback Sayful ??

    Regards,

    Victor

    How can I add a title to the whole slider set. I’m using the slider of logos (sponsors) in a full-width widget and would like to add a title to the set.

    Thanks,
    Aditi

    Plugin Author Sayful Islam

    (@sayful)

    New version 1.6.3 support title at widget.

    I just updated and don’t see anything different. I just see images title option below the individual images. I am needing a title for the entire carousel.
    I want to say “Thank You to our Sponsors!”

    Sorry, the title was in the widget…Thank You!!!
    Consider this closed

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Title of image’ is closed to new replies.