{"id":1730,"date":"2007-04-06T12:26:41","date_gmt":"2007-04-06T12:26:41","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-time-since\/"},"modified":"2007-04-06T12:37:26","modified_gmt":"2007-04-06T12:37:26","slug":"wp-time-since","status":"closed","type":"plugin","link":"https:\/\/tl.wordpress.org\/plugins\/wp-time-since\/","author":168506,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"2.1","requires":"2.1","requires_php":"","requires_plugins":"","header_name":"wp_time_since","header_author":"Rupert Bedford","header_description":"","assets_banners_color":"","last_updated":"2007-04-06 12:37:26","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/r09.co.uk\/wp_time_since\/","header_author_uri":"http:\/\/r09.co.uk\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":5487,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1358,86,128325,1356],"plugin_category":[],"plugin_contributors":[128326],"plugin_business_model":[],"class_list":["post-1730","plugin","type-plugin","status-closed","hentry","plugin_tags-date","plugin_tags-post","plugin_tags-since","plugin_tags-time","plugin_contributors-ruperdupe","plugin_committers-ruperdupe"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-time-since.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>A plugin for displaying the time since a particular post or page was written.<\/p>\n\n<p><em>Example Output:<\/em> 1 day, 20 hours ago.<\/p>\n\n<h4>License<\/h4>\n\n<p>Released under the GNU General Public License.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>If your local time is the same as your server?s time insert this code within ?the post\/page loop?: <code>&lt;?php wp_time_since(); ?&gt;<\/code><\/p>\n\n<p>If your local time differs from your servers time then read on. The first thing you?ll need to do is find the difference in hours between the server and you.<\/p>\n\n<p><em>Example 1:<\/em> Server time = 15:00 Your time = 16:00 Difference = 1<\/p>\n\n<p><em>Example 2:<\/em> Server time = 16:00 Your time = 15:00 Difference = -1<\/p>\n\n<p><em>Example 3:<\/em> Server time = 15:00 Your time = 15:00 Difference = 0<\/p>\n\n<p>Code to find the server time: <code>&lt;?php echo time(); ?&gt;<\/code><\/p>\n\n<p>Then you put the difference between the two brackets in the code:<\/p>\n\n<p><em>Example 1 Code:<\/em> <code>&lt;?php wp_time_since(1); ?&gt;<\/code><\/p>\n\n<p><em>Example 2 Code:<\/em> <code>&lt;?php wp_time_since(-1); ?&gt;<\/code><\/p>\n\n<p><em>Example 3 Code:<\/em> <code>&lt;?php wp_time_since(); ?&gt;<\/code><\/p>\n\n<h4>Modifications<\/h4>\n\n<p>You can modify the plugin to suit your own needs by clicking on edit next to the plugin?s name in your plugin management section. You?ll notice that there are a set of parameters at the top of the page which you can modify for your own needs. If you need help then leave a comment on my site and I?ll see what I can do.<\/p>\n\n<!--section=installation-->\n<p>Installation takes no time at all, if this is the first plugin you've installed then be sure to read the instructions below:<\/p>\n\n<ol>\n<li>Download the plugin.<\/li>\n<li>Upload wp_time_since.php to the WordPress plugin directory.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Read the section on usage.<\/li>\n<\/ol>","raw_excerpt":"Displays the time since a particular post or page was written.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/1730","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=1730"}],"author":[{"embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ruperdupe"}],"wp:attachment":[{"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=1730"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=1730"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=1730"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=1730"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=1730"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=1730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}