SOCIAL ICONS

eCommerce WordPress theme to create online shop with WooCommerce support
GK User
Fri May 02, 2014 11:05 pm
Hi,

I am just wondering how i can enable the social icons on product page, currently mine is not showing.
User avatar
Senior Boarder

GK User
Sun May 04, 2014 9:00 pm
Hi,

Social icons for products are available only on the demo website. If you want to add it to your website, you should override woocommerce template files.
User avatar
Moderator

GK User
Fri Nov 27, 2015 7:11 am
Hi,
Piotr, can you please tell us which code should be added to the override
User avatar
Senior Boarder

GK User
Fri Nov 27, 2015 9:03 am
The code from layouts/content.post.featured.php file responsible for social icons:
Code: Select all
<?php
   // variable for the social API HTML output
   $social_api_output = gk_social_api(get_the_title(), get_the_ID());
?>

<?php if($social_api_output != '' ): ?>
   <?php echo $social_api_output; ?>
<?php endif; ?>
User avatar
Moderator

GK User
Sat Feb 20, 2016 6:09 pm
Bump,

Could you please update the info on what piece of code we need to update in order to display Social API buttons in Store items. The code you provided in the file content.post.featured.php is no longer exists. Now, the file content.post.footer.php is responsible for Social API rendering but it's not clear how to make those buttons work within a store.

Thanks
User avatar
Junior Boarder

Joshua M
Mon Feb 22, 2016 12:39 pm
Hi,

The code responsible for social icons (if you didn't modify it) is still in content.post.featured.php file.

Try to move this code into Instyle/woocommerce/single-product/price.php file.
User avatar
Moderator


cron