{"id":96,"date":"2010-04-06T08:36:45","date_gmt":"2010-04-06T07:36:45","guid":{"rendered":"http:\/\/local.sandjam.co.uk\/?p=96"},"modified":"2018-08-03T14:01:11","modified_gmt":"2018-08-03T13:01:11","slug":"runkeeper-wordpress-plugin","status":"publish","type":"post","link":"https:\/\/sandjam.co.uk\/sandjam\/2010\/04\/runkeeper-wordpress-plugin\/","title":{"rendered":"Runkeeper WordPress Plugin"},"content":{"rendered":"<p>The Runkeeper plugin for WordPress lets you embed a preview of your activities in to posts using a custom field or shortcode.<\/p>\n<p>Take a look at an <a title=\"Example Runkeeper Post\" href=\"http:\/\/local.sandjam.co.uk\/2012\/08\/example-runkeeper-post\/\">Example of the plugin in action<\/a>.<\/p>\n<h2>Version 2.0<\/h2>\n<p>The new version offers two options for adding maps in to posts:<\/p>\n<ul>\n<li>Create a custom field called<strong> &#8220;runkeeper&#8221;<\/strong> and paste in the &#8220;Share&#8221; link from your activity on Runkeeper<\/li>\n<li>Use the shortcode <strong>[[[runkeeper url=&#8221;example&#8221;]]]<\/strong> at any point in your post where you would like the map to appear, replacing &#8220;example&#8221; with the &#8220;Share&#8221; link from Runkeeper.<\/li>\n<\/ul>\n<p>The new version also allows you to change the width, height and offset of the preview using the Settings page. Go to <strong>Settings &gt; Runkeeper<\/strong> in the admin menu. The default values are: Width: 600px, Height: 400px, X: 300px, Y: 300px<\/p>\n<p><a href=\"http:\/\/wordpress.org\/extend\/plugins\/runkeeper-plugin\/\" target=\"_parent\" class=\"button \">Find Out More and Download<\/a><\/p>\n<h2>Custom Fields in Posts<\/h2>\n<p>If you&#8217;ve not used custom fields in your posts before, it&#8217;s really simple.<\/p>\n<p>When you add a new post, look down the page to the section called <strong>&#8220;Custom Fields&#8221;<\/strong>. Click <strong>&#8220;Enter New&#8221;<\/strong>, then add the &#8220;Name&#8221; &#8220;runkeeper&#8221; and the value is the address of the activity you want to embed. If you don&#8217;t have the <strong>Custom Fields<\/strong> section on the page, you may need to select it from the <strong>Screen Options<\/strong> menu in the top right.<\/p>\n<p>Take a look at the example below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-259\" title=\"Custom field example\" src=\"http:\/\/local.sandjam.co.uk\/wp-content\/uploads\/2010\/04\/field.png\" alt=\"\" width=\"600\" height=\"162\" \/><\/p>\n<h2>Shortcodes<\/h2>\n<p>Shortcodes are tags enclosed in square brackets which can be entered anywhere in the post. When the post is displayed on the front end, the shortcode will be replaced with dynamic content, in this case a Runkeeper map.<\/p>\n<p>An example shortcode for the Runkeeper plugin is:<\/p>\n<p>[[[runkeeper url=&#8221;http:\/\/runkeeper.com\/user\/peterasmith\/activity\/25780715&#8243;]]]<\/p>\n<p>&nbsp;<\/p>\n<h2>Donate<\/h2>\n<p>If you like this plugin, why not donate to help keep this project going.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Runkeeper plugin for WordPress lets you embed a preview of your activities in to posts using a custom field or shortcode. Take a look at an Example of the plugin in action. Version 2.0 The new version offers two options for adding maps in to posts: Create a custom field called &#8220;runkeeper&#8221; and paste [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":644,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[4,45],"tags":[66,26,12],"class_list":["post-96","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-code","category-wordpress-development","tag-plugin","tag-runkeeper","tag-wordpress"],"acf":[],"_links":{"self":[{"href":"https:\/\/sandjam.co.uk\/sandjam\/wp-json\/wp\/v2\/posts\/96","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sandjam.co.uk\/sandjam\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sandjam.co.uk\/sandjam\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sandjam.co.uk\/sandjam\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/sandjam.co.uk\/sandjam\/wp-json\/wp\/v2\/comments?post=96"}],"version-history":[{"count":24,"href":"https:\/\/sandjam.co.uk\/sandjam\/wp-json\/wp\/v2\/posts\/96\/revisions"}],"predecessor-version":[{"id":1112,"href":"https:\/\/sandjam.co.uk\/sandjam\/wp-json\/wp\/v2\/posts\/96\/revisions\/1112"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sandjam.co.uk\/sandjam\/wp-json\/wp\/v2\/media\/644"}],"wp:attachment":[{"href":"https:\/\/sandjam.co.uk\/sandjam\/wp-json\/wp\/v2\/media?parent=96"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sandjam.co.uk\/sandjam\/wp-json\/wp\/v2\/categories?post=96"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sandjam.co.uk\/sandjam\/wp-json\/wp\/v2\/tags?post=96"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}