Tuesday, July 5, 2016

UnBlocking My Site With Social Media Buttons


Improving 
For those of you out there with websites I have a very interesting piece of info for you!

Originally I was using Social Media Button Maker to help me create the coding for the social media buttons on my website. That is until I started getting reports from Avast Users that they were getting blocked from my website!

After weeks of googling for a solution, I finally sent an e-mail to Avast to report to them that all other antivirus software (including Kaspersky) were reporting that my site was clean.

Avast sent me back a fast reply telling me that the Social Media Button Maker code (they actually sent me the erroneous piece of code to assist in me finding the problem) was why my website was getting blocked. Back to my backend to figure out why.

I pulled up my code for that widget and found a link INSIDE the code to a shifty hotel site! That was my tip off! I don't remember that being there before! So I deleted the Javascript and sat down to find better buttons and write the html myself. This sent me to a google search where I found ALL of my buttons (including the ones the button maker didn't offer) on WikiCommons! SCORE!


And here's what the buttons look like!:



website buttons
Buttons in use!
Just regular buttons! YAY!

Once I was finished I reported my fix to Avast and they promptly sent me a confirmation saying that my site would be taken off "blocked" in the next antivirus definition update! YAY!!!

Because I have so many friends that love building their own websites I figured I would offer the code here. They don't have counters, don't lag in loading, or do anything fancy. All you have to do is update the BOLDED links with your own social media links and paste the html where you need it on your site!

HTML Code for social buttons:


<div><a href="http://www.instagram.com/author.vl.jennings" style="font-size: 100%;"><img alt="WikiInstagram button" src="https://upload.wikimedia.org/wikipedia/commons/a/a5/Instagram_icon.png" style="border: 0; height: 42px; width: 42px;" / /></a><a href="www.twitter.com/vljennings" style="font-size: 100%;">  <img alt="Wikitwitter button" src="https://upload.wikimedia.org/wikipedia/commons/7/74/Twitter_Logo_Mini.svg" style="border: 0; height: 42px; width: 42px;" / /> </a><a href="www.facebook.com/vljennings" style="font-size: 100%;"><img alt="Wikifacebook button" src="https://upload.wikimedia.org/wikipedia/commons/8/82/Facebook_icon.jpg" style="border: 0; height: 42px; width: 42px;" / /> </a><a href="https://plus.google.com/+VirginiaLoriJennings" style="font-size: 100%;"><img alt="WikiGplus button" src="https://upload.wikimedia.org/wikipedia/commons/0/04/Google_Plus_logo.png" style="border: 1; height: 42px; width: 42px;" / /></a><a href="https://www.pinterest.com/vljennings/" style="font-size: 100%;"><img alt="Wikipinterest button" src="https://upload.wikimedia.org/wikipedia/commons/0/08/Pinterest-logo.png" style="border: 0; height: 42px; width: 42px;" / /></a><a href="https://www.youtube.com/user/virginialorijennings" style="font-size: 100%;"><img alt="Wikiyoutube button" src="https://upload.wikimedia.org/wikipedia/commons/a/aa/Youtube_logo_stacked-vfl225ZTx.png" style="border: 0; height: 42px; width: 42px;" / /></a><a href="https://www.goodreads.com/VLJennings" style="font-size: 100%;"><img alt="Wikigoodreads button" src="https://upload.wikimedia.org/wikipedia/commons/1/14/Goodreads_%27g%27_logo.jpg" style="border: 0; height: 42px; width: 42px;" / /></a><a href="http://www.amazon.com/Alien-Mind-V-L-Jennings/dp/1940812658" style="font-size: 100%;"><img alt="Wikiamazon button" src="https://upload.wikimedia.org/wikipedia/commons/e/eb/Amazon-mp3-store-source_Faenza.svg" style="border: 0; height: 42px; width: 42px;" / /></a><a href="https://www.linkedin.com/in/vljennings" style="font-size: 100%;"><img alt="Wikilinkedin button" src="https://upload.wikimedia.org/wikipedia/commons/c/c9/Linkedin.svg" style="border: 0; height: 42px; width: 42px;" / /></a><a href="http://www.virginialorijennings.com/feeds/posts/default" style="font-size: 100%;"><img alt="WikiRSS button" src="https://upload.wikimedia.org/wikipedia/commons/d/d9/Rss-feed.svg" style="border: 0; height: 42px; width: 42px;" / /></a></div>


<end code>

Once again these codes are completely clean! Once you replace the bolded links with your own there will be no further link back to me at all ;) 

If you'd prefer to take out some of the buttons or perhaps re-order them... here's the breakdown:

Instagram:
<div><a href="http://www.instagram.com/author.vl.jennings" style="font-size: 100%;"><img alt="WikiInstagram button" src="https://upload.wikimedia.org/wikipedia/commons/a/a5/Instagram_icon.png" style="border: 0; height: 42px; width: 42px;" / /></a>

Twitter:
<a href="www.twitter.com/vljennings" style="font-size: 100%;">  <img alt="Wikitwitter button" src="https://upload.wikimedia.org/wikipedia/commons/7/74/Twitter_Logo_Mini.svg" style="border: 0; height: 42px; width: 42px;" / /> </a>


Facebook:
<a href="www.facebook.com/vljennings" style="font-size: 100%;"><img alt="Wikifacebook button" src="https://upload.wikimedia.org/wikipedia/commons/8/82/Facebook_icon.jpg" style="border: 0; height: 42px; width: 42px;" / /> </a>

Google+
<a href="https://plus.google.com/+VirginiaLoriJennings" style="font-size: 100%;"><img alt="WikiGplus button" src="https://upload.wikimedia.org/wikipedia/commons/0/04/Google_Plus_logo.png" style="border: 1; height: 42px; width: 42px;" / /></a>

Pinterest:
<a href="https://www.pinterest.com/vljennings/" style="font-size: 100%;"><img alt="Wikipinterest button" src="https://upload.wikimedia.org/wikipedia/commons/0/08/Pinterest-logo.png" style="border: 0; height: 42px; width: 42px;" / /></a>

Youtube Profile:
<a href="https://www.youtube.com/user/virginialorijennings" style="font-size: 100%;"><img alt="Wikiyoutube button" src="https://upload.wikimedia.org/wikipedia/commons/a/aa/Youtube_logo_stacked-vfl225ZTx.png" style="border: 0; height: 42px; width: 42px;" / /></a>

Goodreads:
<a href="https://www.goodreads.com/VLJennings" style="font-size: 100%;"><img alt="Wikigoodreads button" src="https://upload.wikimedia.org/wikipedia/commons/1/14/Goodreads_%27g%27_logo.jpg" style="border: 0; height: 42px; width: 42px;" / /></a>

Amazon Author Page:
<a href="http://www.amazon.com/Alien-Mind-V-L-Jennings/dp/1940812658" style="font-size: 100%;"><img alt="Wikiamazon button" src="https://upload.wikimedia.org/wikipedia/commons/e/eb/Amazon-mp3-store-source_Faenza.svg" style="border: 0; height: 42px; width: 42px;" / /></a>

Linkdin:
<a href="https://www.linkedin.com/in/vljennings" style="font-size: 100%;"><img alt="Wikilinkedin button" src="https://upload.wikimedia.org/wikipedia/commons/c/c9/Linkedin.svg" style="border: 0; height: 42px; width: 42px;" / /></a>

RSS Feed:
<a href="http://www.virginialorijennings.com/feeds/posts/default" style="font-size: 100%;"><img alt="WikiRSS button" src="https://upload.wikimedia.org/wikipedia/commons/d/d9/Rss-feed.svg" style="border: 0; height: 42px; width: 42px;" / /></a></div>



I hope this helps someone out there! Thanks for stopping by!

***"Improving, Non-stop"photo credit: Broadway via photopin (license)


Find The Alien Mind on Amazon!

Did you like this post? If so you might enjoy my book!

For adults and teens alike, it is truly a science fiction adventure for the whole family!

If you'd prefer an autographed copy straight from the author you can buy one here as well!
Autographed Copy:$13.00 + Shipping
 


"If you enjoy my writing, would you care to buy me a cup of coffee?"



Tip Options

2 comments:

  1. Oh wow, that's great. I don't do the buttons because I wasn't going to fall into that rabbit hole, but if I decide to, now I know where to go. Thanks.

    ReplyDelete
    Replies
    1. Buttons help your visitors share your site with others, they also keep count so you can show others how popular different pages are.

      Glad my post interested you though! :)

      Delete