Home Forums WoodMart support forum Capture under Blog Featured Image

Capture under Blog Featured Image

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #529602

    jiimm
    Participant

    I wonder if there is any way I can display an Image Capture under the blog-featured image. Or the possibility to set all images (except woocommerce products) to always display image capture? I can see the capture under the default WP image display but cannot set it or see it under WoodMart Image or SVG.

    #529882

    Hung Pham
    Keymaster

    Hi jiimm,

    Thanks for reaching to us and appreciate your patience.

    To assist you in the best possible manner, I kindly ask that you please include a screenshot that illustrates the problem in question, this will allow me to thoroughly investigate and address your concerns in a more efficient.

    Regards,

    #530076

    jiimm
    Participant

    Please see the attachments!

    Screenshot 01 – shows an example of a blog post featured image. And as you see there is no image capture displayed. I need to have the option to display image capture.

    Screenshot 02 – shows a setting for Image or SVG. This is for simply placing the image in the blog post. As you see there is also no option to set image capture display. I need to have that option or solution, to be able to display the capture of the image.

    Screenshot 03 – shows a default WP image placement that has the option to display an image capture. This is an example of what I\’m looking for in blog post featured images and the WoodMart theme \”Image or SVG\” placement option.

    Attachments:
    You must be logged in to view attached files.
    #530478

    Hung Pham
    Keymaster

    Hi jiimm,

    Thanks for details.

    I kindly request you to conduct a check by activating the default WordPress Theme, such as Storefront or Twenty Twenty-Three (Appearance > Themes) and keep WoodMart Core and Elementor or WPBakery plugins activated and see if capture is on the blog page.

    Also, if you want us to add Capture to the Image or SVG element, you can add a feature request https://woodmart.canny.io/feature-requests and we will consider it.

    Regards,

    #530496

    jiimm
    Participant

    Yes, by switching to the default WordPress Theme the future image capture is displayed. But WoodMart theme doesn’t .

    #530668

    Hung Pham
    Keymaster

    Hi jiimm,

    Please try to add to functions.php file in Child theme.

    add_action('post_thumbnail_html', function ( $html ) {
        if ( is_single() && wp_get_attachment_caption( get_post_thumbnail_id() ) ) {
           $html .= '<figcaption class="wp-caption-text">' . wp_kses_post( wp_get_attachment_caption( get_post_thumbnail_id() ) ) . '</figcaption>';
        }
    
        return $html;
    });

    Regards,

    #530969

    jiimm
    Participant

    Great! The solution is working.

    One more thing! At the moment the capture is showing in the middle, what if want to display the capture on the right side or left side of the image?

    Thanks

    #531022

    Hung Pham
    Keymaster

    Hi jiimm,

    Please add the following Custom CSS code in Theme Settings > Custom CSS > Global Custom CSS

    .entry-thumbnail figcaption{
    	text-align: left;
    }

    You can change to right value if you want.

    Regards,

    #531024

    jiimm
    Participant

    Thanks, its perfect!

    #531034

    Hung Pham
    Keymaster

    Hi jiimm,

    Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!

    If you have a quick minute we always appreciate a 5-star rating on our theme!

    https://themeforest.net/item/woodmart-woocommerce-wordpress-theme/reviews/20264492

    Your feedback is the motivation to improve our work and services.

    Regards,

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Capture under Blog Featured Image’ is closed to new replies.