website speed has so much importance in site ranking as well as from visitors relation point of view. At the same time social media has proven its importance too. Adding javascripts from different social site,like facebook,google+,tweeter, can make your site slow.
let's see how can we get the benefits from non-javascript versions of social share button. first we have to add some styling and images for social icons.to optimize site speed further i have used css-sprite to call all the images in just one request.
First you need to download the source files.
let's see how can we get the benefits from non-javascript versions of social share button. first we have to add some styling and images for social icons.to optimize site speed further i have used css-sprite to call all the images in just one request.
First you need to download the source files.
Download
step1
After downloading extract the file. now open your wordpress theme folder at your web server. "public_html/wp-content/themes/your theme/images/"
After downloading extract the file. now open your wordpress theme folder at your web server. "public_html/wp-content/themes/your theme/images/"
in images folder upload the image included in source file .
step2
now open your wordpress admin . go to "editor" under appearance menu.
copy codes from "social.css" file and paste in your theme stylesheet and save it.
step3
now open "single.php" and copy codes from "code.txt" and paste it any where you want to show social share icons within the post. before pasting make sure you make change user name in tweet and linkedn link.
now open your wordpress admin . go to "editor" under appearance menu.
copy codes from "social.css" file and paste in your theme stylesheet and save it.
step3
now open "single.php" and copy codes from "code.txt" and paste it any where you want to show social share icons within the post. before pasting make sure you make change user name in tweet and linkedn link.
Comments
Post a Comment