サイトのアクセスアップは主に検索エンジン対策(SEO)のみという方もまだまだ多いと思いますが、数年前からツイッターやフェイスブックなどのソーシャルメディアを活用したアクセスアップも大きな手段となっています。 ツイッターでツイートされたり、フェイスブックでいいね!を押されたり、はてなブックマークがついたりして拡散すれば、とてつもないアクセスが来る可能性があります。そのため、特別な理由がない場合は、設置しておいたほうが良いと思います。 ここでは、JQueryと「jQuery.socialbutton」プラグインを利用した、主流なソーシャルボタンをサイトに一括設置する方法を説明します。 各種ファイルの取得JQuery本体JQueryの本体はGoogleのライブラリを使用します。 <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/