[ad_1]
Hi,
Can you post the URL of the web page where you are facing this problem?
Sure thing, here’s an example: https://hardwickgazette.org/2024/07/02/hed-commissioners-offer-1000-employee-bonus/
For now you can add following code-snippet in the functions.php file of your active theme to fix the problem.
/**
* Remove Social Share title from the excerpt
*/
function heateor_custom_excerpt( $excerpt ) {
if ( defined( 'HEATEOR_SSS_VERSION' ) ) {
return str_replace( ucfirst( get_option( 'heateor_sss' )['title'] ), "", $excerpt );
}
return $excerpt;
}
add_filter( 'get_the_excerpt', 'heateor_custom_excerpt' );Please note, this code will vanish when you update the theme next time. To prevent it, you can use it in the functions.php file of the child theme OR use it as a plugin.
