This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

upPrev — Next Post Slide-in Box


When a reader scrolls to the bottom of a post or page, upPrev animates a call-to-action to encourage further reading.

Basically, you’ll get this, but for WordPress:

Additionally, you can customize upPrev to suggest navigating to any one of the following:

  • Previous
  • Previous, but by category
  • Previous, but by tag
  • Random
  • Or related, using YARPP (available only for posts/pages)

You can also edit display options, including size, position and custom CSS.


  • upPrev on post
  • upPrev options: appearance
  • upPrev options: content
  • upPrev options: links
  • upPrev options: cache


  1. Upload upPrev to your plugins directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Configure upPrev plugin using Appearance -> upPrev


upPrev is activated, but I don’t see the slide-in box. Now what?

It may be your WordPress theme. You’ll need both the wp_head and wp_footer functions in your theme for this plugin to work.

If you’re not sure whether those functions are present, use this plugin to double-check:

My website is not in English, will upPrev work?

upPrev plugin will work on websites in the following languages:

  • Brazilian Portuguese
  • Bulgarian
  • Czech
  • Dutch
  • English
  • French
  • German
  • Hebrew
  • Italian
  • Polish
  • Romanian
  • Russian
  • Simplified Chinese
  • Slovak
  • Spanish
  • Turkish
  • Vietnamese
Can I add a default image for posts without thumbnails?

Use the iworks_upprev_image action:

add_action( 'iworks_upprev_image' , 'default_image' );
function default_image()
    return '<img src="image.png" alt="" />';
Can I change the post thubnail to another image?

Use the iworks_upprev_get_the_post_thumbnail filter:

add_filter( 'iworks_upprev_get_the_post_thumbnail' , 'change_thumbnail' );
function change_thumbnail( $image )
    return '<img src="image.png" alt="" />';
Can I use upPrev with custom post types?

Yes. Just select post types on Appearance -> upPrev -> Content page in Select post types section.

Can I add my own styles?

See here: How I can customize with my own styles?

Need more snippets?

Visit: upPrev: snippet archive

Contributors & Developers

“upPrev — Next Post Slide-in Box” is open source software. The following people have contributed to this plugin.




  • Release date: 2015-10-13
  • MERGE: Returning the fork to the drawer (thanks, Marcin, for your hard work!)
  • BUGFIX: fixed a problem with showing the title if contains tags with attributes. Props for Ovidiu


  • Release date: 2015-09-01
  • IMPROVEMENT: added Tagalog translation by Kel DC


  • IMPROVEMENT: added Slovak translation by Daniel Schmidt


  • IMPROVEMENT: added Dutch translation by Ruud Kok



  • IMPROVEMENT: updated Simplified Chinese translation by Leo
  • IMPROVEMENT: added filter ‘iworks_upprev_box_title‘ for box title, return false to remove title



  • BUGFIX: default value only when is need thx to Jeff Offset Not Working
  • IMPROVEMENT: updated IworksOptionClass to 1.7.7




  • IMPROVEMENT: updated IworksOptionClass to 1.7.4
  • IMPROVEMENT: check upPrev compatybility with WordPress 3.7
  • BUGFIX: fixed “last selected tab”






  • IMPROVEMENT: added Hebrew translation by עמיעד




  • BUGFIX: fixed compatybility errors with YARPP 4.x version thx to adamdport
  • IMPROVEMENT: add css to changed tabs class in WordPress 3.5
  • IMPROVEMENT: check upPrev compatybility with WordPress 3.5





  • BUGFIX: critical update, plugin crash site if choose no post types



  • IMPROVEMENT: added German translation by Mario Wolf


  • BUGFIX: fixed double output when using YARPP thx to gyutae
  • BUGFIX: hide developer admin option


  • IMPROVEMENT: added Brazilian Portuguese translation by Leonardo Antonioli
  • BUGFIX: fixed minor description bug (thx Eva)


  • IMPROVEMENT: added Vietnamese translation by Xman
  • BUGFIX: use crc32 to build ids for tabbed config, wich collapsed in other than utf8 charset


  • IMPROVEMENT: added GA option: non-interaction to prevent events in bounce-rate calculation.


  • IMPROVEMENT: added French translation by Eva


  • IMPROVEMENT: added option to hide upPrevBox on mobile devices, matching imlemented from WP Mobile Detector ticket from forum


  • IMPROVEMENT: added action iworks_upprev_image – you can add own code to produce icon, when them don’t support post-thumbnails
  • IMPROVEMENT: added thumbnail filter iworks_upprev_get_the_post_thumbnail – now you can easy change thumbnail
  • IMPROVEMENT: added purging transient cache entries from $wpdb->options table when turn off this cache forum
  • IMPROVEMENT: add check _gaq object exist
  • CHECK: checked compatybility to WordPress 3.3
  • IMPROVEMENT: updated IworksOptionClass to version 1.0.1


  • IMPROVEMENT: added ability to turn off “remove_all_filters” function


  • IMPROVEMENT: change GA trackEvent syntax
  • IMPROVEMENT: added Turkish translation by wpdestek


  • BUGFIX: fixed printing GA code when “I don’t have GA tracking on site.” is unticked. forum thx win101


  • BUGFIX: fixed end date filter for imported posts
  • BUGFIX: fixed javascript conflict on edit post screen
  • BUGFIX: fixed problem with unchecking ‘Excerpts’. forum thx benjamin
  • BUGFIX: fixed sticky posts display loop
  • BUGFIX: fixed thumbnail display problem
  • IMPROVEMENT: added filter ‘iworks_upprev_box_item‘ for any item excerpt YARPPs
  • IMPROVEMENT: added GA track: view box and click link
  • IMPROVEMENT: added option ignore sticky posts
  • IMPROVEMENT: added sanitize function for offset
  • IMPROVEMENT: added thumbnail preview on posts/pages list
  • IMPROVEMENT: cleaning empty styles from custom css field
  • REFACTORING: option managment


  • BUGFIX: fixed problem for defaults post_type if no one choosed forum


  • BUGFIX: fixed problem with using thumbnails in themes with thumbnail support forum
  • IMPROVEMENT: added custom css rules (forum](


  • BUGFIX: fixed problem with using thumbnails in themes without thumbnail support


  • BUGFIX: fixed problem with default values and values saving (again)
  • IMPROVEMENT: added correct way to enquene style and js files


  • BUGFIX: hide configuration link on plugins list page for WordPress MU
  • BUGFIX: fixed problem with post excerpt
  • BUGFIX: fixed problem with default values and values saving


  • BUGFIX: fixed translation bug
  • BUGFIX: removed date limit for random posts
  • BUGFIX: fixed open in new window bug
  • IMPROVEMENT: added limit to display only on selected post types forum


  • BUGFIX: fixed small bug with display option


  • IMPROVEMENT: added filter iworks_upprev_box
  • IMPROVEMENT: added tabed options (based on Breadcrumb NavXT plugin
  • IMPROVEMENT: added prefix and suffix to urls
  • IMPROVEMENT: added option to allow open links in new window
  • IMPROVEMENT: added integration with YARPP
  • BUGFIX: fixed Transients Cache Lifetime is set to wrong seconds
  • BUGFIX: fixed deactivation hook option names


  • BUGFIX: fixed display problem with document shorter than browser
  • IMPROVEMENT: document post type as checkbox list


  • IMPROVEMENT: added upPrev configuration link to admin bar
  • IMPROVEMENT: added registered custom posts
  • BUGFIX: fixed error if the behavior of boxing display for html element
  • BUGFIX: fixed wrong method post_type selection


  • BUGFIX: remove margin-top for title element
  • IMPROVEMENT: added display taxonomies limit


  • BUGFIX: When they scroll down again, the box flies out, which — on a small screen — can obscure a big chunk of the content. forum


  • IMPROVEMENT: added box width option
  • IMPROVEMENT: added box bottom and side margin option
  • IMPROVEMENT: added transient cache for scripts and styles
  • IMPROVEMENT: added actions: iworks_upprev_box_before and iworks_upprev_box_after, called inside the upPrevBox, before and after post. Now you can add some elements to upPrevBox whithout plugin modyfication.
  • IMPROVEMENT: added option to display (or not) close button
  • IMPROVEMENT: added post type choose: post, page or any.
  • IMPROVEMENT: added random order for displayed posts


  • BUGFIX: fixed translation load
  • IMPROVEMENT: added show box header option
  • IMPROVEMENT: added stamp for cache key
  • IMPROVEMENT: added Polish translation by Marcin Pietrzak


  • BUGFIX: fixed display upPrev box in case of an equal height of the window and the document
  • IMPROVEMENT: added to use transient cache
  • IMPROVEMENT: added thumbnail width (height depent of theme thumbnail)
  • IMPROVEMENT: added prevent some options if active theme dosen’t support it
  • IMPROVEMENT: added activation & deactivation hooks (to setup defaults and remove config )
  • BUGFIX: remove all filters the_content for post in upPrev box


  • BUGFIX: added post_date as parametr, to get real previous post
  • BUGFIX: javascript error
  • IMPROVEMENT: added header for simple method