- This topic has 18 replies, 6 contibutors, and was last updated 8 years, 7 months ago by .
-
Question
Answers
- The question ‘Move Social Media icons?’ is closed to new replies.
BuddyBoss Home – Web › Support Forums › Themes › OneSocial theme › Move Social Media icons?
Tagged: facebook, social media, social media buttons
Hi
Can I move social media icons to top of page?
Following this one
Hi @tgrosby @conscious-crafties
Please provide me a corresponding screenshot at which location you need.
Regards
Varun Dubey
Hi,
I’d personally love to see it just under the Add to Basket buttons on product pages as this then becomes more a ‘call to action’ so if they don’t buy it today, they can share it and then have the link saved to their social network to come back and buy another day. However this may look cluttered when WCVendors support variable products product options are displayed around that area.
Therefore, I’ve done a screenshot of where I believe it would look best at the top of the page. I’ve kept it aligned to the left to be the same as the buttons on the bottom of the page.
I would like to have the social sharing buttons appear on BOTH the top and bottom of every page if possible.
Many thanks,
Karen
Enabling social sharing button from top and bottom can be done by social sharing plugin setting , most of social sharing plugin have inbuilt setting for it
for single product , if you need to add below add to cart button
you will need to modify corresponding file and have to use do_shortcode to echo your shortcode.
You can also try this plugin
https://wordpress.org/plugins/woocommerce-social-media-share-buttons/screenshots/
Regards
Hi Varun,
Thank you but I use Publicize as part of Jetpack and they don’t have the option to display at the top and bottom of page. I have emailed their support and will feed back here if they have any answers.
Thanks for the plug in but if users click on the social sharing buttons (via the separate plug in) the ‘number of times shared’ number on my social sharing icons at the bottom of the page will not increase – and you know how everyone wants to see high numbers 😉
Karne
Hi @conscious-crafties
It you need to stick with Jetpack, you will need to get shortcode or functions to add it after add to cart meta.
Jetpack do not have inbuilt shortcode at present. They hook after the_excerpt() and the_content() by default.
Regards
What social media plugin does BuddyBoss recommend?
I’d love to know too Kelly 🙂
Jetpack are a bit rubbish as each time they do a new release my sharing counter goes back to zero! I’d have thousands by now!
I do love the nice round pretty buttons though. Some have the standard rectangle buttons that look a bit naff.
Many thanks,
Karen
Hiya everyone,
I hold my hands up, I’ve found out my counter didn’t get reset when Jetpack updated – it was because I changed my url from http to https! So I changed the urls of my entire site so of course the counter would re set – sorry me bad!
Jetpack have got back to me and this is how we move our sharing buttons 🙂
Moving Sharing Icons
We just need you BuddyBoss guys to let us know which file we need to add a piece of code into. I can’t find the file that would control the area around the Add to Basket button, or what controls the top of the page for other members on here.
Many thanks,
Karen
Could someone respond this this one please? Almost 4 weeks without a response?
Hi @conscious-crafties, Just follow the steps provided by them and in second step, copy the code (copied from their article):
if ( function_exists( 'sharing_display' ) ) {
sharing_display( '', true );
}
if ( class_exists( 'Jetpack_Likes' ) ) {
$custom_likes = new Jetpack_Likes;
echo $custom_likes->post_likes( '' );
}
and paste it in onesocial-child/template-parts/header-aside.php
after line no.15
Regards
Hi @conscious-crafties
You can add inside
copy buddyboss-marketplace/templates/woocommerce/single-product/meta.php
and paste inside child theme
onesocial-child/woocommerce/single-product/meta.php
and add
if ( function_exists( 'sharing_display' ) ) {
sharing_display( '', true );
}
if ( class_exists( 'Jetpack_Likes' ) ) {
$custom_likes = new Jetpack_Likes;
echo $custom_likes->post_likes( '' );
}
at your desired position
Regards
Varun Dubey
Oh I think you guys must have responded at the same time 😀
Which method is the best method to use?
Many thanks,
Kare
Hi @conscious-crafties, First method is to add the social icon in header section just before cart menu item.
And second is for single product page.
Regards