{"id":12048,"date":"2011-02-05T15:36:46","date_gmt":"2011-02-05T15:36:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/get-latest-post\/"},"modified":"2016-04-07T04:50:35","modified_gmt":"2016-04-07T04:50:35","slug":"get-latest-post","status":"publish","type":"plugin","link":"https:\/\/ug.wordpress.org\/plugins\/get-latest-post\/","author":86306,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.3","stable_tag":"0.3","tested":"4.5.33","requires":"3.0.4","requires_php":"","requires_plugins":"","header_name":"Get Latest Post","header_author":"Paul Schreiber","header_description":"","assets_banners_color":"","last_updated":"2016-04-07 04:50:35","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/paulschreiber.com\/blog\/2011\/02\/04\/how-to-display-the-latest-blog-post-on-a-wordpress-page\/","header_author_uri":"http:\/\/paulschreiber.com\/","rating":4,"author_block_rating":0,"active_installs":80,"downloads":7526,"num_ratings":2,"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":"2","5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.2.1","0.2.2","0.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1975,32185,245,86,166],"plugin_category":[43,46],"plugin_contributors":[81725],"plugin_business_model":[],"class_list":["post-12048","plugin","type-plugin","status-publish","hentry","plugin_tags-formatting","plugin_tags-get_latest_post","plugin_tags-list","plugin_tags-post","plugin_tags-posts","plugin_category-customization","plugin_category-editor-and-writing","plugin_contributors-paulschreiber","plugin_committers-paulschreiber"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/get-latest-post.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin adds the ability to put a shortcode tag in any static page or post and have it display an excerpt from your latest blog post.<\/p>\n\n<p>There are no settings or options.<\/p>\n\n<p>It generates markup like this, which you can style as desired:<\/p>\n\n<pre><code>&lt;div class='latest-post'&gt;\n&lt;p class='title'&gt;&lt;a href='http:\/\/www.mysite.ca\/blog\/post'&gt;Look ma, no hands!&lt;\/a&gt;&lt;\/p&gt;\n&lt;p class='excerpt'&gt;Today I rode a bicycle &amp;hellip;&lt;a href=\"http:\/\/www.mysite.ca\/blog\/post\"&gt;Continue reading &lt;span class=\"meta-nav\"&gt;&amp;rarr;&lt;\/span&gt;&lt;\/a&gt;&lt;\/p&gt;\n&lt;\/div&gt;\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin to the <code>\/wp-content\/plugins\/<\/code> directory and unzip it.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Place <code>[get_latest_post]<\/code> in your pages.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.3<\/h4>\n\n<ul>\n<li>More WordPress VIP coding standards<\/li>\n<li>refactored in to class<\/li>\n<li>updated \"tested up to\" to 4.3.1<\/li>\n<\/ul>\n\n<h4>0.2.2<\/h4>\n\n<ul>\n<li>WordPress VIP coding standards; updated \"tested up to\" to 4.1<\/li>\n<\/ul>\n\n<h4>0.2.1<\/h4>\n\n<ul>\n<li>Updated \"tested up to\" to 3.9.1<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Call wp_reset_query() at the end.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Adds a shortcode tag [get_latest_post] to display an excerpt from your latest blog post.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/12048","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=12048"}],"author":[{"embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/paulschreiber"}],"wp:attachment":[{"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=12048"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=12048"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=12048"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=12048"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=12048"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ug.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=12048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}