Remove title from embedded links

[ad_1]

Hi,

Can you post the URL of the web page where you are facing this problem?

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.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer