Social Share
OUTPUT
Simply, to show this feature: Go to Dashboard > Appearance > NasaTheme Options > Share & Follow:
I
n addition, to add more share options on Elessi theme, please copy all codes here and then add them to your child theme at wp-content / themes / elessi-theme-child / function.php:
PHP
function
1
add_filter('nasa_share_content', 'ct_add_new_share');
2
function ct_add_new_share($share) {
3
$share .= '<li>' .
4
'<a href="https://www.youtube.com/" target="_blank" class="icon nasa-tip" title="Youtube" rel="nofollow">' .
5
'<i class="fa fa-youtube-play"></i>' .
6
'</a>' .
7
'</li>';
8
9
return $share;
10
}
Copied!
Here we get foundation "youtube" as an example:
Please replace your option with the link tag and the name of the icon class.
Last modified 13d ago
Copy link