{"id":2340,"date":"2007-12-19T20:49:22","date_gmt":"2007-12-19T20:49:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/last-viewed-posts\/"},"modified":"2024-12-09T19:37:41","modified_gmt":"2024-12-09T19:37:41","slug":"last-viewed-posts","status":"publish","type":"plugin","link":"https:\/\/es-mx.wordpress.org\/plugins\/last-viewed-posts\/","author":87835,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.2","stable_tag":"1.0.2","tested":"6.7.5","requires":"4.9","requires_php":"5.6","requires_plugins":null,"header_name":"Last Viewed Posts by WPBeginner","header_author":"WPBeginner","header_description":"","assets_banners_color":"","last_updated":"2024-12-09 19:37:41","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.wpbeginner.com","header_author_uri":"https:\/\/www.wpbeginner.com\/","rating":2.3,"author_block_rating":0,"active_installs":500,"downloads":22762,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"0.6":{"tag":"0.6","author":"jottlieb","date":"2007-12-19 21:05:19"},"0.7":{"tag":"0.7","author":"jottlieb","date":"2008-11-14 15:12:41"},"0.7.1":{"tag":"0.7.1","author":"jottlieb","date":"2009-05-04 08:35:05"},"0.7.2":{"tag":"0.7.2","author":"noumaan","date":"2013-03-27 04:52:24"},"0.7.3":{"tag":"0.7.3","author":"deb255","date":"2019-09-23 23:52:41"},"1.0.0":{"tag":"1.0.0","author":"peterwilsoncc","date":"2021-03-15 22:32:51"},"1.0.1":{"tag":"1.0.1","author":"_smartik_","date":"2024-04-01 19:40:16"},"1.0.2":{"tag":"1.0.2","author":"_smartik_","date":"2024-12-09 19:37:41"}},"upgrade_notice":{"0.7.2":"<p>Maintenance release please upgrade.<\/p>"},"ratings":{"1":2,"2":0,"3":0,"4":0,"5":1},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.6","0.7","0.7.1","0.7.2","0.7.3","1.0.0","1.0.1","1.0.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[197347,197348,197349],"plugin_category":[43],"plugin_contributors":[81266,77612,78217],"plugin_business_model":[],"class_list":["post-2340","plugin","type-plugin","status-publish","hentry","plugin_tags-last-viewed-posts","plugin_tags-recently-viewed-posts","plugin_tags-visited-posts","plugin_category-customization","plugin_contributors-noumaan","plugin_contributors-smub","plugin_contributors-_smartik_","plugin_committers-chriscct7","plugin_committers-noumaan","plugin_committers-smub","plugin_committers-_smartik_","plugin_support_reps-jainnidhi","plugin_support_reps-jeremyroberts","plugin_support_reps-jpam02"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/last-viewed-posts.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Installing this will allow you to use a widget or template tag to show your site's visitors a personalized list of posts and pages they have viewed.<\/p>\n\n<p>The list of posts is saved in each visitor's web browser, so even if you get millions of visitors a month it won't affect the performance of your website.<\/p>\n\n<p>Note: It doesn't store a global list of recently viewed posts by all users. Nothing is stored in your site's database. Every visitor has a custom lists of posts and pages they have viewed.<\/p>\n\n<p>If JavaScript is disabled or no single post has been clicked, no output will be displayed.<\/p>\n\n<p>The plugin comes with a widget and a template tag.<\/p>\n\n<p>This plugin has been adopted and maintained by <a href=\"http:\/\/www.wpbeginner.com\" title=\"WPBeginner - WordPress Tutorials for Beginners\">WPBeginner<\/a><\/p>\n\n<h4>What's Next?<\/h4>\n\n<p>To learn more about WordPress, you can visit <a href=\"https:\/\/www.wpbeginner.com\/\" rel=\"friend\">WPBeginner<\/a> for tutorials on topics like:<\/p>\n\n<ul>\n<li><a href=\"http:\/\/www.wpbeginner.com\/wordpress-performance-speed\/\" rel=\"friend\" title=\"Ultimate Guide to WordPress Speed and Performance\">WordPress Speed and Performance<\/a><\/li>\n<li><a href=\"http:\/\/www.wpbeginner.com\/wordpress-security\/\" rel=\"friend\" title=\"Ultimate WordPress Security Guide\">WordPress Security<\/a><\/li>\n<li><a href=\"http:\/\/www.wpbeginner.com\/wordpress-seo\/\" rel=\"friend\" title=\"Ultimate WordPress SEO Guide for Beginners\">WordPress SEO<\/a><\/li>\n<\/ul>\n\n<p>...and many more <a href=\"http:\/\/www.wpbeginner.com\/category\/wp-tutorials\/\" rel=\"friend\" title=\"WordPress Tutorials\">WordPress tutorials<\/a>.<\/p>\n\n<p>If you like our Last Viewed Posts plugin, then consider checking out our other projects:<\/p>\n\n<ul>\n<li><a href=\"https:\/\/optinmonster.com\/\" rel=\"friend\">OptinMonster<\/a> \u2013 Get More Email Subscribers with the most popular conversion optimization plugin for WordPress.<\/li>\n<li><a href=\"https:\/\/wpforms.com\/\" rel=\"friend\">WPForms<\/a> \u2013 #1 drag &amp; drop online form builder for WordPress (trusted by 4 million sites).<\/li>\n<li><a href=\"https:\/\/www.monsterinsights.com\/\" rel=\"friend\">MonsterInsights<\/a> \u2013 See the Stats that Matter and Grow Your Business with Confidence. Best Google Analytics Plugin for WordPress.<\/li>\n<li><a href=\"https:\/\/www.seedprod.com\/\" rel=\"friend\">SeedProd<\/a> \u2013 Create beautiful landing pages with our powerful drag &amp; drop landing page builder.<\/li>\n<li><a href=\"https:\/\/wpmailsmtp.com\/\" rel=\"friend\">WP Mail SMTP<\/a> \u2013 Improve email deliverability for your contact form with the most popular SMTP plugin for WordPress.<\/li>\n<li><a href=\"https:\/\/rafflepress.com\/\" rel=\"friend\">RafflePress<\/a> \u2013 Best WordPress giveaway and contest plugin to grow traffic and social followers.<\/li>\n<li><a href=\"https:\/\/www.smashballoon.com\/\" rel=\"friend\">Smash Balloon<\/a> \u2013 #1 social feeds plugin for WordPress - display social media content in WordPress without code.<\/li>\n<li><a href=\"https:\/\/aioseo.com\/\" rel=\"friend\">AIOSEO<\/a> \u2013 the original WordPress SEO plugin to help you rank higher in search results (trusted by over 2 million sites).<\/li>\n<li><a href=\"https:\/\/www.pushengage.com\/\" rel=\"friend\">PushEngage<\/a> \u2013 Connect with visitors after they leave your website with the leading web push notification plugin.<\/li>\n<li><a href=\"https:\/\/trustpulse.com\/\" rel=\"friend\">TrustPulse<\/a> \u2013 Add real-time social proof notifications to boost your store conversions by up to 15%.<\/li>\n<\/ul>\n\n<p>Visit <a href=\"http:\/\/www.wpbeginner.com\/\" rel=\"friend\">WPBeginner<\/a> to learn from our <a href=\"http:\/\/www.wpbeginner.com\/category\/wp-tutorials\/\" rel=\"friend\">WordPress Tutorials<\/a> and find out about other <a href=\"http:\/\/www.wpbeginner.com\/category\/plugins\/\" rel=\"friend\">best WordPress plugins<\/a>.<\/p>\n\n<!--section=installation-->\n<p>Viewed posts are always tracked as long as the plugin is active and the visitor has enabled JavaScript and local storage.<\/p>\n\n<ol>\n<li>Install Last Viewed Posts by uploading the <code>last-viewed-posts<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory. (See instructions on <a href=\"https:\/\/www.wpbeginner.com\/beginners-guide\/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners\/\" rel=\"friend\">how to install a WordPress plugin<\/a>.)<\/li>\n<li>Activate Last Viewed Posts through the <code>Plugins<\/code> menu in WordPress.<\/li>\n<\/ol>\n\n<p>To display the list, you can use the widget that comes with the plugin, or use the following code and place it anywhere you want to outside the loop, e.g. sidebar.php :<\/p>\n\n<pre><code>&lt;?php if (function_exists('zg_recently_viewed')): ?&gt;\n    &lt;h2&gt;Last viewed posts&lt;\/h2&gt;\n    &lt;?php zg_recently_viewed(); ?&gt;\n&lt;?php endif; ?&gt;\n<\/code><\/pre>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Remove the legacy cookie based code.<\/li>\n<li>Test on WordPress 6.7.1.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fix for legacy widget settings.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Complete rewrite to use JavaScript rather than cookies to store custom posts.<\/li>\n<li>Updated list of supported WordPress versions.<\/li>\n<li>Improved performance for sites with a large number of visitors.<\/li>\n<\/ul>\n\n<h4>0.7.3<\/h4>\n\n<ul>\n<li>Updated Readme.txt.<\/li>\n<li>Checked compatibility with WordPress 5.1.1.<\/li>\n<li>Miscellaneous updates.<\/li>\n<\/ul>\n\n<h4>0.7.2<\/h4>\n\n<ul>\n<li>Plugin maintenance update.<\/li>\n<\/ul>\n\n<h4>0.7.1<\/h4>\n\n<ul>\n<li>Post\/Page ID values in cookie are sanitized for output. Upgrade is recommend for more security.<\/li>\n<\/ul>\n\n<h4>0.7<\/h4>\n\n<ul>\n<li>Pages can now be recognized (optional).<\/li>\n<li>Custom Loop is no longer used. Now we make a database query to get the post title.<\/li>\n<\/ul>","raw_excerpt":"This shows your site&#039;s visitors a personalized list of posts and pages they have recently viewed.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/2340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=2340"}],"author":[{"embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jottlieb"}],"wp:attachment":[{"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=2340"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=2340"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=2340"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=2340"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=2340"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/es-mx.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=2340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}