As it is a third party plugin it’s probably calling the images directly and thus not passing through the default wordpress function to show the image. We’ll look if something can be done
ok thanks for the info and I look forward to hearing back!
hello, I wanted to ask if you have an idea for the solution to the problem of Astra Spectra block post?
regards
Yes, astra seems to allow to add content to the grid with the uagb_single_post_after_featured_image_grid action (read more about it at https://wpspectra.com/docs/filters-actions-for-post/). But depending of your php/wordpress programming knowledge, you may need a developer to do it
You can have a very basic working version pasting this code in the functions.php file of your theme:
function add_image_caption_after_image_grid($post_id, $attributes ) {
echo '<div>'.get_FSM_featured_image_caption().'</div>';
}
add_action( 'uagb_single_post_after_featured_image_grid', 'add_image_caption_after_image_grid', 10, 2 );
Keep in mind that this probably needs additional code to i.e. restrict it to a particular page, add styles… and other custom changes for your site that are beyond the purpose of this general support forum.
thanks a lot it works!
best regards