{"id":121757,"date":"2020-05-18T22:01:45","date_gmt":"2020-05-18T22:01:45","guid":{"rendered":"https:\/\/en-ca.wordpress.org\/plugins\/we-time-since\/"},"modified":"2022-02-16T04:07:15","modified_gmt":"2022-02-16T04:07:15","slug":"we-time-since","status":"publish","type":"plugin","link":"https:\/\/uz.wordpress.org\/plugins\/we-time-since\/","author":16094400,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.5","stable_tag":"trunk","tested":"5.9.13","requires":"4.9","requires_php":"5.6","requires_plugins":"","header_name":"WE Time Since","header_author":"Martin Wedepohl","header_description":"Display the time (years\/days) since a certain date.","assets_banners_color":"","last_updated":"2022-02-16 04:07:15","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/paypal.me\/martinwedepohl","header_plugin_uri":"https:\/\/github.com\/martin-wedepohl\/we-time-since","header_author_uri":"https:\/\/wedepohlengineering.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":976,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1424,31875,1356,3850],"plugin_category":[],"plugin_contributors":[185642],"plugin_business_model":[],"class_list":["post-121757","plugin","type-plugin","status-publish","hentry","plugin_tags-days","plugin_tags-span","plugin_tags-time","plugin_tags-years","plugin_contributors-mwedepohl","plugin_committers-mwedepohl"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/we-time-since.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Shortcode to return the number of years or days since a certain date.<\/p>\n\n<p>Usage: <code>[we_time_since y=Y m=M d=D type=\"T\"]<\/code><\/p>\n\n<p>Where:\n* Y = the year <strong>required<\/strong>\n* M = the month (1 - 12) - <strong>optional<\/strong> Default = <strong>1<\/strong>\n* D = the day (1-31) - <strong>optional<\/strong> Default = <strong>1<\/strong>\n* T = the type (\"year\", \"day\") - <strong>optional<\/strong> Default = <strong>\"year\"<\/strong><\/p>\n\n<p>Returns: \nThe number of years or days since the supplied date or an error message if the date is invalid \/ no year supplied<\/p>\n\n<h4>Examples<\/h4>\n\n<p>I have worked at Wedepohl Engineering for <code>[we_time_since y=1998 m=1 d=1]<\/code> years<\/p>\n\n<p>I have been sailing for <code>[we_time_since y=2008 m=4]<\/code> years<\/p>\n\n<p>I have been on this journey for <code>[we_time_since y=2020 m=5 d=5 type=\"day\"]<\/code> days<\/p>\n\n<h4>Actions<\/h4>\n\n<pre><code>before_we_time_since - Called upon entry to the shortcode. Passed the array of arguments that are passed to the shortcode.\nafter_we_time_since - Called just before exit of the function. Passed the processed array of arguments from the shortcode.\n<\/code><\/pre>\n\n<h4>Filters<\/h4>\n\n<pre><code>we_time_since Called at exit of the function. Passed a string which is the results of the shortcode.\n<\/code><\/pre>\n\n<h4>Active Contributors<\/h4>\n\n<p><li><a href=\"https:\/\/profiles.wordpress.org\/mwedepohl\/\">Martin Wedepohl<\/a> (Development)<\/li><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>we-disable-fs<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Navigate to the plugins admin page<\/li>\n<li>Click the <strong>Activate<\/strong> link<\/li>\n<li>That's all (no further configuration or settings required)<\/li>\n<\/ol>\n\n<p>or<\/p>\n\n<ol>\n<li>Navigate to the plugins admin page<\/li>\n<li>Click the <strong>Add New<\/strong> button<\/li>\n<li>Search for <code>Wedepohl Engineering Time Since<\/code><\/li>\n<li>Click the <strong>Install Now<\/strong> button<\/li>\n<li>Click the <strong>Active<\/strong> button<\/li>\n<li>That's all (no further configuration or settings required)<\/li>\n<\/ol>\n\n<h4>Removal Instructions<\/h4>\n\n<ol>\n<li>Navigate to the plugins admin page<\/li>\n<li>Click the <strong>Deactivate<\/strong> link<\/li>\n<li>Click the <strong>Delete<\/strong> link<\/li>\n<li>That's all (plugin doesn't use the database so there is nothing to cleanup)<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='settings'><h3>Settings<\/h3><\/dt>\n<dd><p>There are none, just activate and use the shortcode<\/p><\/dd>\n<dt id='database'><h3>Database<\/h3><\/dt>\n<dd><p>This plugin doesn't use the database at all<\/p><\/dd>\n<dt id='does%20this%20work%20with%20wordpress%20blocks'><h3>Does this work with WordPress blocks<\/h3><\/dt>\n<dd><p>Yes, just enter the shortcode in the text of a paragraph or heading<\/p><\/dd>\n<dt id='does%20this%20work%20with%20classicpress'><h3>Does this work with ClassicPress<\/h3><\/dt>\n<dd><p>Yes, there is nothing WordPress specific<\/p><\/dd>\n<dt id='issues%2Fbugs%2Ffeatures'><h3>Issues\/Bugs\/Features<\/h3><\/dt>\n<dd><ol>\n<li>Go to <a href=\"https:\/\/github.com\/martin-wedepohl\/we-time-since\">Plugin GitHub Page<\/a><\/li>\n<li>Create an Issue<\/li>\n<li>I will endevor to resolve issues as soon as time permits<\/li>\n<\/ol><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.5<\/h4>\n\n<p>Feb 15, 2022\n* Tested with WordPress Version 5.9<\/p>\n\n<h4>1.0.4<\/h4>\n\n<p>Aug 1, 2021\n* Tested with WordPress Version 5.8<\/p>\n\n<h4>1.0.3<\/h4>\n\n<p>February 5, 2021\n* Tested with WordPress Version 5.6.1<\/p>\n\n<h4>1.0.2<\/h4>\n\n<p>October 24, 2020\n* Tested with WordPress Version 5.5.1<\/p>\n\n<h4>1.0.1<\/h4>\n\n<p>June 10, 2020\n* Tested with WordPress Version 5.4.2<\/p>\n\n<h4>1.0.0<\/h4>\n\n<p>May 15, 2020\n* Initial release<\/p>","raw_excerpt":"Shortcode to display the number of years or days since a certain date.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/121757","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=121757"}],"author":[{"embeddable":true,"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mwedepohl"}],"wp:attachment":[{"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=121757"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=121757"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=121757"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=121757"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=121757"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/uz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=121757"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}