{"id":94,"date":"2014-06-18T01:43:58","date_gmt":"2014-06-18T01:43:58","guid":{"rendered":"https:\/\/www.jonathonmills.com\/?p=94"},"modified":"2015-08-28T00:00:02","modified_gmt":"2015-08-27T23:00:02","slug":"custom-share-buttons-short-urls","status":"publish","type":"post","link":"https:\/\/www.jonathonmills.com\/custom-share-buttons-short-urls\/","title":{"rendered":"Custom share buttons & short urls"},"content":{"rendered":"

Share buttons are something that are pretty common place on sites these days, varying in all shapes, sizes and colours. However, over the past 6 months or so i’ve encountered more and more problems with the plugins available for these share buttons. Their cross browser support is poor, semantically a lot are incorrect (they won’t validate with W3C) and sometimes they just simply won’t work. Instead of moaning about it, I decided to develop my own super-lightweight, javascript-free share buttons. These can be found at the bottom of any blog post, including this one.<\/p>\n

On top of that, I was regularly encountering an issue regarding sharing urls on twitter and facebook. I could obviously have used something like bit.ly but I wanted to personalise the experience for my own site. So i’ve gone ahead and developed my own short url system, with a custom url (for those that know me, they’ll understand the relevance of the url). Again, this can be viewed at the bottom of the page under the share buttons. Each url is automatically generated when a new blog post is created.<\/p>\n

If custom share buttons or a\u00a0short url system unique to your business is something that you would like to discuss, please get in touch<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"

Share buttons are something that are pretty common place on sites these days, varying in all shapes, sizes and colours. However, over the past 6 months or so i’ve encountered more and more problems with the plugins available for these share buttons. Their cross browser support is poor, semantically a lot are incorrect (they won’t validate with W3C) and sometimes they just simply won’t work. Instead of moaning about it, I decided to develop my own super-lightweight, javascript-free share buttons. These can be found at the bottom of any blog post, including this one.<\/p>\n","protected":false},"author":1,"featured_media":247,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,5],"tags":[14,15,16,17],"acf":[],"yoast_head":"\nCustom Short URL and share buttons<\/title>\n<meta name=\"description\" content=\"Development of custom short urls for your website or business\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.jonathonmills.com\/custom-share-buttons-short-urls\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Custom Short URL and share buttons\" \/>\n<meta property=\"og:description\" content=\"Development of custom short urls for your website or business\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.jonathonmills.com\/custom-share-buttons-short-urls\/\" \/>\n<meta property=\"og:site_name\" content=\"Jonathon Mills Web Design\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/jonmillsweb?fref=ts\" \/>\n<meta property=\"article:published_time\" content=\"2014-06-18T01:43:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-08-27T23:00:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.jonathonmills.com\/wp-content\/uploads\/2014\/06\/share-blog-main.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1536\" \/>\n\t<meta property=\"og:image:height\" content=\"678\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"jon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@jonathonmills\" \/>\n<meta name=\"twitter:site\" content=\"@jonathonmills\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"jon\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.jonathonmills.com\/custom-share-buttons-short-urls\/\",\"url\":\"https:\/\/www.jonathonmills.com\/custom-share-buttons-short-urls\/\",\"name\":\"Custom Short URL and share buttons\",\"isPartOf\":{\"@id\":\"https:\/\/www.jonathonmills.com\/#website\"},\"datePublished\":\"2014-06-18T01:43:58+00:00\",\"dateModified\":\"2015-08-27T23:00:02+00:00\",\"author\":{\"@id\":\"https:\/\/www.jonathonmills.com\/#\/schema\/person\/6082c41c92b8e29a5f84b0c14cad8da1\"},\"description\":\"Development of custom short urls for your website or business\",\"breadcrumb\":{\"@id\":\"https:\/\/www.jonathonmills.com\/custom-share-buttons-short-urls\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.jonathonmills.com\/custom-share-buttons-short-urls\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.jonathonmills.com\/custom-share-buttons-short-urls\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.jonathonmills.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Custom share buttons & short urls\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.jonathonmills.com\/#website\",\"url\":\"https:\/\/www.jonathonmills.com\/\",\"name\":\"Jonathon Mills Web Design\",\"description\":\"Web Design Glasgow\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.jonathonmills.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.jonathonmills.com\/#\/schema\/person\/6082c41c92b8e29a5f84b0c14cad8da1\",\"name\":\"jon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.jonathonmills.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3af88afdf35b09ad8d91ec4b26990ab6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3af88afdf35b09ad8d91ec4b26990ab6?s=96&d=mm&r=g\",\"caption\":\"jon\"},\"url\":\"https:\/\/www.jonathonmills.com\/author\/jon\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Custom Short URL and share buttons","description":"Development of custom short urls for your website or business","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.jonathonmills.com\/custom-share-buttons-short-urls\/","og_locale":"en_US","og_type":"article","og_title":"Custom Short URL and share buttons","og_description":"Development of custom short urls for your website or business","og_url":"https:\/\/www.jonathonmills.com\/custom-share-buttons-short-urls\/","og_site_name":"Jonathon Mills Web Design","article_publisher":"https:\/\/www.facebook.com\/jonmillsweb?fref=ts","article_published_time":"2014-06-18T01:43:58+00:00","article_modified_time":"2015-08-27T23:00:02+00:00","og_image":[{"width":1536,"height":678,"url":"https:\/\/www.jonathonmills.com\/wp-content\/uploads\/2014\/06\/share-blog-main.jpg","type":"image\/jpeg"}],"author":"jon","twitter_card":"summary_large_image","twitter_creator":"@jonathonmills","twitter_site":"@jonathonmills","twitter_misc":{"Written by":"jon","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.jonathonmills.com\/custom-share-buttons-short-urls\/","url":"https:\/\/www.jonathonmills.com\/custom-share-buttons-short-urls\/","name":"Custom Short URL and share buttons","isPartOf":{"@id":"https:\/\/www.jonathonmills.com\/#website"},"datePublished":"2014-06-18T01:43:58+00:00","dateModified":"2015-08-27T23:00:02+00:00","author":{"@id":"https:\/\/www.jonathonmills.com\/#\/schema\/person\/6082c41c92b8e29a5f84b0c14cad8da1"},"description":"Development of custom short urls for your website or business","breadcrumb":{"@id":"https:\/\/www.jonathonmills.com\/custom-share-buttons-short-urls\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.jonathonmills.com\/custom-share-buttons-short-urls\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.jonathonmills.com\/custom-share-buttons-short-urls\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.jonathonmills.com\/"},{"@type":"ListItem","position":2,"name":"Custom share buttons & short urls"}]},{"@type":"WebSite","@id":"https:\/\/www.jonathonmills.com\/#website","url":"https:\/\/www.jonathonmills.com\/","name":"Jonathon Mills Web Design","description":"Web Design Glasgow","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.jonathonmills.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.jonathonmills.com\/#\/schema\/person\/6082c41c92b8e29a5f84b0c14cad8da1","name":"jon","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.jonathonmills.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3af88afdf35b09ad8d91ec4b26990ab6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3af88afdf35b09ad8d91ec4b26990ab6?s=96&d=mm&r=g","caption":"jon"},"url":"https:\/\/www.jonathonmills.com\/author\/jon\/"}]}},"_links":{"self":[{"href":"https:\/\/www.jonathonmills.com\/wp-json\/wp\/v2\/posts\/94"}],"collection":[{"href":"https:\/\/www.jonathonmills.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jonathonmills.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jonathonmills.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jonathonmills.com\/wp-json\/wp\/v2\/comments?post=94"}],"version-history":[{"count":0,"href":"https:\/\/www.jonathonmills.com\/wp-json\/wp\/v2\/posts\/94\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jonathonmills.com\/wp-json\/wp\/v2\/media\/247"}],"wp:attachment":[{"href":"https:\/\/www.jonathonmills.com\/wp-json\/wp\/v2\/media?parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jonathonmills.com\/wp-json\/wp\/v2\/categories?post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jonathonmills.com\/wp-json\/wp\/v2\/tags?post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}