{"id":31893,"date":"2014-09-24T02:45:47","date_gmt":"2014-09-24T02:45:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/adapter-post-preview\/"},"modified":"2018-07-10T21:22:06","modified_gmt":"2018-07-10T21:22:06","slug":"adapter-post-preview","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/adapter-post-preview\/","author":14022861,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1","stable_tag":"1.1","tested":"4.9.29","requires":"3.8","requires_php":"5.4","requires_plugins":"","header_name":"Adapter Post Preview","header_author":"Ryan Kienstra","header_description":"","assets_banners_color":"fffffe","last_updated":"2018-07-10 21:22:06","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/jdrf.org\/get-involved\/ways-to-donate\/","header_plugin_uri":"http:\/\/ryankienstra.com\/plugins\/adapter-post-preview","header_author_uri":"http:\/\/www.ryankienstra.com","rating":3.5,"author_block_rating":0,"active_installs":10,"downloads":2643,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0.2":"<p>Upgrade if you use the carousel. It now has enough height on mobile devices.<\/p>","1.0.1":"<p>No need to update unless you use the carousel. This version fixes its display in Internet Explorer.<\/p>"},"ratings":{"1":0,"2":0,"3":"1","4":"1","5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1907326","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1907326","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1907326","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1907326","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1907326","resolution":"2","location":"assets"}},"screenshots":{"1":"A \"Post Preview\" widget in the sidebar.","2":"A carousel of recent posts, which requires Bootstrap 3 or later."}},"plugin_section":[],"plugin_tags":[728,841,86,606,241],"plugin_category":[43],"plugin_contributors":[88045],"plugin_business_model":[],"class_list":["post-31893","plugin","type-plugin","status-closed","hentry","plugin_tags-bootstrap","plugin_tags-mobile","plugin_tags-post","plugin_tags-responsive","plugin_tags-widgets","plugin_category-customization","plugin_contributors-ryankienstra","plugin_committers-ryankienstra"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/adapter-post-preview_fffffe.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/adapter-post-preview\/assets\/screenshot-1.png?rev=1907326","caption":"A \"Post Preview\" widget in the sidebar."},{"src":"https:\/\/ps.w.org\/adapter-post-preview\/assets\/screenshot-2.png?rev=1907326","caption":"A carousel of recent posts, which requires Bootstrap 3 or later."}],"raw_content":"<!--section=description-->\n<ul>\n<li>Creates a widget with the post's featured image, headline, excerpt, and link.<\/li>\n<li>To see the carousel of posts, you must have Bootstrap 3 or later and Glyphicons.<\/li>\n<li>Hides the widget if the post is a single post on the page. For example, if you are on the \"Hello World\" page, you won't see the widget with a preview of \"Hello World.\"<\/li>\n<li>The carousel won't show posts that don't have an image.<\/li>\n<\/ul>\n\n<p>[youtube http:\/\/www.youtube.com\/watch?v=mXSKjlVrh7I]<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the adapter-post-preview directory to your \/wp-content\/plugins directory.<\/li>\n<li>In the \"Plugins\" menu, find \"Adapter Post Preview,\" and click \"Activate.\"<\/li>\n<li>Add a \"Post Preview\" widget by going to the admin menu and clicking \"Appearance\" &gt; \"Widgets\"<\/li>\n<li>Select the post you want. You must have Bootstrap to use the carousel.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload the adapter-post-preview directory to your \/wp-content\/plugins directory.<\/li>\n<li>In the \"Plugins\" menu, find \"Adapter Post Preview,\" and click \"Activate.\"<\/li>\n<li>Add a \"Post Preview\" widget by going to the admin menu and clicking \"Appearance\" &gt; \"Widgets\"<\/li>\n<li>Select the post you want. You must have Bootstrap to use the carousel.<\/li>\n<\/ol><\/dd>\n<dt>What does this require?<\/dt>\n<dd><p>The carousel of recent posts requires Bootstrap 3 or later and Glyphicons.<\/p><\/dd>\n<dt>How can I change the text in the post link?<\/dt>\n<dd><p>Put the following in your functions.php file:\n    add_filter( 'appw_link_text', function( $text ) { return 'Keep reading'; } ) \/\/ Or your own text.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>Add PHPUnit testing to ensure stability. See <a href=\"https:\/\/github.com\/kienstra\/adapter-post-preview\/issues\/2\">#2<\/a>.<\/li>\n<li>Fix excerpt output when outside the loop. See <a href=\"https:\/\/github.com\/kienstra\/adapter-post-preview\/issues\/10\">#10<\/a>.<\/li>\n<li>Refactor plugin bootstrapping. See <a href=\"https:\/\/github.com\/kienstra\/adapter-post-preview\/issues\/4\">#4<\/a>.<\/li>\n<li>Refactor carousel class to mainly use a template, add PHPUnit tests. See <a href=\"https:\/\/github.com\/kienstra\/adapter-post-preview\/pull\/9\">#9<\/a>.<\/li>\n<li>Add wp-dev-lib as a submodule, with configuration files. See <a href=\"https:\/\/github.com\/kienstra\/adapter-post-preview\/issues\/1\">#1<\/a>.<\/li>\n<\/ul>\n\n<p>See the <a href=\"https:\/\/github.com\/kienstra\/adapter-post-preview\/projects\/1\">v1.1 project<\/a>.<\/p>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Fixed height in mobile display.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fixed a bug in Internet Explorer display of the carousel.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First version.<\/li>\n<\/ul>","raw_excerpt":"Show your best posts in any widget area. Creates a widget with a post preview, or a carousel of the most recent posts.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/31893","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=31893"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ryankienstra"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=31893"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=31893"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=31893"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=31893"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=31893"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=31893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}