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.
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.
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.
The plugin comes with a widget and a template tag.
This plugin has been adopted and maintained by WPBeginner
To learn more about WordPress, you can visit WPBeginner for tutorials on topics like:
…and many more WordPress tutorials.
If you like our Missed Scheduled Posts Publisher plugin, then consider checking out our other projects:
- OptinMonster – Get More Email Subscribers with the most popular conversion optimization plugin for WordPress.
- WPForms – #1 drag & drop online form builder for WordPress (trusted by 4 million sites).
- MonsterInsights – See the Stats that Matter and Grow Your Business with Confidence. Best Google Analytics Plugin for WordPress.
- SeedProd – Create beautiful landing pages with our powerful drag & drop landing page builder.
- WP Mail SMTP – Improve email deliverability for your contact form with the most popular SMTP plugin for WordPress.
- RafflePress – Best WordPress giveaway and contest plugin to grow traffic and social followers.
- Smash Balloon – #1 social feeds plugin for WordPress – display social media content in WordPress without code.
- AIOSEO – the original WordPress SEO plugin to help you rank higher in search results (trusted by over 2 million sites).
- PushEngage – Connect with visitors after they leave your website with the leading web push notification plugin.
- TrustPulse – Add real-time social proof notifications to boost your store conversions by up to 15%.
- Install Last Viewed Posts by uploading the
last-viewed-postsdirectory to the
/wp-content/plugins/directory. (See instructions on how to install a WordPress plugin.)
- Activate Last Viewed Posts through the
Pluginsmenu in WordPress.
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 :
<?php if (function_exists('zg_recently_viewed')): ?> <h2>Last viewed posts</h2> <?php zg_recently_viewed(); ?> <?php endif; ?>
Last Viewed Posts by WPBeginner はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。貢献者
- Updated list of supported WordPress versions.
- Improved performance for sites with a large number of visitors.
- Updated Readme.txt.
- Checked compatibility with WordPress 5.1.1.
- Miscellaneous updates.
- Plugin maintainance update.
- Post/Page ID values in cookie are sanitized for output. Upgrade is recommend for more security.
- Pages can now be recognized (optional).
- Custom Loop is not longer used. Now we make a database query to get the post title.