{"id":4716,"date":"2009-02-11T00:59:25","date_gmt":"2009-02-11T00:59:25","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/age-calculator\/"},"modified":"2009-06-23T00:54:53","modified_gmt":"2009-06-23T00:54:53","slug":"age-calculator","status":"closed","type":"plugin","link":"https:\/\/sw.wordpress.org\/plugins\/age-calculator\/","author":197325,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.81","stable_tag":"trunk","tested":"4.8.33","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"Age Calculator","header_author":"Josh Cook","header_description":"","assets_banners_color":"","last_updated":"2009-06-23 00:54:53","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.joshcook.net\/","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/age-calculator\/","header_author_uri":"http:\/\/www.joshcook.net\/","rating":5,"author_block_rating":0,"active_installs":100,"downloads":4661,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.78","0.79","0.80","0.81"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[5579,5581,716,5580,4500],"plugin_category":[59],"plugin_contributors":[86854],"plugin_business_model":[],"class_list":["post-4716","plugin","type-plugin","status-closed","hentry","plugin_tags-age","plugin_tags-age-calculator","plugin_tags-calculator","plugin_tags-current-age","plugin_tags-old","plugin_category-utilities-and-tools","plugin_contributors-joshcook","plugin_committers-joshcook"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/age-calculator.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>A quicktag that will calculate the current age of a person\/animal\/whatever based on it's birthdate. Supports changing the verbiage for year(s) and month(s) plus has a multiplier for animals (such as \"in dog years\").<\/p>\n\n<p>Using the quicktag [agecalc birthdate=\"1978-01-30] will display \"31 years\" using the default settings.<\/p>\n\n<p>Visit <a href=\"http:\/\/www.joshcook.net\/\" title=\"www.joshcook.net\">www.joshcook.net<\/a> for update information or to submit feature and support requests.<\/p>\n\n<h3>Configuration<\/h3>\n\n<p><strong>Using the Quicktag<\/strong><\/p>\n\n<p>The Age Calculator quicktag can be used in any post or page using the following format:<\/p>\n\n<p>[agecalc <em>birthdate=\"1978-01-30\"<\/em> year=\"\" years=\"\" multipliery=\"\" month=\"\" months=\"\" multiplierm=\"\"]<\/p>\n\n<p>The following attributes can be used within the quicktag. Default values can be configured on the Age Calculator's settings page.<\/p>\n\n<p><em>birthdate<\/em><\/p>\n\n<p>The birthdate attribute is the only manditory attribute, which has to be entered Year, Month and then Day.  You can use either a . (period), a <code>\/<\/code> (forward slash) or a - (hyphen) as the seperator.<\/p>\n\n<p>Here are a few valid and invalid birthdate entries:<\/p>\n\n<ul>\n<li>1978-01-30 - Valid<\/li>\n<li>1978<code>\/<\/code>01\/<code>\/<\/code>30 - Valid<\/li>\n<li>1978.01.30 - Valid<\/li>\n<li>01-30-1978 - Invalid<\/li>\n<li>30.01.1978 - Invalid<\/li>\n<\/ul>\n\n<p><em>year<\/em><\/p>\n\n<p>Sets the text that is returned when the age is 1 <em>year<\/em>.<\/p>\n\n<p><em>years<\/em><\/p>\n\n<p>Sets the text that is returned when the age is more than 1 year.  For example, 15 <em>years<\/em>.<\/p>\n\n<p><em>multipliery<\/em><\/p>\n\n<p>Used as the multiplier for the year value. For example, if you had a pet web site you could multiply the age by 7 for \"dog years\". I giggle every time I say \"miltipliery\"<\/p>\n\n<p><em>month<\/em><\/p>\n\n<p>Sets the text that is returned when the age is 1 <em>month<\/em>.<\/p>\n\n<p><em>months<\/em><\/p>\n\n<p>Sets the text that is returned when the age is more than 1 month.  For example, 5 <em>months<\/em>.<\/p>\n\n<p><em>multiplierm<\/em><\/p>\n\n<p>Used as the multiplier for the month value.<\/p>\n\n<p><strong>Age Calculator options page<\/strong><\/p>\n\n<p>Configure the default text used when the plugin returns the current age. All values can be overridden within the quicktag.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the 'age-calculator' directory to the '\/wp-content\/plugins\/' directory<\/li>\n<li>Activate the plugin through the 'Plugins' section within WordPress<\/li>\n<li>Configure Dashboard Links from the 'Settings -&gt; Age Calculator' menu option<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload the 'age-calculator' directory to the '\/wp-content\/plugins\/' directory<\/li>\n<li>Activate the plugin through the 'Plugins' section within WordPress<\/li>\n<li>Configure Dashboard Links from the 'Settings -&gt; Age Calculator' menu option<\/li>\n<\/ol><\/dd>\n<dt>Why was Age Calculator created?<\/dt>\n<dd><p>I got tired of having to change pages that included age on them every year. Wanted to set it once and forget!<\/p><\/dd>\n<dt>Why did you choice the date format of YEAR-MONTH-Day<\/dt>\n<dd><p>Don't really know, but that's what I decided on. I guess I like that one the best. Who knows!?!?<\/p><\/dd>\n<dt>Where can I get support for this plugin?<\/dt>\n<dd><p>I provide support via my <a href=\"http:\/\/www.joshcook.net\" title=\"www.joshcook.net\">web site<\/a>, although just because you post a request for help doesn't mean I will have time to answer your question. This is a free plugin and as such, you aren't guaranteed support. Then again, I'll help as much as I can and have time for.<\/p><\/dd>\n<dt>Your plugin rocks!  Can I donate?<\/dt>\n<dd><p>Absolutely!!!  Visit <a href=\"http:\/\/www.joshcook.net\/\" title=\"www.joshcook.net\">www.joshcook.net<\/a> for more information!<\/p><\/dd>\n<dt>Development Notes<\/dt>\n<dd><ul>\n<li>I didn't see the reason for creating an object for such a simple plugin. In theory it would have taken more processor power on the server than needed.  So simple functions it is.<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.81<\/h4>\n\n<ul>\n<li>Added support for the changelog section<\/li>\n<\/ul>\n\n<h4>0.80<\/h4>\n\n<ul>\n<li>Corrected problem with any age under six months.  Thanks to Kjell Harald Andersen!<\/li>\n<\/ul>\n\n<h4>0.79<\/h4>\n\n<ul>\n<li>Corrected problem with the blankspace being used - seems I forgot to add the ;.  Thanks to James Turner!<\/li>\n<\/ul>\n\n<h4>0.78<\/h4>\n\n<ul>\n<li>First Public Release<\/li>\n<\/ul>","raw_excerpt":"A quicktag that will calculate the current age of a person\/animal\/whatever based on it&#039;s birthdate. Supports changing the verbiage for year(s) an &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/4716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sw.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sw.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=4716"}],"author":[{"embeddable":true,"href":"https:\/\/sw.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/joshcook"}],"wp:attachment":[{"href":"https:\/\/sw.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=4716"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=4716"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=4716"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=4716"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=4716"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=4716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}