{"id":2569,"date":"2008-02-21T15:59:14","date_gmt":"2008-02-21T15:59:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/neighbor-post-preview\/"},"modified":"2008-03-14T16:00:04","modified_gmt":"2008-03-14T16:00:04","slug":"neighbor-post-preview","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/neighbor-post-preview\/","author":323002,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.0","stable_tag":"1.1.0","tested":"2.3.3","requires":"1.5","requires_php":"","requires_plugins":"","header_name":"Neighbor Post Preview","header_author":"thinlight","header_description":"","assets_banners_color":"","last_updated":"2008-03-14 16:00:04","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/thinlight.org\/projects\/wordpress-neighbor-post-preview\/","header_author_uri":"http:\/\/thinlight.org\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1518,"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":["1.0.2","1.1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1753,2475],"plugin_category":[43],"plugin_contributors":[97252],"plugin_business_model":[],"class_list":["post-2569","plugin","type-plugin","status-closed","hentry","plugin_tags-navigation","plugin_tags-preview","plugin_category-customization","plugin_contributors-thinlight","plugin_committers-thinlight"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/neighbor-post-preview.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Using the functions provided by this plugin, when you hover on the previous\/next links in a single post page, you can see a preview of the post.<\/p>\n\n<p>It shows an excerpt of the post. The excerpt is generated using the same mechanism as \"<a href=\"http:\/\/codex.wordpress.org\/Template_Tags\/the_excerpt\">the_excerpt<\/a>\" tag. If there is an explicit excerpt for the post, the explicit excerpt will be used. If the post doesn't have one, an excerpt is faked by truncating the full content.<\/p>\n\n<p>If a post is password-protected, no preview will generated for it.<\/p>\n\n<h3>Customization<\/h3>\n\n<p>Go to Neighbor Post Preview Options page in WordPress admin area (Options -&gt; Neighbor Post Preview) and you\u2019ll see 3 options to customize:<\/p>\n\n<ul>\n<li><em>Excerpt length<\/em>. How many words do you want to display when there is not an explicit excerpt?<\/li>\n<li><em>Delay before hide<\/em>. How long will the preview stay after your mouse leaves the link?<\/li>\n<li><em>CSS class name of preview window<\/em>. You can customize the look of the preview window.<\/li>\n<li><em>Show post title in preview window<\/em>. Many users just use \"previous post\/next post\" as navigation link text, and this option will be very useful for them.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Download the plugin and extract it<\/li>\n<li>Put the plugin folder (<code>neighbor-post-preview<\/code>) into your WordPress plugin directory<\/li>\n<li>Activate the plugin through the \u201cPlugins\u201d menu in WordPress admin area<\/li>\n<li>Modify single.php file of your current theme. Find <code>previous_post_link(\u2026)<\/code> and replace the function name by <code>tlnpp_previous_post_link<\/code>. Also replace <code>function next_post_link<\/code> by <code>tlnpp_next_post_link<\/code><\/li>\n<\/ol>","raw_excerpt":"This gives you a preview when you hover on the previous\/next links in a single post page.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/2569","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=2569"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/thinlight"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=2569"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=2569"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=2569"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=2569"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=2569"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=2569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}