Customize Share Socials
You can add bellow code to functions.php file in child theme
add_filter('ova_share_social_html', 'ova_share_social_html_customize', 10, 2);
function ova_share_social_html_customize($link, $title) {
$link = esc_url($link);
$title = esc_html($title);
$html = '<ul class="share-social-icons">
<li><a class="share-ico ico-facebook" target="_blank" href="https://www.facebook.com/sharer.php?u='.$link.'" title="Facebook"><i class="fab fa-facebook-square"></i></a></li>
<li><a class="share-ico ico-twitter" target="_blank" href="https://twitter.com/share?url='.$link.'&text='.urlencode($title).'" title="Twitter"><i class="fab fa-twitter"></i></a></li>
<li><a class="share-ico ico-pinterest" target="_blank" href="https://www.pinterest.com/pin/create/button/?url='.$link.'" title="Pinterest"><i class="fab fa-pinterest"></i></a></li>
<li><a class="share-ico ico-linkedin" target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url='.$link.'" title="Linkedin"><i class="fab fa-linkedin-in"></i></a></li>
</ul>';
return $html;
}
Last updated