Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Social button "SHARE"
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Social button "SHARE"

Social button "SHARE" 10 years, 9 months ago #17520

  • Pawel1983
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Hi
Where the off social button "SHARE" in the template ?.

Re: Social button "SHARE" 10 years, 9 months ago #17617

  • usersmart1
  • OFFLINE
  • Moderator
  • Posts: 1364
  • Karma: 20
Dear art1983p,

You could remove button share by change code as follow:
- Go to (sj_vinda/html/com_content/category/blog-item.php) and (sj_vinda/html/com_content/article/default.php) find this code and remove it:

		<div class="btn-share">
			<span class="share" data-toggle="dropdown">
					<?php echo JText::_('SHARE_LABEL'); ?>
			</span>
			<?php
			$isSecure = false;
			if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') {
				$isSecure = true;
			}
			$REQUEST_PROTOCOL = $isSecure ? 'https://' : 'http://';
			$url = urlencode($REQUEST_PROTOCOL.$_SERVER['SERVER_NAME'].$link);
			$image = $REQUEST_PROTOCOL.$_SERVER['SERVER_NAME'].$_image_social;
			
			?>
			<ul class="dropdown-menu">
			  <li><a target="_blank" href="http://www.facebook.com/sharer/sharer.php?s=100&p[url]=<?php echo $url; ?>&p[images][0]=<?php echo $image; ?>&p[title]=<?php echo $this->item->title; ?>&p[summary]=<?php echo htmlentities($this->item->introtext , ENT_QUOTES | ENT_IGNORE, "UTF-8"); ?>" data-labels="Facebook"><i class="icon facebook"></i></a></li>
			  <li><a target="_blank" href="http://twitter.com/home?status=<?php echo $url; ?>" data-labels="Twitter"><i class="icon twitter"></i></a></li>
			  <li><a target="_blank" href="https://plus.google.com/share?url=<?php echo $url; ?>" data-labels="Google Plus"><i class="icon google"></i></a></li>
			  <li><a target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&url=<?php echo $url; ?>&title=<?php echo $this->item->title; ?>&summary=<?php echo htmlentities($this->item->introtext , ENT_QUOTES | ENT_IGNORE, "UTF-8"); ?>&source=<?php echo $this->item->title; ?>" data-labels="Linkedin"><i class="icon linkedin"></i></a></li>
			  <li><a target="_blank" href="http://www.pinterest.com/pin/create/button/?url=<?php echo $url; ?>&media=<?php echo $image; ?>" data-labels="Pinterest"><i class="icon pinit"></i></a></li>
			</ul>
		</div>



Thanks!
  • Page:
  • 1
Time to create page: 0.30 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes