HEX
Server: LiteSpeed
System: Linux node612.namehero.net 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: dfwparty (1186)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: /home/dfwparty/bizcoach.biz/wp-content/themes/mh-magazine/content-social.php
<?php /* Template for share buttons. */
$title = htmlspecialchars(urlencode(html_entity_decode(get_the_title())));
$url = urlencode(get_permalink($post->ID));
$thumbnail = get_the_post_thumbnail_url(); ?>
<div class="mh-share-buttons clearfix">
	<a class="mh-facebook" href="#" onclick="window.open('https://www.facebook.com/sharer.php?u=<?php echo $url; ?>&t=<?php echo $title; ?>', 'facebookShare', 'width=626,height=436'); return false;" title="<?php esc_attr_e('Share on Facebook', 'mh-magazine'); ?>">
		<span class="mh-share-button"><i class="fab fa-facebook-f"></i></span>
	</a>
	<a class="mh-twitter" href="#" onclick="window.open('https://twitter.com/share?text=<?php echo $title; ?>:&url=<?php echo $url; ?>', 'twitterShare', 'width=626,height=436'); return false;" title="<?php esc_attr_e('Tweet This Post', 'mh-magazine'); ?>">
		<span class="mh-share-button"><i class="fab fa-x-twitter"></i></span>
	</a>
	<a class="mh-linkedin" href="#" onclick="window.open('https://www.linkedin.com/shareArticle?mini=true&url=<?php echo $url; ?>&source=<?php esc_attr(get_bloginfo('name')); ?>', 'linkedinShare', 'width=626,height=436'); return false;" title="<?php esc_attr_e('Share on LinkedIn', 'mh-magazine'); ?>">
		<span class="mh-share-button"><i class="fab fa-linkedin"></i></span>
	</a>
	<a class="mh-pinterest" href="#" onclick="window.open('https://pinterest.com/pin/create/button/?url=<?php echo $url; ?>&media=<?php echo esc_url($thumbnail); ?>&description=<?php echo $title; ?>', 'pinterestShare', 'width=750,height=350'); return false;" title="<?php esc_attr_e('Pin This Post', 'mh-magazine'); ?>">
		<span class="mh-share-button"><i class="fab fa-pinterest"></i></span>
	</a>
	<a class="mh-email" href="mailto:?subject=<?php echo htmlspecialchars(rawurlencode(html_entity_decode(get_the_title()))); ?>&amp;body=<?php echo $url; ?>" title="<?php esc_attr_e('Send this article to a friend', 'mh-magazine'); ?>" target="_blank">
		<span class="mh-share-button"><i class="far fa-envelope"></i></span>
	</a>
	<a class="mh-print" href="javascript:window.print()" title="<?php esc_attr_e('Print this article', 'mh-magazine'); ?>">
		<span class="mh-share-button"><i class="fas fa-print"></i></span>
	</a>
    <a class="mh-whatsapp" href="#" onclick="window.open('https://api.whatsapp.com/send?phone={phone_number}&text=<?php echo $title; ?>:&url=<?php echo $url; ?>', 'whatsappShare', 'width=626,height=436'); return false;" title="<?php esc_attr_e('Share on Whatsapp', 'mh-magazine'); ?>">
        <span class="mh-share-button"><i class="fab fa-whatsapp"></i></span>
    </a>
	<a class="mh-mastodon" href="#" onclick="window.open('https://mastodonshare.com/share?text=<?php echo $title; ?>:&url=<?php echo $url; ?>', 'mastodonShare', 'width=626,height=436'); return false;" title="<?php esc_attr_e('Share on Mastodon', 'mh-magazine'); ?>">
		<span class="mh-share-button"><i class="fab fa-mastodon"></i></span>
	</a>
	<a class="mh-telegram" href="#" onclick="window.open('https://t.me/share/url?url=<?php echo $url; ?>&text=<?php echo $title; ?>', 'telegramShare', 'width=626,height=436'); return false;" title="<?php esc_attr_e('Share on Telegram', 'mh-magazine'); ?>">
		<span class="mh-share-button"><i class="fab fa-telegram"></i></span>
	</a>
	<a class="mh-bluesky" href="#" onclick="window.open('https://bsky.app/intent/compose?text=<?php echo $title; ?>%20<?php echo $url; ?>', 'blueskyShare', 'width=626,height=436'); return false;" title="<?php esc_attr_e('Share on Bluesky', 'mh-magazine'); ?>">
		<span class="mh-share-button"><i class="fab fa-bluesky"></i></span>
	</a>
	<a class="mh-threads" href="https://threads.net/intent/post?text=<?php echo $title; ?>%20<?php echo $url; ?>" target="_blank" title="<?php esc_attr_e('Share on Threads', 'mh-magazine'); ?>">
		<span class="mh-share-button"><i class="fab fa-threads"></i></span>
	</a>
</div>