Adding a Facebook Share (or Like) button to a self-hosted WordPress blog

A few weeks ago, I wrote about adding a Tweet button to a self-hosted WordPress blog, and followed up by writing about using a little CSS trickery to align the Tweet button (thanks to Alex Coles).  Whilst I was implementing the Tweet Button, I also went about putting a Facebook Share button on each post.

There are plug-ins to do this for me but why use a plugin when the answer is just a single lines of code in two files within the template?

In the same paragraph as the Tweet button (i.e. styled with the same class), I used this code, generated using the Facebook Share Button generator:

This time, the code is identical for both index.php and single.php as, unfortunately, Facebook doesn’t seem to give me any control over the title of the link (it just takes the </code> tag from the page). <a href="http://askville.amazon.com/add-Share-Facebook-button-webpage/AnswerViewer.do?requestId=1539369">There is another method, using query string parameters in the URL</a> but I chose to stick with Facebook’s recommended method.</p> <p>Incidentally, I chose to Share, rather than <a href="http://developers.facebook.com/docs/reference/plugins/like">Like (which can be implemented by following these guidelines)</a> because they have subtly different purposes and <a href="http://daggle.com/facebook-button-facebook-share-keeping-1792">each is represented in a slightly different manner (as Danny Sullivan describes in his post on the subject)</a>. After reading Danny’s post, I agree that Share is best for linking to a single post, whilst Like is more suited to the site as a whole (someone might <em>Like</em> markwilson.it and <em>Share</em> one or more posts from the site).</p> <!-- google_ad_section_end --> <div class="sharedaddy sd-sharing-enabled"><div class="robots-nocontent sd-block sd-social sd-social-icon-text sd-sharing"><h3 class="sd-title">Share this:</h3><div class="sd-content"><ul><li class="share-twitter"><a rel="nofollow noopener noreferrer" data-shared="sharing-twitter-2024" class="share-twitter sd-button share-icon" href="http://www.markwilson.co.uk/blog/2010/09/adding-a-facebook-share-or-like-button-to-a-self-hosted-wordpress-blog.htm?share=twitter" target="_blank" title="Click to share on Twitter"><span>Twitter</span></a></li><li class="share-facebook"><a rel="nofollow noopener noreferrer" data-shared="sharing-facebook-2024" class="share-facebook sd-button share-icon" href="http://www.markwilson.co.uk/blog/2010/09/adding-a-facebook-share-or-like-button-to-a-self-hosted-wordpress-blog.htm?share=facebook" target="_blank" title="Click to share on Facebook"><span>Facebook</span></a></li><li class="share-google-plus-1"><a rel="nofollow noopener noreferrer" data-shared="sharing-google-2024" class="share-google-plus-1 sd-button share-icon" href="http://www.markwilson.co.uk/blog/2010/09/adding-a-facebook-share-or-like-button-to-a-self-hosted-wordpress-blog.htm?share=google-plus-1" target="_blank" title="Click to share on Google+"><span>Google</span></a></li><li class="share-linkedin"><a rel="nofollow noopener noreferrer" data-shared="sharing-linkedin-2024" class="share-linkedin sd-button share-icon" href="http://www.markwilson.co.uk/blog/2010/09/adding-a-facebook-share-or-like-button-to-a-self-hosted-wordpress-blog.htm?share=linkedin" target="_blank" title="Click to share on LinkedIn"><span>LinkedIn</span></a></li><li class="share-pocket"><a rel="nofollow noopener noreferrer" data-shared="" class="share-pocket sd-button share-icon" href="http://www.markwilson.co.uk/blog/2010/09/adding-a-facebook-share-or-like-button-to-a-self-hosted-wordpress-blog.htm?share=pocket" target="_blank" title="Click to share on Pocket"><span>Pocket</span></a></li><li class="share-pinterest"><a rel="nofollow noopener noreferrer" data-shared="sharing-pinterest-2024" class="share-pinterest sd-button share-icon" href="http://www.markwilson.co.uk/blog/2010/09/adding-a-facebook-share-or-like-button-to-a-self-hosted-wordpress-blog.htm?share=pinterest" target="_blank" title="Click to share on Pinterest"><span>Pinterest</span></a></li><li class="share-tumblr"><a rel="nofollow noopener noreferrer" data-shared="" class="share-tumblr sd-button share-icon" href="http://www.markwilson.co.uk/blog/2010/09/adding-a-facebook-share-or-like-button-to-a-self-hosted-wordpress-blog.htm?share=tumblr" target="_blank" title="Click to share on Tumblr"><span>Tumblr</span></a></li><li class="share-reddit"><a rel="nofollow noopener noreferrer" data-shared="" class="share-reddit sd-button share-icon" href="http://www.markwilson.co.uk/blog/2010/09/adding-a-facebook-share-or-like-button-to-a-self-hosted-wordpress-blog.htm?share=reddit" target="_blank" title="Click to share on Reddit"><span>Reddit</span></a></li><li class="share-skype"><a rel="nofollow noopener noreferrer" data-shared="sharing-skype-2024" class="share-skype sd-button share-icon" href="http://www.markwilson.co.uk/blog/2010/09/adding-a-facebook-share-or-like-button-to-a-self-hosted-wordpress-blog.htm?share=skype" target="_blank" title="Click to share on Skype"><span>Skype</span></a></li><li class="share-jetpack-whatsapp"><a rel="nofollow noopener noreferrer" data-shared="" class="share-jetpack-whatsapp sd-button share-icon" href="https://api.whatsapp.com/send?text=Adding%20a%20Facebook%20Share%20%28or%20Like%29%20button%20to%20a%20self-hosted%20WordPress%20blog%20http%3A%2F%2Fwww.markwilson.co.uk%2Fblog%2F2010%2F09%2Fadding-a-facebook-share-or-like-button-to-a-self-hosted-wordpress-blog.htm" target="_blank" title="Click to share on WhatsApp"><span>WhatsApp</span></a></li><li class="share-email"><a rel="nofollow noopener noreferrer" data-shared="" class="share-email sd-button share-icon" href="http://www.markwilson.co.uk/blog/2010/09/adding-a-facebook-share-or-like-button-to-a-self-hosted-wordpress-blog.htm?share=email" target="_blank" title="Click to email this to a friend"><span>Email</span></a></li><li class="share-print"><a rel="nofollow noopener noreferrer" data-shared="" class="share-print sd-button share-icon" href="http://www.markwilson.co.uk/blog/2010/09/adding-a-facebook-share-or-like-button-to-a-self-hosted-wordpress-blog.htm#print" target="_blank" title="Click to print"><span>Print</span></a></li><li class="share-end"></li></ul></div></div></div><div class='sharedaddy sd-block sd-like jetpack-likes-widget-wrapper jetpack-likes-widget-unloaded' id='like-post-wrapper-29247765-2024-5c0e43c86a96b' data-src='https://widgets.wp.com/likes/#blog_id=29247765&post_id=2024&origin=www.markwilson.co.uk&obj_id=29247765-2024-5c0e43c86a96b' data-name='like-post-frame-29247765-2024-5c0e43c86a96b'><h3 class="sd-title">Like this:</h3><div class='likes-widget-placeholder post-likes-widget-placeholder' style='height: 55px;'><span class='button'><span>Like</span></span> <span class="loading">Loading...</span></div><span class='sd-text-color'></span><a class='sd-link-color'></a></div> <div id='jp-relatedposts' class='jp-relatedposts' > <h3 class="jp-relatedposts-headline"><em>Related</em></h3> </div> </div><!-- .entry-content --> <footer class="entry-footer"> <span class="cat-links">Posted in Uncategorised</span><span class="tags-links">Tagged <a href="http://www.markwilson.co.uk/blog/tag/social-networking" rel="tag">Social Networking</a>, <a href="http://www.markwilson.co.uk/blog/tag/wordpress" rel="tag">WordPress</a></span><span class="comments-link"><a href="http://www.markwilson.co.uk/blog/2010/09/adding-a-facebook-share-or-like-button-to-a-self-hosted-wordpress-blog.htm#respond">Leave a comment</a></span> </footer><!-- .entry-footer --> </article><!-- #post-## --> <nav class="navigation post-navigation" role="navigation"> <h1 class="screen-reader-text">Post navigation</h1> <div class="nav-links"> <a href="http://www.markwilson.co.uk/blog/2010/09/the-effects-of-sunscreen-on-volkswagenaudi-paintwork.htm" rel="prev"><span class="meta-nav">Previous Post</span>The effects of sunscreen on Volkswagen/Audi paintwork</a><a href="http://www.markwilson.co.uk/blog/2010/09/preparing-images-for-projection-in-photography-club-competitions.htm" rel="next"><span class="meta-nav">Next Post</span>Preparing images for projection in photography club competitions</a> </div><!-- .nav-links --> </nav><!-- .navigation --> <div id="comments" class="comments-area"> <div id="respond" class="comment-respond"> <h3 id="reply-title" class="comment-reply-title">Leave a Reply <small><a rel="nofollow" id="cancel-comment-reply-link" href="/blog/2010/09/adding-a-facebook-share-or-like-button-to-a-self-hosted-wordpress-blog.htm#respond" style="display:none;">Cancel reply</a></small> </h3> <form id="commentform" class="comment-form"> <iframe title="Comment Form" src="http://jetpack.wordpress.com/jetpack-comment/?blogid=29247765&postid=2024&comment_registration=0&require_name_email=0&stc_enabled=1&stb_enabled=1&show_avatars=1&avatar_default=mystery&greeting=Leave+a+Reply&greeting_reply=Leave+a+Reply+to+%25s&color_scheme=light&lang=en_GB&jetpack_version=6.8.1&show_cookie_consent=10&has_cookie_consent=0&sig=da199943bc34a3a4a8685bfb2d96c7a0c41aecb3#parent=http%3A%2F%2Fwww.markwilson.co.uk%2Fblog%2F2010%2F09%2Fadding-a-facebook-share-or-like-button-to-a-self-hosted-wordpress-blog.htm" style="width:100%; height: 430px; border:0;" name="jetpack_remote_comment" class="jetpack_remote_comment" id="jetpack_remote_comment" sandbox="allow-same-origin allow-top-navigation allow-scripts allow-forms allow-popups"></iframe> <!--[if !IE]><!--> <script> document.addEventListener('DOMContentLoaded', function () { var commentForms = document.getElementsByClassName('jetpack_remote_comment'); for (var i = 0; i < commentForms.length; i++) { commentForms[i].allowTransparency = false; commentForms[i].scrolling = 'no'; } }); </script> <!--<![endif]--> </form> </div> <input type="hidden" name="comment_parent" id="comment_parent" value="" /> <p class="akismet_comment_form_privacy_notice">This site uses Akismet to reduce spam. <a href="https://akismet.com/privacy/" target="_blank" rel="nofollow noopener">Learn how your comment data is processed</a>.</p> </div><!-- #comments --> </main><!-- #main --> </div><!-- #primary --> <div id="secondary" class="widget-area" role="complementary"> <aside id="eu_cookie_law_widget-2" class="widget widget_eu_cookie_law_widget"><div class="hide-on-button negative" data-hide-timeout="30" data-consent-expiration="180" id="eu-cookie-law" > <form method="post"> <input type="submit" value="Close and accept" class="accept" /> </form> By using this website you allow cookies to be placed on your computer. They are harmless and never personally identify you. For more information about cookies and how they are used, visit the <a href="http://www.markwilson.co.uk/blog/about/privacy" > Privacy Policy and Data Protection Notice </a> </div> </aside><aside id="search-4" class="widget widget_search"><form role="search" method="get" class="search-form" action="http://www.markwilson.co.uk/blog/"> <label> <span class="screen-reader-text">Search for:</span> <input type="search" class="search-field" placeholder="Search …" value="" name="s" /> </label> <input type="submit" class="search-submit" value="Search" /> </form></aside><aside id="categories-2" class="widget widget_categories"><h2 class="widget-title">Categories</h2> <ul> <li class="cat-item cat-item-364"><a href="http://www.markwilson.co.uk/blog/topic/exercise" >Exercise</a> </li> <li class="cat-item cat-item-117"><a href="http://www.markwilson.co.uk/blog/topic/motoring" >Motoring</a> </li> <li class="cat-item cat-item-152"><a href="http://www.markwilson.co.uk/blog/topic/photography" >Photography</a> </li> <li class="cat-item cat-item-6"><a href="http://www.markwilson.co.uk/blog/topic/site-notices" >Site notices</a> </li> <li class="cat-item cat-item-218"><a href="http://www.markwilson.co.uk/blog/topic/technology" >Technology</a> </li> <li class="cat-item cat-item-38"><a href="http://www.markwilson.co.uk/blog/topic/inane-waffle" >Waffle and randomness</a> </li> <li class="cat-item cat-item-666"><a href="http://www.markwilson.co.uk/blog/topic/weeknotes" >Weeknotes</a> </li> </ul> </aside><aside id="archives-2" class="widget widget_archive"><h2 class="widget-title">Archives</h2> <label class="screen-reader-text" for="archives-dropdown-2">Archives</label> <select id="archives-dropdown-2" name="archive-dropdown" onchange='document.location.href=this.options[this.selectedIndex].value;'> <option value="">Select Month</option> <option value='http://www.markwilson.co.uk/blog/2018/10'> October 2018  (1)</option> <option value='http://www.markwilson.co.uk/blog/2018/09'> September 2018  (1)</option> <option value='http://www.markwilson.co.uk/blog/2018/08'> August 2018  (1)</option> <option value='http://www.markwilson.co.uk/blog/2018/07'> July 2018  (2)</option> <option value='http://www.markwilson.co.uk/blog/2018/06'> June 2018  (4)</option> <option value='http://www.markwilson.co.uk/blog/2018/05'> May 2018  (3)</option> <option value='http://www.markwilson.co.uk/blog/2018/04'> April 2018  (3)</option> <option value='http://www.markwilson.co.uk/blog/2018/03'> March 2018  (2)</option> <option value='http://www.markwilson.co.uk/blog/2018/02'> February 2018  (4)</option> <option value='http://www.markwilson.co.uk/blog/2018/01'> January 2018  (1)</option> <option value='http://www.markwilson.co.uk/blog/2017/12'> December 2017  (4)</option> <option value='http://www.markwilson.co.uk/blog/2017/11'> November 2017  (4)</option> <option value='http://www.markwilson.co.uk/blog/2017/10'> October 2017  (5)</option> <option value='http://www.markwilson.co.uk/blog/2017/09'> September 2017  (5)</option> <option value='http://www.markwilson.co.uk/blog/2017/08'> August 2017  (6)</option> <option value='http://www.markwilson.co.uk/blog/2017/07'> July 2017  (12)</option> <option value='http://www.markwilson.co.uk/blog/2017/06'> June 2017  (2)</option> <option value='http://www.markwilson.co.uk/blog/2017/05'> May 2017  (4)</option> <option value='http://www.markwilson.co.uk/blog/2017/04'> April 2017  (3)</option> <option value='http://www.markwilson.co.uk/blog/2017/03'> March 2017  (7)</option> <option value='http://www.markwilson.co.uk/blog/2017/02'> February 2017  (7)</option> <option value='http://www.markwilson.co.uk/blog/2017/01'> January 2017  (13)</option> <option value='http://www.markwilson.co.uk/blog/2016/12'> December 2016  (13)</option> <option value='http://www.markwilson.co.uk/blog/2016/11'> November 2016  (11)</option> <option value='http://www.markwilson.co.uk/blog/2016/10'> October 2016  (6)</option> <option value='http://www.markwilson.co.uk/blog/2016/09'> September 2016  (11)</option> <option value='http://www.markwilson.co.uk/blog/2016/08'> August 2016  (6)</option> <option value='http://www.markwilson.co.uk/blog/2016/07'> July 2016  (3)</option> <option value='http://www.markwilson.co.uk/blog/2016/06'> June 2016  (2)</option> <option value='http://www.markwilson.co.uk/blog/2016/05'> May 2016  (11)</option> <option value='http://www.markwilson.co.uk/blog/2016/04'> April 2016  (4)</option> <option value='http://www.markwilson.co.uk/blog/2016/03'> March 2016  (7)</option> <option value='http://www.markwilson.co.uk/blog/2016/02'> February 2016  (3)</option> <option value='http://www.markwilson.co.uk/blog/2016/01'> January 2016  (5)</option> <option value='http://www.markwilson.co.uk/blog/2015/12'> December 2015  (3)</option> <option value='http://www.markwilson.co.uk/blog/2015/11'> November 2015  (10)</option> <option value='http://www.markwilson.co.uk/blog/2015/10'> October 2015  (16)</option> <option value='http://www.markwilson.co.uk/blog/2015/09'> September 2015  (30)</option> <option value='http://www.markwilson.co.uk/blog/2015/08'> August 2015  (17)</option> <option value='http://www.markwilson.co.uk/blog/2015/07'> July 2015  (15)</option> <option value='http://www.markwilson.co.uk/blog/2015/06'> June 2015  (5)</option> <option value='http://www.markwilson.co.uk/blog/2015/05'> May 2015  (11)</option> <option value='http://www.markwilson.co.uk/blog/2015/04'> April 2015  (8)</option> <option value='http://www.markwilson.co.uk/blog/2015/03'> March 2015  (5)</option> <option value='http://www.markwilson.co.uk/blog/2015/02'> February 2015  (6)</option> <option value='http://www.markwilson.co.uk/blog/2015/01'> January 2015  (2)</option> <option value='http://www.markwilson.co.uk/blog/2014/12'> December 2014  (4)</option> <option value='http://www.markwilson.co.uk/blog/2014/11'> November 2014  (4)</option> <option value='http://www.markwilson.co.uk/blog/2014/10'> October 2014  (9)</option> <option value='http://www.markwilson.co.uk/blog/2014/09'> September 2014  (3)</option> <option value='http://www.markwilson.co.uk/blog/2014/08'> August 2014  (3)</option> <option value='http://www.markwilson.co.uk/blog/2014/07'> July 2014  (5)</option> <option value='http://www.markwilson.co.uk/blog/2014/06'> June 2014  (7)</option> <option value='http://www.markwilson.co.uk/blog/2014/05'> May 2014  (2)</option> <option value='http://www.markwilson.co.uk/blog/2014/04'> April 2014  (4)</option> <option value='http://www.markwilson.co.uk/blog/2014/03'> March 2014  (6)</option> <option value='http://www.markwilson.co.uk/blog/2014/02'> February 2014  (7)</option> <option value='http://www.markwilson.co.uk/blog/2014/01'> January 2014  (6)</option> <option value='http://www.markwilson.co.uk/blog/2013/12'> December 2013  (4)</option> <option value='http://www.markwilson.co.uk/blog/2013/11'> November 2013  (5)</option> <option value='http://www.markwilson.co.uk/blog/2013/10'> October 2013  (4)</option> <option value='http://www.markwilson.co.uk/blog/2013/09'> September 2013  (5)</option> <option value='http://www.markwilson.co.uk/blog/2013/08'> August 2013  (1)</option> <option value='http://www.markwilson.co.uk/blog/2013/07'> July 2013  (9)</option> <option value='http://www.markwilson.co.uk/blog/2013/06'> June 2013  (3)</option> <option value='http://www.markwilson.co.uk/blog/2013/05'> May 2013  (8)</option> <option value='http://www.markwilson.co.uk/blog/2013/04'> April 2013  (2)</option> <option value='http://www.markwilson.co.uk/blog/2013/03'> March 2013  (9)</option> <option value='http://www.markwilson.co.uk/blog/2013/02'> February 2013  (8)</option> <option value='http://www.markwilson.co.uk/blog/2013/01'> January 2013  (12)</option> <option value='http://www.markwilson.co.uk/blog/2012/12'> December 2012  (8)</option> <option value='http://www.markwilson.co.uk/blog/2012/11'> November 2012  (16)</option> <option value='http://www.markwilson.co.uk/blog/2012/10'> October 2012  (18)</option> <option value='http://www.markwilson.co.uk/blog/2012/09'> September 2012  (7)</option> <option value='http://www.markwilson.co.uk/blog/2012/08'> August 2012  (14)</option> <option value='http://www.markwilson.co.uk/blog/2012/07'> July 2012  (9)</option> <option value='http://www.markwilson.co.uk/blog/2012/06'> June 2012  (13)</option> <option value='http://www.markwilson.co.uk/blog/2012/05'> May 2012  (17)</option> <option value='http://www.markwilson.co.uk/blog/2012/04'> April 2012  (12)</option> <option value='http://www.markwilson.co.uk/blog/2012/03'> March 2012  (17)</option> <option value='http://www.markwilson.co.uk/blog/2012/02'> February 2012  (13)</option> <option value='http://www.markwilson.co.uk/blog/2012/01'> January 2012  (9)</option> <option value='http://www.markwilson.co.uk/blog/2011/12'> December 2011  (15)</option> <option value='http://www.markwilson.co.uk/blog/2011/11'> November 2011  (23)</option> <option value='http://www.markwilson.co.uk/blog/2011/10'> October 2011  (10)</option> <option value='http://www.markwilson.co.uk/blog/2011/09'> September 2011  (11)</option> <option value='http://www.markwilson.co.uk/blog/2011/08'> August 2011  (11)</option> <option value='http://www.markwilson.co.uk/blog/2011/07'> July 2011  (17)</option> <option value='http://www.markwilson.co.uk/blog/2011/06'> June 2011  (13)</option> <option value='http://www.markwilson.co.uk/blog/2011/05'> May 2011  (15)</option> <option value='http://www.markwilson.co.uk/blog/2011/04'> April 2011  (14)</option> <option value='http://www.markwilson.co.uk/blog/2011/03'> March 2011  (17)</option> <option value='http://www.markwilson.co.uk/blog/2011/02'> February 2011  (11)</option> <option value='http://www.markwilson.co.uk/blog/2011/01'> January 2011  (7)</option> <option value='http://www.markwilson.co.uk/blog/2010/12'> December 2010  (9)</option> <option value='http://www.markwilson.co.uk/blog/2010/11'> November 2010  (13)</option> <option value='http://www.markwilson.co.uk/blog/2010/10'> October 2010  (11)</option> <option value='http://www.markwilson.co.uk/blog/2010/09'> September 2010  (14)</option> <option value='http://www.markwilson.co.uk/blog/2010/08'> August 2010  (10)</option> <option value='http://www.markwilson.co.uk/blog/2010/07'> July 2010  (2)</option> <option value='http://www.markwilson.co.uk/blog/2010/06'> June 2010  (11)</option> <option value='http://www.markwilson.co.uk/blog/2010/05'> May 2010  (10)</option> <option value='http://www.markwilson.co.uk/blog/2010/04'> April 2010  (10)</option> <option value='http://www.markwilson.co.uk/blog/2010/03'> March 2010  (14)</option> <option value='http://www.markwilson.co.uk/blog/2010/02'> February 2010  (13)</option> <option value='http://www.markwilson.co.uk/blog/2010/01'> January 2010  (8)</option> <option value='http://www.markwilson.co.uk/blog/2009/12'> December 2009  (7)</option> <option value='http://www.markwilson.co.uk/blog/2009/11'> November 2009  (10)</option> <option value='http://www.markwilson.co.uk/blog/2009/10'> October 2009  (19)</option> <option value='http://www.markwilson.co.uk/blog/2009/09'> September 2009  (19)</option> <option value='http://www.markwilson.co.uk/blog/2009/08'> August 2009  (21)</option> <option value='http://www.markwilson.co.uk/blog/2009/07'> July 2009  (25)</option> <option value='http://www.markwilson.co.uk/blog/2009/06'> June 2009  (19)</option> <option value='http://www.markwilson.co.uk/blog/2009/05'> May 2009  (19)</option> <option value='http://www.markwilson.co.uk/blog/2009/04'> April 2009  (26)</option> <option value='http://www.markwilson.co.uk/blog/2009/03'> March 2009  (24)</option> <option value='http://www.markwilson.co.uk/blog/2009/02'> February 2009  (24)</option> <option value='http://www.markwilson.co.uk/blog/2009/01'> January 2009  (26)</option> <option value='http://www.markwilson.co.uk/blog/2008/12'> December 2008  (25)</option> <option value='http://www.markwilson.co.uk/blog/2008/11'> November 2008  (34)</option> <option value='http://www.markwilson.co.uk/blog/2008/10'> October 2008  (36)</option> <option value='http://www.markwilson.co.uk/blog/2008/09'> September 2008  (50)</option> <option value='http://www.markwilson.co.uk/blog/2008/08'> August 2008  (36)</option> <option value='http://www.markwilson.co.uk/blog/2008/07'> July 2008  (38)</option> <option value='http://www.markwilson.co.uk/blog/2008/06'> June 2008  (17)</option> <option value='http://www.markwilson.co.uk/blog/2008/05'> May 2008  (25)</option> <option value='http://www.markwilson.co.uk/blog/2008/04'> April 2008  (22)</option> <option value='http://www.markwilson.co.uk/blog/2008/03'> March 2008  (25)</option> <option value='http://www.markwilson.co.uk/blog/2008/02'> February 2008  (24)</option> <option value='http://www.markwilson.co.uk/blog/2008/01'> January 2008  (14)</option> <option value='http://www.markwilson.co.uk/blog/2007/12'> December 2007  (16)</option> <option value='http://www.markwilson.co.uk/blog/2007/11'> November 2007  (23)</option> <option value='http://www.markwilson.co.uk/blog/2007/10'> October 2007  (22)</option> <option value='http://www.markwilson.co.uk/blog/2007/09'> September 2007  (14)</option> <option value='http://www.markwilson.co.uk/blog/2007/08'> August 2007  (27)</option> <option value='http://www.markwilson.co.uk/blog/2007/07'> July 2007  (44)</option> <option value='http://www.markwilson.co.uk/blog/2007/06'> June 2007  (16)</option> <option value='http://www.markwilson.co.uk/blog/2007/05'> May 2007  (23)</option> <option value='http://www.markwilson.co.uk/blog/2007/04'> April 2007  (17)</option> <option value='http://www.markwilson.co.uk/blog/2007/03'> March 2007  (26)</option> <option value='http://www.markwilson.co.uk/blog/2007/02'> February 2007  (26)</option> <option value='http://www.markwilson.co.uk/blog/2007/01'> January 2007  (11)</option> <option value='http://www.markwilson.co.uk/blog/2006/12'> December 2006  (16)</option> <option value='http://www.markwilson.co.uk/blog/2006/11'> November 2006  (26)</option> <option value='http://www.markwilson.co.uk/blog/2006/10'> October 2006  (12)</option> <option value='http://www.markwilson.co.uk/blog/2006/09'> September 2006  (22)</option> <option value='http://www.markwilson.co.uk/blog/2006/08'> August 2006  (17)</option> <option value='http://www.markwilson.co.uk/blog/2006/07'> July 2006  (26)</option> <option value='http://www.markwilson.co.uk/blog/2006/06'> June 2006  (15)</option> <option value='http://www.markwilson.co.uk/blog/2006/05'> May 2006  (39)</option> <option value='http://www.markwilson.co.uk/blog/2006/04'> April 2006  (13)</option> <option value='http://www.markwilson.co.uk/blog/2006/03'> March 2006  (8)</option> <option value='http://www.markwilson.co.uk/blog/2006/02'> February 2006  (33)</option> <option value='http://www.markwilson.co.uk/blog/2006/01'> January 2006  (42)</option> <option value='http://www.markwilson.co.uk/blog/2005/12'> December 2005  (19)</option> <option value='http://www.markwilson.co.uk/blog/2005/11'> November 2005  (21)</option> <option value='http://www.markwilson.co.uk/blog/2005/10'> October 2005  (38)</option> <option value='http://www.markwilson.co.uk/blog/2005/09'> September 2005  (15)</option> <option value='http://www.markwilson.co.uk/blog/2005/08'> August 2005  (32)</option> <option value='http://www.markwilson.co.uk/blog/2005/07'> July 2005  (31)</option> <option value='http://www.markwilson.co.uk/blog/2005/06'> June 2005  (17)</option> <option value='http://www.markwilson.co.uk/blog/2005/05'> May 2005  (28)</option> <option value='http://www.markwilson.co.uk/blog/2005/04'> April 2005  (8)</option> <option value='http://www.markwilson.co.uk/blog/2005/03'> March 2005  (22)</option> <option value='http://www.markwilson.co.uk/blog/2005/02'> February 2005  (29)</option> <option value='http://www.markwilson.co.uk/blog/2005/01'> January 2005  (8)</option> <option value='http://www.markwilson.co.uk/blog/2004/12'> December 2004  (17)</option> <option value='http://www.markwilson.co.uk/blog/2004/11'> November 2004  (8)</option> <option value='http://www.markwilson.co.uk/blog/2004/10'> October 2004  (25)</option> <option value='http://www.markwilson.co.uk/blog/2004/09'> September 2004  (36)</option> <option value='http://www.markwilson.co.uk/blog/2004/08'> August 2004  (22)</option> <option value='http://www.markwilson.co.uk/blog/2004/07'> July 2004  (8)</option> <option value='http://www.markwilson.co.uk/blog/2004/06'> June 2004  (8)</option> <option value='http://www.markwilson.co.uk/blog/2004/05'> May 2004  (6)</option> <option value='http://www.markwilson.co.uk/blog/2004/04'> April 2004  (3)</option> <option value='http://www.markwilson.co.uk/blog/2004/03'> March 2004  (2)</option> <option value='http://www.markwilson.co.uk/blog/2004/02'> February 2004  (6)</option> <option value='http://www.markwilson.co.uk/blog/2004/01'> January 2004  (2)</option> </select> </aside><aside id="blog_subscription-2" class="widget jetpack_subscription_widget"><h2 class="widget-title">Subscriptions</h2> <form action="#" method="post" accept-charset="utf-8" id="subscribe-blog-blog_subscription-2"> <div id="subscribe-text"><p>Enter your email address to subscribe to this blog and receive notifications of new posts by email (or <a href="http://www.markwilson.co.uk/blog/feed">subscribe by RSS</a>).</p> </div> <p id="subscribe-email"> <label id="jetpack-subscribe-label" for="subscribe-field-blog_subscription-2"> Email Address </label> <input type="email" name="email" required="required" class="required" value="" id="subscribe-field-blog_subscription-2" placeholder="Email Address" /> </p> <p id="subscribe-submit"> <input type="hidden" name="action" value="subscribe" /> <input type="hidden" name="source" value="http://www.markwilson.co.uk/blog/2010/09/adding-a-facebook-share-or-like-button-to-a-self-hosted-wordpress-blog.htm" /> <input type="hidden" name="sub-type" value="widget" /> <input type="hidden" name="redirect_fragment" value="blog_subscription-2" /> <input type="submit" value="Subscribe" name="jetpack_subscriptions_widget" /> </p> </form> <script> /* Custom functionality for safari and IE */ (function( d ) { // In case the placeholder functionality is available we remove labels if ( ( 'placeholder' in d.createElement( 'input' ) ) ) { var label = d.querySelector( 'label[for=subscribe-field-blog_subscription-2]' ); label.style.clip = 'rect(1px, 1px, 1px, 1px)'; label.style.position = 'absolute'; label.style.height = '1px'; label.style.width = '1px'; label.style.overflow = 'hidden'; } // Make sure the email value is filled in before allowing submit var form = d.getElementById('subscribe-blog-blog_subscription-2'), input = d.getElementById('subscribe-field-blog_subscription-2'), handler = function( event ) { if ( '' === input.value ) { input.focus(); if ( event.preventDefault ){ event.preventDefault(); } return false; } }; if ( window.addEventListener ) { form.addEventListener( 'submit', handler, false ); } else { form.attachEvent( 'onsubmit', handler ); } })( document ); </script> </aside><aside id="twitter_timeline-3" class="widget widget_twitter_timeline"><h2 class="widget-title">@markwilsonit</h2><a class="twitter-timeline" data-height="400" data-theme="light" data-link-color="#f96e5b" data-border-color="#e8e8e8" data-lang="EN" data-partner="jetpack" href="https://twitter.com/markwilsonit" href="https://twitter.com/markwilsonit">My Tweets</a></aside><aside id="text-12" class="widget widget_text"><h2 class="widget-title">Awards</h2> <div class="textwidget"><ul> <li><img class="alignright" src="https://i1.wp.com/www.markwilson.co.uk/blog/images/mvp-horizontal-small.png?w=125" alt="Microsoft MVP 2008-2010" data-recalc-dims="1" />Microsoft Most Valuable Professional (2008-2010, Virtual Machine)</li> <li>Computer Weekly Blog Awards Winner (2010, Individual IT Professional (Male))</li> <li><img class="alignright" src="https://i0.wp.com/www.markwilson.co.uk/blog/images/mvp-reconnect.png?resize=117%2C38" alt="Microsoft MVP Reconnect" width="117" height="38" data-recalc-dims="1" />Microsoft MVP Reconnect (2016)</li> <li><img class="alignright" src="https://i0.wp.com/www.markwilson.co.uk/blog/images/ukba-finalist-logo.png?resize=125%2C125" alt="UK Blog Awards 2017 Finalist" width="125" height="125" data-recalc-dims="1" />UK Blog Awards Finalist (2017, Digital and Technology (Individual))</li> </ul> </div> </aside> </div><!-- #secondary --> </div><!-- .content-wrapper --> </div><!-- #content --> <div id="tertiary" class="footer-widget-area" role="complementary"> <div class="footer-widget-wrapper clear"> <div class="footer-widget"> <aside id="custom_html-2" class="widget_text widget widget_custom_html"><h2 class="widget-title">Referrals</h2><div class="textwidget custom-html-widget"><p>I've removed the ads from the site but I do use these services and recommend them to others:</p> <p><a href="https://www.giffgaff.com/orders/affiliate/markawilson" target="_blank"><img src="https://i0.wp.com/www.giffgaff.com/styleguide/images/banner/07_468x60.png?resize=468%2C60&ssl=1" width="468" height="60" alt="Get a free giffgaff Sim" data-recalc-dims="1" /></a></p> <!--<p><a href='http://www.plus.net/myreferrals/new.html?intReferrerID=00479014'><img src='https://i0.wp.com/www.plus.net/images/referrals/ref-biz-banner.gif?w=700' alt='Unlimited business broadband from £15.99 a month' border='0' rel='nofollow' data-recalc-dims="1"></a></p>--> <p>I use Hover for domain name registration. <a href="https://hover.com/MRGm6RPW">Get $2 off your next purchase</a>.</p> <p><a href="https://bulb.co.uk/refer/mark3758">Switch to Bulb Energy</a> and we both get some credit!</p> <!--<p><a href="http://rewards.first-utility.com/go.axd?ref=UJ47U7">Switch your gas and electricity supply to First Utility and get a £30 reward</a> (for each of us!)</p> --></div></aside><aside id="nav_menu-4" class="widget widget_nav_menu"><div class="menu-essentials-container"><ul id="menu-essentials" class="menu"><li id="menu-item-5873" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-5873"><a href="http://www.markwilson.co.uk/blog/about-mark-wilson">About Mark Wilson</a> <ul class="sub-menu"> <li id="menu-item-5874" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5874"><a href="http://www.markwilson.co.uk/blog/about-mark-wilson/press">Press and other commissioned work</a></li> </ul> </li> <li id="menu-item-5875" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5875"><a href="http://www.markwilson.co.uk/blog/about">About this site</a></li> <li id="menu-item-5876" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5876"><a href="http://www.markwilson.co.uk/blog/about/legal">Legal notice</a></li> <li id="menu-item-5877" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5877"><a href="http://www.markwilson.co.uk/blog/about/linking">Linking to this site</a></li> <li id="menu-item-5878" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5878"><a href="http://www.markwilson.co.uk/blog/about/privacy">Privacy policy and data protection notice</a></li> <li id="menu-item-5879" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5879"><a href="http://www.markwilson.co.uk/blog/about/rules">Rules for comments</a></li> <li id="menu-item-5880" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5880"><a href="http://www.markwilson.co.uk/blog/about/disclosure">Disclosure Policy</a></li> <li id="menu-item-5881" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5881"><a href="http://www.markwilson.co.uk/blog/contact">Contact</a></li> <li id="menu-item-5882" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-5882"><a href="http://www.markwilson.co.uk/blog/contact/guest-contributors">Guest contributors</a></li> </ul></div></aside><aside id="execphp-4" class="widget widget_execphp"><h2 class="widget-title">Copyright Notice</h2> <div class="execphpwidget">The content at this website is © Mark Wilson 2004-2018, All Rights Reserved.</div> </aside> </div><!-- .footer-widget --> <div class="footer-widget"> <aside id="recent-posts-4" class="widget widget_recent_entries"> <h2 class="widget-title">Recent Posts</h2> <ul> <li> <a href="http://www.markwilson.co.uk/blog/2018/10/short-takes-canon-selphy-ink-cassette-issues-a-new-samsung-4k-monitor-tracking-down-digital-copies-of-ikea-assembly-instructions.htm">Short takes: Canon Selphy ink cassette issues; a new Samsung 4K monitor; tracking down digital copies of Ikea assembly instructions</a> </li> <li> <a href="http://www.markwilson.co.uk/blog/2018/09/saving-money-on-calls-whilst-travelling-in-the-usa.htm">Saving money on mobile calls and data whilst travelling in the USA</a> </li> <li> <a href="http://www.markwilson.co.uk/blog/2018/08/poorly-targeted-inmail-on-linkedin.htm">Poorly-targeted InMail on LinkedIn…</a> </li> <li> <a href="http://www.markwilson.co.uk/blog/2018/07/bringing-engineering-to-life-with-some-key-stage-2-schoolchildren-and-knex.htm">Bringing engineering to life with some Key Stage 2 schoolchildren and K’nex</a> </li> <li> <a href="http://www.markwilson.co.uk/blog/2018/07/microsoft-surface-pro-3-refuses-to-power-on-fixed-with-a-handful-of-elastic-bands.htm">Microsoft Surface Pro 3 refuses to power on: fixed with a handful of elastic bands</a> </li> </ul> </aside> </div><!-- .footer-widget --> <div class="footer-widget"> <aside id="recent-comments-5" class="widget widget_recent_comments"><h2 class="widget-title">Recent Comments</h2><ul id="recentcomments"><li class="recentcomments"><span class="comment-author-link"><a href='http://www.markwilson.co.uk/blog/2018/09/saving-money-on-calls-whilst-travelling-in-the-usa.htm' rel='external ' class='url'>Saving money on mobile calls and data whilst travelling in the USA - markwilson.it</a></span> on <a href="http://www.markwilson.co.uk/blog/2015/09/microsoft-office-365-home-office-on-up-to-5-pcsmacs-5-tablets-and-5-phones-legally-without-breaking-the-bank.htm#comment-383839">Microsoft Office 365 Home: Office on up to 5 PCs/Macs, 5 tablets and 5 phones – legally – without breaking the bank</a></li><li class="recentcomments"><span class="comment-author-link"><a href='http://serveur.ipgirl.com/windows-partage-lauthentification-partir-de-connection-active-directory-linux.html' rel='external ' class='url'>Windows partage l&apos;authentification à partir de connection Active Directory Linux Serveur</a></span> on <a href="http://www.markwilson.co.uk/blog/2007/05/using-active-directory-to-authenticate-users-on-a-linux-computer.htm#comment-383836">Using Active Directory to authenticate users on a Linux computer</a></li><li class="recentcomments"><span class="comment-author-link"><a href='http://eric.oszakiewski.net/office-communicator-custom-presence-in-r2/' rel='external ' class='url'>Office Communicator custom presence in R2 | Eric's SharedPoints</a></span> on <a href="http://www.markwilson.co.uk/blog/2009/07/defining-custom-presence-states-for-office-communicator-2007-r2.htm#comment-383817">Defining custom presence states for Office Communicator 2007 R2</a></li><li class="recentcomments"><span class="comment-author-link">Tonneau Cover</span> on <a href="http://www.markwilson.co.uk/blog/2017/10/tips-first-weeks-gopro-action-camera.htm#comment-383816">Some tips from my first few weeks with a GoPro Hero action camera</a></li><li class="recentcomments"><span class="comment-author-link">Tonneau Cover</span> on <a href="http://www.markwilson.co.uk/blog/2018/07/bringing-engineering-to-life-with-some-key-stage-2-schoolchildren-and-knex.htm#comment-383815">Bringing engineering to life with some Key Stage 2 schoolchildren and K’nex</a></li></ul></aside> </div><!-- .footer-widget --> </div><!-- .footer-widget-wrapper --> </div><!-- #tertiary --> <footer id="colophon" class="site-footer" role="contentinfo"> <nav class="footer-navigation" role="navigation"> <div class="menu-social-networks-container"><ul id="menu-social-networks" class="clear"><li id="menu-item-5589" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-5589"><a href="https://twitter.com/markwilsonit">Twitter</a></li> <li id="menu-item-5590" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-5590"><a href="https://uk.linkedin.com/in/markawilson">LinkedIn</a></li> <li id="menu-item-5593" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-5593"><a href="https://www.flickr.com/photos/mark-wilson">Flickr</a></li> <li id="menu-item-5592" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-5592"><a href="http://www.slideshare.net/markwilson">Slideshare</a></li> </ul></div> </nav><!-- .footer-navigation --> <div class="site-info"> <a href="http://wordpress.org/">Proudly powered by WordPress</a> <span class="sep"> | </span> Theme: Goran by <a href="http://wordpress.com/themes/goran/" rel="designer">WordPress.com</a>. </div><!-- .site-info --> </footer><!-- #colophon --> </div><!-- #page --> <!-- Special Message (ABA) Begin --> <style> .special-message-wrapper { background:#C44; color:#FFF; font-size:15px; } </style> <div class="special-message-wrapper" style="display:none;"> <div class="special-message-content"> <div class="special-message-left"> I spend a lot of time creating content for this site. Please support me by adding the site to the whitelist in your ad blocker. Ad revenue helps towards the hosting costs for the site. Thank you! </div> <div class="special-message-right"> <span class="dashicons dashicons-no"></span> </div> <div style="clear:both;"></div> </div> </div> <script type="text/javascript"> jQuery( window ).load( function() { if ( ! document.getElementById( "aba_detector" ) ) { var aba_cookie = readCookie( "Ad_Blocking_Advisor_WP_Plugin" ) if ( ! aba_cookie ) { jQuery( ".special-message-wrapper" ).show().prependTo( jQuery( "body" ) ); } } }); jQuery( ".special-message-right" ).click(function(){ // User clicked close. jQuery( ".special-message-wrapper" ).hide(); createCookie( "Ad_Blocking_Advisor_WP_Plugin", "closed", 2 ); }); </script> <!-- Special Message (ABA) End --> <div style="display:none"> </div> <script type="text/javascript"> window.WPCOM_sharing_counts = {"http:\/\/www.markwilson.co.uk\/blog\/2010\/09\/adding-a-facebook-share-or-like-button-to-a-self-hosted-wordpress-blog.htm":2024}; </script> <div id="sharing_email" style="display: none;"> <form action="/blog/2010/09/adding-a-facebook-share-or-like-button-to-a-self-hosted-wordpress-blog.htm" method="post"> <label for="target_email">Send to Email Address</label> <input type="email" name="target_email" id="target_email" value="" /> <label for="source_name">Your Name</label> <input type="text" name="source_name" id="source_name" value="" /> <label for="source_email">Your Email Address</label> <input type="email" name="source_email" id="source_email" value="" /> <input type="text" id="jetpack-source_f_name" name="source_f_name" class="input" value="" size="25" autocomplete="off" title="This field is for validation and should not be changed" /> <img style="float: right; display: none" class="loading" src="http://www.markwilson.co.uk/blog/wp-content/plugins/jetpack/modules/sharedaddy/images/loading.gif" alt="loading" width="16" height="16" /> <input type="submit" value="Send Email" class="sharing_send" /> <a rel="nofollow" href="#cancel" class="sharing_cancel" role="button">Cancel</a> <div class="errors errors-1" style="display: none;"> Post was not sent - check your email addresses! </div> <div class="errors errors-2" style="display: none;"> Email check failed, please try again </div> <div class="errors errors-3" style="display: none;"> Sorry, your blog cannot share posts by email. </div> </form> </div> <script type='text/javascript' src='http://www.markwilson.co.uk/blog/wp-content/plugins/jetpack/_inc/build/photon/photon.min.js?ver=20130122'></script> <script type='text/javascript' src='http://www.markwilson.co.uk/blog/wp-content/plugins/ad-blocking-advisor/js/ads.js?ver=1544438728'></script> <script type='text/javascript' src='https://s0.wp.com/wp-content/js/devicepx-jetpack.js?ver=201850'></script> <script type='text/javascript' src='http://www.markwilson.co.uk/blog/wp-content/plugins/jquery-archive-list-widget/assets/js/jal.js?ver=4.9.8'></script> <script type='text/javascript' src='https://secure.gravatar.com/js/gprofiles.js?ver=2018Decaa'></script> <script type='text/javascript'> /* <![CDATA[ */ var WPGroHo = {"my_hash":""}; /* ]]> */ </script> <script type='text/javascript' src='http://www.markwilson.co.uk/blog/wp-content/plugins/jetpack/modules/wpgroho.js?ver=4.9.8'></script> <script type='text/javascript' src='http://www.markwilson.co.uk/blog/wp-content/themes/edin/js/skip-link-focus-fix.js?ver=20130115'></script> <script type='text/javascript' src='http://www.markwilson.co.uk/blog/wp-content/plugins/jetpack/_inc/build/widgets/eu-cookie-law/eu-cookie-law.min.js?ver=20180522'></script> <script type='text/javascript' src='http://www.markwilson.co.uk/blog/wp-content/plugins/jetpack/_inc/build/twitter-timeline.min.js?ver=4.0.0'></script> <script type='text/javascript' src='http://www.markwilson.co.uk/blog/wp-content/themes/goran/js/navigation.js?ver=20140807'></script> <script type='text/javascript' src='http://www.markwilson.co.uk/blog/wp-content/themes/goran/js/goran.js?ver=20140808'></script> <script type='text/javascript' src='http://www.markwilson.co.uk/blog/wp-includes/js/wp-embed.min.js?ver=4.9.8'></script> <script type='text/javascript' src='http://www.markwilson.co.uk/blog/wp-content/plugins/jetpack/_inc/build/postmessage.min.js?ver=6.8.1'></script> <script type='text/javascript' src='http://www.markwilson.co.uk/blog/wp-content/plugins/jetpack/_inc/build/jquery.jetpack-resize.min.js?ver=6.8.1'></script> <script type='text/javascript' src='http://www.markwilson.co.uk/blog/wp-content/plugins/jetpack/_inc/build/likes/queuehandler.min.js?ver=6.8.1'></script> <script async="async" type='text/javascript' src='http://www.markwilson.co.uk/blog/wp-content/plugins/akismet/_inc/form.js?ver=4.1'></script> <script type='text/javascript'> /* <![CDATA[ */ var sharing_js_options = {"lang":"en","counts":"1","is_stats_active":"1"}; /* ]]> */ </script> <script type='text/javascript' src='http://www.markwilson.co.uk/blog/wp-content/plugins/jetpack/_inc/build/sharedaddy/sharing.min.js?ver=6.8.1'></script> <script type='text/javascript'> var windowOpen; jQuery( document.body ).on( 'click', 'a.share-twitter', function() { // If there's another sharing window open, close it. if ( 'undefined' !== typeof windowOpen ) { windowOpen.close(); } windowOpen = window.open( jQuery( this ).attr( 'href' ), 'wpcomtwitter', 'menubar=1,resizable=1,width=600,height=350' ); return false; }); var windowOpen; jQuery( document.body ).on( 'click', 'a.share-facebook', function() { // If there's another sharing window open, close it. if ( 'undefined' !== typeof windowOpen ) { windowOpen.close(); } windowOpen = window.open( jQuery( this ).attr( 'href' ), 'wpcomfacebook', 'menubar=1,resizable=1,width=600,height=400' ); return false; }); var windowOpen; jQuery( document.body ).on( 'click', 'a.share-google-plus-1', function() { // If there's another sharing window open, close it. if ( 'undefined' !== typeof windowOpen ) { windowOpen.close(); } windowOpen = window.open( jQuery( this ).attr( 'href' ), 'wpcomgoogle-plus-1', 'menubar=1,resizable=1,width=480,height=550' ); return false; }); var windowOpen; jQuery( document.body ).on( 'click', 'a.share-linkedin', function() { // If there's another sharing window open, close it. if ( 'undefined' !== typeof windowOpen ) { windowOpen.close(); } windowOpen = window.open( jQuery( this ).attr( 'href' ), 'wpcomlinkedin', 'menubar=1,resizable=1,width=580,height=450' ); return false; }); var windowOpen; jQuery( document.body ).on( 'click', 'a.share-pocket', function() { // If there's another sharing window open, close it. if ( 'undefined' !== typeof windowOpen ) { windowOpen.close(); } windowOpen = window.open( jQuery( this ).attr( 'href' ), 'wpcompocket', 'menubar=1,resizable=1,width=450,height=450' ); return false; }); var windowOpen; jQuery( document.body ).on( 'click', 'a.share-tumblr', function() { // If there's another sharing window open, close it. if ( 'undefined' !== typeof windowOpen ) { windowOpen.close(); } windowOpen = window.open( jQuery( this ).attr( 'href' ), 'wpcomtumblr', 'menubar=1,resizable=1,width=450,height=450' ); return false; }); var windowOpen; jQuery( document.body ).on( 'click', 'a.share-skype', function() { // If there's another sharing window open, close it. if ( 'undefined' !== typeof windowOpen ) { windowOpen.close(); } windowOpen = window.open( jQuery( this ).attr( 'href' ), 'wpcomskype', 'menubar=1,resizable=1,width=305,height=665' ); return false; }); </script> <iframe src='https://widgets.wp.com/likes/master.html?ver=201850#ver=201850&lang=en-gb' scrolling='no' id='likes-master' name='likes-master' style='display:none;'></iframe> <div id='likes-other-gravatars'><div class="likes-text"><span>%d</span> bloggers like this:</div><ul class="wpl-avatars sd-like-gravatars"></ul></div> <!--[if IE]> <script type="text/javascript"> if ( 0 === window.location.hash.indexOf( '#comment-' ) ) { // window.location.reload() doesn't respect the Hash in IE window.location.hash = window.location.hash; } </script> <![endif]--> <script type="text/javascript"> (function () { var comm_par_el = document.getElementById( 'comment_parent' ), comm_par = ( comm_par_el && comm_par_el.value ) ? comm_par_el.value : '', frame = document.getElementById( 'jetpack_remote_comment' ), tellFrameNewParent; tellFrameNewParent = function () { if ( comm_par ) { frame.src = "http://jetpack.wordpress.com/jetpack-comment/?blogid=29247765&postid=2024&comment_registration=0&require_name_email=0&stc_enabled=1&stb_enabled=1&show_avatars=1&avatar_default=mystery&greeting=Leave+a+Reply&greeting_reply=Leave+a+Reply+to+%25s&color_scheme=light&lang=en_GB&jetpack_version=6.8.1&show_cookie_consent=10&has_cookie_consent=0&sig=da199943bc34a3a4a8685bfb2d96c7a0c41aecb3#parent=http%3A%2F%2Fwww.markwilson.co.uk%2Fblog%2F2010%2F09%2Fadding-a-facebook-share-or-like-button-to-a-self-hosted-wordpress-blog.htm" + '&replytocom=' + parseInt( comm_par, 10 ).toString(); } else { frame.src = "http://jetpack.wordpress.com/jetpack-comment/?blogid=29247765&postid=2024&comment_registration=0&require_name_email=0&stc_enabled=1&stb_enabled=1&show_avatars=1&avatar_default=mystery&greeting=Leave+a+Reply&greeting_reply=Leave+a+Reply+to+%25s&color_scheme=light&lang=en_GB&jetpack_version=6.8.1&show_cookie_consent=10&has_cookie_consent=0&sig=da199943bc34a3a4a8685bfb2d96c7a0c41aecb3#parent=http%3A%2F%2Fwww.markwilson.co.uk%2Fblog%2F2010%2F09%2Fadding-a-facebook-share-or-like-button-to-a-self-hosted-wordpress-blog.htm"; } }; // Do the post message bit after the dom has loaded. document.addEventListener( 'DOMContentLoaded', function () { var iframe_url = "http:\/\/jetpack.wordpress.com"; if ( window.postMessage ) { if ( document.addEventListener ) { window.addEventListener( 'message', function ( event ) { var origin = event.origin.replace( /^http:\/\//i, 'https://' ); if ( iframe_url.replace( /^http:\/\//i, 'https://' ) !== origin ) { return; } jQuery( frame ).height( event.data ); }); } else if ( document.attachEvent ) { window.attachEvent( 'message', function ( event ) { var origin = event.origin.replace( /^http:\/\//i, 'https://' ); if ( iframe_url.replace( /^http:\/\//i, 'https://' ) !== origin ) { return; } jQuery( frame ).height( event.data ); }); } } }) })(); </script> <script type='text/javascript' src='https://stats.wp.com/e-201850.js' async='async' defer='defer'></script> <script type='text/javascript'> _stq = window._stq || []; _stq.push([ 'view', {v:'ext',j:'1:6.8.1',blog:'29247765',post:'2024',tz:'0',srv:'www.markwilson.co.uk'} ]); _stq.push([ 'clickTrackerInit', '29247765', '2024' ]); </script> </body> </html>