Support » Plugin: Toolset Types - Custom Post Types, Custom Fields and Taxonomies » How to make the featured image use a lightbox?

  • octobermarketingco

    (@octobermarketingco)


    Hi,

    I’m using the WooTheme’s Canvas theme. Everything is working fine, except when the custom post is displayed, the feature image does not have a lightbox (images in the body content do).

    I know the theme supports it, because on the regular blog, the featured image brings up the lightbox when clicked.

    I think the only difference is the native posts has the featured image wrapped in a link:

    How can I modify the custom post so that it is outputting the code for the Featured Image with a lightbox link like that?

    Thanks.

    https://wordpress.org/plugins/types/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Dear octobermarketingco

    Could you check differences between these images? Some class? Maybe container?

    Could you add the same class to featured image?

    Marcin

    octobermarketingco

    (@octobermarketingco)

    Hi Marcin,

    Well, that is part of what I am asking: how should I modify the featured image in the custom post, to include the class, container or link tag? There does not seem to be an option for that in the settings.

    Thanks

    Dear octobermarketingco

    How you display a featured image?

    In entry body? Or just using theme?

    Marcin

    octobermarketingco

    (@octobermarketingco)

    It is what you see on the left side in the 4 “posts” at the bottom of this page, under Current Event Carriages:

    http://bit.ly/1y5Zb7Z

    Under Types > Custom Post types, in the area “Display Sections” we checked the box that says:

    ” Thumbnail
    Add a box for uploading a featured image.”

    As far as I know, that it all that has been done to make the featured image appear.

    Dear octobermarketingco

    OK. In Types you just check a “Thumbnail” checkbox. That means this CPT support thumbnails. Types do not display thumbnail and do not have any power to change how it is displayed. Your theme is responsible for displaying feature image. Please check Theme.

    Marcin

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to make the featured image use a lightbox?’ is closed to new replies.