Hello,
Can you please specify where do you want to show the image caption, even better can you please explain it with a screenshot and provide your Site URL.
Also primarily, you can check this article
http://www.wpbeginner.com/wp-tutorials/how-to-display-wordpress-post-thumbnails-with-captions/
and try to implement it on the theme ( Remember to make a child theme so that your changes are safe).
This does require a little read ☺.
Hope this helps.
If you have any queries and want a swift response please visit the themes official forum
https://catchthemes.com/support-forum
Regards.
Thank you,
http://www.theampexstory.com/
can’t figure out how to insert the screen shot, if you get to the site, there is a home page post.
I like to place the caption on the side of the image, or perhaps as an alt text if there is no room.
best
J
Hello,
We have found a solution to your problem.
First, create a child theme for the theme you are using. To know more about child themes please visit: http://catchthemes.com/blog/create-child-theme-wordpress/
After you have create a the child theme add the below given block of code on your child theme’s functions.php
function catchflames_post_featured_image() {
// Getting data from Theme Options
global $post, $wp_query, $catchflames_options_settings;
$options = $catchflames_options_settings;
$contentlayout = $options['content_layout'];
$sidebarlayout = $options['sidebar_layout'];
$imagesize = '';
if ( $contentlayout == 'full' ) :
return false;
elseif ( $contentlayout == 'excerpt' ) :
if ( $sidebarlayout == 'three-columns' ) :
$imagesize = 'featured-three';
else :
$imagesize = 'featured';
endif;
endif;
if ( has_post_thumbnail() ) : ?>
<figure class="featured-image">
<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'catch-flames' ), the_title_attribute( 'echo=0' ) ) ); ?>">
<?php
the_post_thumbnail( $imagesize );
?>
</a>
<p class="caption">
<?php echo get_post(get_post_thumbnail_id())->post_excerpt; ?>
</p>
</figure>
<?php endif;
}
Hope it helps.
Best regards.
Thank you, I created a child theme,
to “add the below given block of code on your child theme’s functions.php” is more complicated,
Can you help me personally? I’ll pay you for service
Best
J
Hello,
We apologize if it is complicated to you, but we are sorry to say that we cannot help you personally as it is against the rules of the WordPress community forum.
Alternatively, you have two ways of doing this, either you read about child themes (we will provide you the link below), or you can visit the theme’s official forum where we are sure that the theme authors will provide a viable solution and/or suggestions that can match your requirement.
To read about child theme visit : http://catchthemes.com/blog/create-child-theme-wordpress/
To visit the official forum click : https://catchthemes.com/support-forum/
Best regards.
Thank you! I worked it out, great help!