Displays the titles of the last x number of posts that readers (other than the current reader) visited on your blog, and the amount of time elapsed si
Display the titles of the last x number of posts that readers visited on your blog, and the amount of time elapsed since they visited it, in a variety of forms:
SECRET_KEY where available, to protect against rainbow tables.$_SERVER['HTTP_CLIENT_IP'] or $_SERVER['HTTP_X_FORWARDED_FOR'] instead of $_SERVER['REMOTE_ADDR'] where available.wp_query, instead of individually.get_recently_viewed_posts( $max_shown = 10 ) returns a string of li's.recently_viewed_posts( $max_shown = 10 ) prints a div<div class="recently-viewed-posts"><h3 class="recently-viewed-posts-header">What others are reading right now</h3><div class="recently-viewed-posts-list"><ul class="recently-viewed-posts-list">
<li class="recently-viewed-posts-item"><img src="http://www.gravatar.com/avatar/1A2B3C4D5E1A2B3C4D5E1A2B3C4D5E1A2B3C4D5E1A2B3C4D5E.jpg?s=10&d=identicon" alt=" " width="10" height="10" f /> <a href="http://www.blog.com/foobar-post/" class="recently-viewed-posts-link">Title of Post</a> <span class="recently-viewed-posts-timespan">3 seconds ago</span></li>
<li class="recently-viewed-posts-item"><img src="http://www.gravatar.com/avatar/1A2B3C4D5E1A2B3C4D5E1A2B3C4D5E1A2B3C4D5E1A2B3C4D5E.jpg?s=10&d=identicon" alt=" " width="10" height="10" class="recently-viewed-posts-icon" /> <a href="http://www.blog.com/foobar-page/" class="recently-viewed-posts-link">Name of Page</a> <span class="recently-viewed-posts-timespan">2 minutes, 15 seconds ago</span></li>
</ul></div></div>
http://www.pinoy.ca/eharmony/1616 shows two versions of it in action.
Requires: 2.1 or higher
Compatible up to: 2.9.2
Last Updated: 2010-3-2
Downloads: 3,211
Got something to say? Need help?