{"id":3919,"date":"2008-10-27T10:31:18","date_gmt":"2008-10-27T10:31:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/latest-post-date\/"},"modified":"2008-10-27T10:31:18","modified_gmt":"2008-10-27T10:31:18","slug":"latest-post-date","status":"closed","type":"plugin","link":"https:\/\/ja.wordpress.org\/plugins\/latest-post-date\/","author":4273,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.01","stable_tag":"1.01","tested":"2.6.2","requires":"2.0","requires_php":"","requires_plugins":"","header_name":"Latest Post Date","header_author":"Simon Wheatley","header_description":"","assets_banners_color":"","last_updated":"2008-10-27 10:31:18","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.simonwheatley.co.uk\/wordpress\/","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/has-more\/","header_author_uri":"http:\/\/simonwheatley.co.uk\/wordpress\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2661,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.01"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[4708,18386,86,3623,1249],"plugin_category":[40,43],"plugin_contributors":[77763],"plugin_business_model":[],"class_list":["post-3919","plugin","type-plugin","status-closed","hentry","plugin_tags-dates","plugin_tags-latest-post","plugin_tags-post","plugin_tags-template-tag","plugin_tags-themes","plugin_category-calendar-and-events","plugin_category-customization","plugin_contributors-simonwheatley","plugin_committers-simonwheatley"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/latest-post-date.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Adds two template tags, <code>latest_post_date()<\/code> and <code>latest_post_modified_date()<\/code>, the first echoes the most recent post publication date, the second echoes the modification date of the most recently modified post.<\/p>\n\n<p>Each template tag takes two params: <strong>$date_format<\/strong>, standard <a href=\"http:\/\/codex.wordpress.org\/Formatting_Date_and_Time\">WP date formatting string<\/a> (defaults to the default date formatting for your WP blog), and <strong>$echo<\/strong>, display the date, if <code>TRUE<\/code>, or return the date to be used in PHP, if <code>FALSE<\/code>, (defaults to <code>TRUE<\/code>).<\/p>\n\n<p>For example: <code>&lt;?php latest_post_date( 'l, F j, Y', TRUE ); ?&gt;<\/code> would return a date similar to <em>Friday, September 24, 2004<\/em> for use in PHP. Another example: <code>&lt;?php latest_post_date(); ?&gt;<\/code> would echo a date in the default formatting for your WP blog.<\/p>\n\n<p>Is this plugin lacking a feature you want? I'm happy to discuss ideas, or to accept offers of feature sponsorship: <a href=\"http:\/\/www.simonwheatley.co.uk\/contact-me\/\">contact me<\/a> and we can have a chat.<\/p>\n\n<p>Any issues: <a href=\"http:\/\/www.simonwheatley.co.uk\/contact-me\/\">contact me<\/a>.<\/p>\n\n<!--section=installation-->\n<p>The plugin is simple to install:<\/p>\n\n<ol>\n<li>Download <code>latest-post-date.zip<\/code><\/li>\n<li>Unzip<\/li>\n<li>Upload <code>latest-post-date<\/code> directory to your <code>\/wp-content\/plugins<\/code> directory<\/li>\n<li>Go to the plugin management page and enable the plugin<\/li>\n<li>Give yourself a pat on the back<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>v1 2008\/10\/27<\/h4>\n\n<ul>\n<li>Plugin first released<\/li>\n<\/ul>\n\n<h4>v1.01 2008\/10\/27<\/h4>\n\n<ul>\n<li>Removed various stray error logging code<\/li>\n<\/ul>","raw_excerpt":"Adds two template tags latest_post_date() and latest_post_modified_date().","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/3919","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=3919"}],"author":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/simonwheatley"}],"wp:attachment":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=3919"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=3919"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=3919"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=3919"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=3919"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=3919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}