Hello guys,
Is there anyway that we can add (only for mobile version) a floating social bar or at least under the post title some social media icons like in the screens below?
http://i57.tinypic.com/25k35ag.png
or
http://i62.tinypic.com/27yxx5z.png
Thank you.
Hi,
You can move this line like this: http://screencast.com/t/nXZnMeaPW
Then inside td_modul_blog.php file, comment or remove this code lines like this: http://screencast.com/t/3HREGPlV4xhc
Then move back to the loop.single.php file, and add this code: http://pastebin.com/zR0jQPWK like this:
http://screencast.com/t/FpKwJuIu
You will get this result on mobile: http://screencast.com/t/SDofZy2gG3
About the floating social icons, you can try to use a plugin to do it if exists a one that dose this.
Thanks
Hello Lucian,
Thank you for your help, as always it is highly appreciated. Unfortunately I think I did not explain exactly what we want to achieve. The sharing buttons on the bottom of the article we would like to keep them exactly as they are. What we need is to add on the top of the article 4 normal link/buttons to our social media accounts. (ex.facebook.com/wearabletechnologies).
Also, is there anyway that this changes will work for all the posts styles? (We used the default one until v4.0, and now we are using style 3? Please see below 2 screenshots to help you help us 🙂
Kind regards,
Hi,
Maybe the best way to do this is to try and find a plugin that dose just that.
Other solution would be to duplicate the function that creates the social sharing buttons http://screencast.com/t/7Z32UhNHD5tj and modify it to do just what you want.
So you can go to the td_module_blog.php file, duplicate the function and change it’s name, change the buttons functionality like you wanted from here: http://screencast.com/t/VfNug3sq
Then, in order to show the buttons on each post template add them to the post page by calling your new function after the featured image like this: http://screencast.com/t/k45JQ1tJBX
This is an example I made for the post style 2: http://screencast.com/t/8d2CeidHx3
Thanks