• Resolved write2kill

    (@write2kill)


    The caption for the featured image does not appear in the theme.

    I also installed the Featured Image Caption plugin.

    But still the caption does not appear.

    How do I solve this issue?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter write2kill

    (@write2kill)

    What I tried to do is add the following in the content.php template file. Just after <?php ct_founder_featured_image(); ?> I added <?php the_post_thumbnail_caption(); ?>.

    But this gave me a Fatal error: Call to undefined function the_post_thumbnail_caption() error.

    Theme Author Ben Sibley

    (@bensibley)

    Thanks for using Founder!

    There was an update in version 1.26 of Founder to add support for the Featured Image Caption plugin. Can you check if you’re using v1.26 or later?

    If you are and the captions still do not display, please share a link to your site and I’ll check it out.

    Thanks!

    Thread Starter write2kill

    (@write2kill)

    Hi Ben. I am using 1.27.

    The site is under production. But you can have a look at https://noholdsbarred.write2kill.in/everyone-is-guilty-of-exploiting-the-bangladeshi-migrants-issue/

    All modifications to the code have been made in the child theme.

    Theme Author Ben Sibley

    (@bensibley)

    Got it, thanks for the link!

    The Featured Image Caption plugin has always output the HTML for the caption, but until v1.26 of Founder it wasn’t visible due to a CSS styling conflict. When viewing the site, I am not seeing the HTML from the plugin being output. I’ve just tested the plugin with a fresh install of Founder and was able to view the captions on the page.

    This means that there is a conflict with the Featured Image Caption plugin, and either the child theme or one of the plugins on the site. To debug this, you can temporarily switch from the child theme to Founder, and check if the captions then show. If they still do not, please try deactivating all plugins on the site, and reactivate one-by-one until the captions disappear again.

    Give these steps a shot, and we will create a solution once we can find the source of the error.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Caption for featured image’ is closed to new replies.