{"id":671,"date":"2016-06-14T12:51:53","date_gmt":"2016-06-14T00:51:53","guid":{"rendered":"http:\/\/geektactics.geektamin.com\/?p=671"},"modified":"2024-06-14T09:52:37","modified_gmt":"2024-06-13T21:52:37","slug":"gravity-form-set-datepicker-default-year-30-years-back","status":"publish","type":"post","link":"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/","title":{"rendered":"Gravity Forms: How to set datepicker default date and add calender icon"},"content":{"rendered":"

By default the Gravity Forms datepicker will\u00a0start with today as the default date.<\/p>\n

On some occasions, you might want the datepicker to start with a different date. For example, in a Date of Birth field, you might want the date picker default date to go 30 years back. For an appointment date field you might want the default date to be next week.<\/p>\n

This tutorials will show you how to\u00a0set the default date\u00a0in a datepicker.<\/p>\n

Step 1: Insert a Date Field in Gravity Forms<\/h2>\n

Once you have inserted the date field in the Gravity Forms editor, update the form and view the form on a page.<\/p>\n

Right click on the date field and click on Inspect Element to get the ID of the date field.<\/p>\n

\"datepicker_html_inputID\"<\/p>\n

In this example, you can see the ID is “input_4_46”.<\/p>\n

Step 2: Inserting the code<\/h2>\n

Once you \u00a0have the ID of the date field, go to your functions.php file (or your\u00a0custom function plugins) and copy paste the below code.<\/p>\n

\r\nadd_action('wp_head','custom_js'); \r\n function custom_js() \r\n {\r\n \/\/ break out of php ?> \r\n <script>\r\n jQuery(document).ready(function($) {\r\n jQuery(\"#YourIDGoesHere\").datepicker({ \r\n changeYear: true, \r\n changeMonth: true, \r\n \/\/ dateFormat: \"dd\/mm\/yy\", \r\n defaultDate: \"-30 Y\",\r\n yearRange: \"-100:+0\",\r\n showOn: 'both',\r\n buttonImage: '\/wp-content\/plugins\/gravityforms\/images\/calendar.png', \r\n buttonImageOnly: true \r\n });\r\n\r\n});\r\n <\/script>\r\n <?php\r\n } \/\/ break back into php\r\n\r\n\r\n<\/code><\/pre>\n

Make sure to replace the ID of the date field input and view the form. It should work.<\/p>\n

Explanations:<\/h3>\n

Line 1:\u00a0We are using the wp_head action hook to insert our code. Instead of adding a seperate javascript file, we are inserting the script right here in our function.php file.<\/p>\n

Line 7: replace the ID with your date field ID. \u00a0If you want your settings to apply to two different date fields, use a comma to separate the selectors just like when using css like this:<\/p>\n

jQuery(\"#input_2_135,#input_2_85\").datepicker();<\/code><\/pre>\n

Line 8: changeYear: true<\/strong>\u00a0 \u00a0This setting shows the select year option in the datepicker<\/p>\n

Line 9: changeMonth: true <\/strong>\u00a0This settings shows the select month option in the datepicker<\/p>\n

Line 10: dateFormat: “dd\/mm\/yy”<\/strong>\u00a0This code sets the date format to “dd\/mm\/yy”. This is commented out in the code above. If you want to set the date format to “dd\/mm\/yy”, remove the comment from the start of the line.<\/p>\n

Line 11: defaultDate<\/strong>: “-30 Y”<\/strong> This code sets the default year\u00a0to go 30 years back. Your default date could also be a number of days, weeks or months. See below for more explanations.<\/p>\n

Line 12: yearRange: “-100:+0”<\/strong> This code sets the year range for the last 100 years. If you don’t set this code, the year range gets restricted to the last 30 years as we have set “defaultDate” to go back 30 years.<\/p>\n

Line 13: showOn: ‘both’, \u00a0\u00a0<\/strong>This code sets the datepicker to open when the user clicks in the date field or clicks the calendar icon.<\/p>\n

Line 14: buttonImage<\/strong>: ‘\/wp-content\/plugins\/gravityforms\/images\/calendar.png’, \/\/\u00a0This code adds the calendar icon image. Without this code the calendar icon image disappears.<\/p>\n

Line 15: buttonImageOnly<\/strong>: true<\/strong> Without this code, a weird button appears around the calendar icon. Adding this code removes the button and shows only the calendar icon.<\/p>\n

Options for setting the default date with days, weeks, months, years or a specific date<\/h2>\n

Here are some examples of how\u00a0<\/b>you can set the days, weeks, months, years or\u00a0a specific date.<\/p>\n

This code makes the default date to go 10 days back:<\/p>\n

defaultDate: '-10 D',<\/code><\/p>\n

This code makes the default date to go 10 days forward:<\/p>\n

defaultDate: '+10 D',<\/code><\/pre>\n

This code makes the default month\u00a0to go 3 months\u00a0back:<\/p>\n

defaultDate: '-3 M',<\/code><\/pre>\n

This code makes the default month\u00a0to go 3\u00a0months\u00a0forward:<\/p>\n

defaultDate: '+3 M',<\/code><\/pre>\n

This code makes the default year\u00a0to go 3 years\u00a0back:<\/p>\n

defaultDate: '-3 Y',<\/code><\/pre>\n

This code sets the default date to a specific date (in this example 3rd of August 2008):<\/p>\n

defaultDate: new Date(2008,9,3),<\/code><\/pre>\n

Note<\/strong>: Date must be in this format (yy,mm,dd), else the date won’t work. Months start from 0 and end with 11 where “0” points\u00a0to January and “11” points to December. For example, if you want to set the default date to ” January, 15th, 2009″ then your code will be “defaultDate: new Date(2009,0,15),<\/strong>”<\/p>\n

How to set date for a specific month:
\n0. January
\n1. February
\n2. March
\n3. April
\n4. May
\n5. June
\n6. July
\n7. August
\n8. September
\n9. October
\n10.November
\n11.December<\/p>\n

Options for year range<\/h2>\n

yearRange<\/strong>: “-100:+0” where “-100” displays the last 100 years. \u00a0For example, if the current year is 2016, then it will display year from 1916 to 2016. \u00a0and the “+0” makes the year go forward. Here the year won’t go forward as the value is set to “+0”. If you set the value to “+1”, it will increment the year by 1 more year.<\/p>\n

For example, if you want the year range to be displayed 4 years into the future\u00a0you can add “+4”\u00a0and it will increment the year by adding 4 more years.<\/p>\n

This code\u00a0makes the year dropdown to go 100 years back and ends in the current year.<\/p>\n

yearRange: \"-100:+0\"<\/code><\/pre>\n

This code\u00a0makes the year dropdown go 100 years back and 10 years forward.<\/p>\n

yearRange: \"-100:+10\",<\/code><\/pre>\n

 <\/p>\n

Hope you find this article helpful. Leave a comment below.<\/p>\n

 <\/p>\n

 <\/p>\n","protected":false},"excerpt":{"rendered":"

By default the Gravity Forms datepicker will\u00a0start with today as the default date. On some occasions, you might want the datepicker to start with a different date. For example, in a Date of Birth field, you might want the date picker default date to go 30 years back. For an appointment date field you might […]<\/p>\n","protected":false},"author":5,"featured_media":687,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[149],"class_list":["post-671","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-gravity-forms"],"yoast_head":"\nGravity Forms: How to set datepicker default date and add calender icon - Geektactics<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Gravity Forms: How to set datepicker default date and add calender icon - Geektactics\" \/>\n<meta property=\"og:description\" content=\"By default the Gravity Forms datepicker will\u00a0start with today as the default date. On some occasions, you might want the datepicker to start with a different date. For example, in a Date of Birth field, you might want the date picker default date to go 30 years back. For an appointment date field you might […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/\" \/>\n<meta property=\"og:site_name\" content=\"Geektactics\" \/>\n<meta property=\"article:published_time\" content=\"2016-06-14T00:51:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-13T21:52:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/geektactics.co.nz\/wp-content\/uploads\/sites\/2\/2016\/06\/Capture.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"243\" \/>\n\t<meta property=\"og:image:height\" content=\"295\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Josh Moore\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Josh Moore\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/\"},\"author\":{\"name\":\"Josh Moore\",\"@id\":\"https:\/\/geektactics.co.nz\/#\/schema\/person\/6bb496f93975e50731c7b169c39bc4ab\"},\"headline\":\"Gravity Forms: How to set datepicker default date and add calender icon\",\"datePublished\":\"2016-06-14T00:51:53+00:00\",\"dateModified\":\"2024-06-13T21:52:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/\"},\"wordCount\":775,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/geektactics.co.nz\/#organization\"},\"image\":{\"@id\":\"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/geektactics.co.nz\/wp-content\/uploads\/sites\/2\/2016\/06\/Capture.jpg\",\"keywords\":[\"Gravity Forms\"],\"articleSection\":[\"Wordpress\"],\"inLanguage\":\"en-NZ\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/\",\"url\":\"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/\",\"name\":\"Gravity Forms: How to set datepicker default date and add calender icon - Geektactics\",\"isPartOf\":{\"@id\":\"https:\/\/geektactics.co.nz\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/geektactics.co.nz\/wp-content\/uploads\/sites\/2\/2016\/06\/Capture.jpg\",\"datePublished\":\"2016-06-14T00:51:53+00:00\",\"dateModified\":\"2024-06-13T21:52:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/#breadcrumb\"},\"inLanguage\":\"en-NZ\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-NZ\",\"@id\":\"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/#primaryimage\",\"url\":\"https:\/\/geektactics.co.nz\/wp-content\/uploads\/sites\/2\/2016\/06\/Capture.jpg\",\"contentUrl\":\"https:\/\/geektactics.co.nz\/wp-content\/uploads\/sites\/2\/2016\/06\/Capture.jpg\",\"width\":243,\"height\":295},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/geektactics.co.nz\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Gravity Forms: How to set datepicker default date and add calender icon\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/geektactics.co.nz\/#website\",\"url\":\"https:\/\/geektactics.co.nz\/\",\"name\":\"Geektactics\",\"description\":\"Interesting Stuff for Geeks\",\"publisher\":{\"@id\":\"https:\/\/geektactics.co.nz\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/geektactics.co.nz\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-NZ\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/geektactics.co.nz\/#organization\",\"name\":\"Geektactics\",\"url\":\"https:\/\/geektactics.co.nz\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-NZ\",\"@id\":\"https:\/\/geektactics.co.nz\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/geektactics.co.nz\/wp-content\/uploads\/sites\/2\/2024\/06\/geektactics-logo.png\",\"contentUrl\":\"https:\/\/geektactics.co.nz\/wp-content\/uploads\/sites\/2\/2024\/06\/geektactics-logo.png\",\"width\":2001,\"height\":831,\"caption\":\"Geektactics\"},\"image\":{\"@id\":\"https:\/\/geektactics.co.nz\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/geektactics.co.nz\/#\/schema\/person\/6bb496f93975e50731c7b169c39bc4ab\",\"name\":\"Josh Moore\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-NZ\",\"@id\":\"https:\/\/geektactics.co.nz\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2bea43488633fc79ace340300f8ab6d6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2bea43488633fc79ace340300f8ab6d6?s=96&d=mm&r=g\",\"caption\":\"Josh Moore\"},\"description\":\"I love marketing and technology. I run Duoplus Online Marketing and enjoy helping companies grow their income especially through using online marketing effectively.\",\"sameAs\":[\"https:\/\/www.duoplus.nz\"],\"url\":\"https:\/\/geektactics.co.nz\/blog\/author\/josh\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Gravity Forms: How to set datepicker default date and add calender icon - Geektactics","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:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/","og_locale":"en_US","og_type":"article","og_title":"Gravity Forms: How to set datepicker default date and add calender icon - Geektactics","og_description":"By default the Gravity Forms datepicker will\u00a0start with today as the default date. On some occasions, you might want the datepicker to start with a different date. For example, in a Date of Birth field, you might want the date picker default date to go 30 years back. For an appointment date field you might […]","og_url":"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/","og_site_name":"Geektactics","article_published_time":"2016-06-14T00:51:53+00:00","article_modified_time":"2024-06-13T21:52:37+00:00","og_image":[{"width":243,"height":295,"url":"https:\/\/geektactics.co.nz\/wp-content\/uploads\/sites\/2\/2016\/06\/Capture.jpg","type":"image\/jpeg"}],"author":"Josh Moore","twitter_misc":{"Written by":"Josh Moore","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/#article","isPartOf":{"@id":"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/"},"author":{"name":"Josh Moore","@id":"https:\/\/geektactics.co.nz\/#\/schema\/person\/6bb496f93975e50731c7b169c39bc4ab"},"headline":"Gravity Forms: How to set datepicker default date and add calender icon","datePublished":"2016-06-14T00:51:53+00:00","dateModified":"2024-06-13T21:52:37+00:00","mainEntityOfPage":{"@id":"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/"},"wordCount":775,"commentCount":2,"publisher":{"@id":"https:\/\/geektactics.co.nz\/#organization"},"image":{"@id":"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/#primaryimage"},"thumbnailUrl":"https:\/\/geektactics.co.nz\/wp-content\/uploads\/sites\/2\/2016\/06\/Capture.jpg","keywords":["Gravity Forms"],"articleSection":["Wordpress"],"inLanguage":"en-NZ","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/","url":"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/","name":"Gravity Forms: How to set datepicker default date and add calender icon - Geektactics","isPartOf":{"@id":"https:\/\/geektactics.co.nz\/#website"},"primaryImageOfPage":{"@id":"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/#primaryimage"},"image":{"@id":"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/#primaryimage"},"thumbnailUrl":"https:\/\/geektactics.co.nz\/wp-content\/uploads\/sites\/2\/2016\/06\/Capture.jpg","datePublished":"2016-06-14T00:51:53+00:00","dateModified":"2024-06-13T21:52:37+00:00","breadcrumb":{"@id":"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/#breadcrumb"},"inLanguage":"en-NZ","potentialAction":[{"@type":"ReadAction","target":["https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/"]}]},{"@type":"ImageObject","inLanguage":"en-NZ","@id":"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/#primaryimage","url":"https:\/\/geektactics.co.nz\/wp-content\/uploads\/sites\/2\/2016\/06\/Capture.jpg","contentUrl":"https:\/\/geektactics.co.nz\/wp-content\/uploads\/sites\/2\/2016\/06\/Capture.jpg","width":243,"height":295},{"@type":"BreadcrumbList","@id":"https:\/\/geektactics.co.nz\/blog\/gravity-form-set-datepicker-default-year-30-years-back\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/geektactics.co.nz\/"},{"@type":"ListItem","position":2,"name":"Gravity Forms: How to set datepicker default date and add calender icon"}]},{"@type":"WebSite","@id":"https:\/\/geektactics.co.nz\/#website","url":"https:\/\/geektactics.co.nz\/","name":"Geektactics","description":"Interesting Stuff for Geeks","publisher":{"@id":"https:\/\/geektactics.co.nz\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/geektactics.co.nz\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-NZ"},{"@type":"Organization","@id":"https:\/\/geektactics.co.nz\/#organization","name":"Geektactics","url":"https:\/\/geektactics.co.nz\/","logo":{"@type":"ImageObject","inLanguage":"en-NZ","@id":"https:\/\/geektactics.co.nz\/#\/schema\/logo\/image\/","url":"https:\/\/geektactics.co.nz\/wp-content\/uploads\/sites\/2\/2024\/06\/geektactics-logo.png","contentUrl":"https:\/\/geektactics.co.nz\/wp-content\/uploads\/sites\/2\/2024\/06\/geektactics-logo.png","width":2001,"height":831,"caption":"Geektactics"},"image":{"@id":"https:\/\/geektactics.co.nz\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/geektactics.co.nz\/#\/schema\/person\/6bb496f93975e50731c7b169c39bc4ab","name":"Josh Moore","image":{"@type":"ImageObject","inLanguage":"en-NZ","@id":"https:\/\/geektactics.co.nz\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2bea43488633fc79ace340300f8ab6d6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2bea43488633fc79ace340300f8ab6d6?s=96&d=mm&r=g","caption":"Josh Moore"},"description":"I love marketing and technology. I run Duoplus Online Marketing and enjoy helping companies grow their income especially through using online marketing effectively.","sameAs":["https:\/\/www.duoplus.nz"],"url":"https:\/\/geektactics.co.nz\/blog\/author\/josh\/"}]}},"_links":{"self":[{"href":"https:\/\/geektactics.co.nz\/wp-json\/wp\/v2\/posts\/671","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geektactics.co.nz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geektactics.co.nz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geektactics.co.nz\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/geektactics.co.nz\/wp-json\/wp\/v2\/comments?post=671"}],"version-history":[{"count":5,"href":"https:\/\/geektactics.co.nz\/wp-json\/wp\/v2\/posts\/671\/revisions"}],"predecessor-version":[{"id":686,"href":"https:\/\/geektactics.co.nz\/wp-json\/wp\/v2\/posts\/671\/revisions\/686"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/geektactics.co.nz\/wp-json\/wp\/v2\/media\/687"}],"wp:attachment":[{"href":"https:\/\/geektactics.co.nz\/wp-json\/wp\/v2\/media?parent=671"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geektactics.co.nz\/wp-json\/wp\/v2\/categories?post=671"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geektactics.co.nz\/wp-json\/wp\/v2\/tags?post=671"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}