News

WordPress Plugin – upPrev: NYTimes Style “Next Post” jQuery Animated Button

News 147 Comments

Our expert jQuery programmer, Grzegorz Krzyminski, has created a WordPress Plugin to emulate the “Next Post” buttons you see once you scroll to the bottom of New York Times web articles.


UpPrev has been updated to V1.4. There’s a boat-load of changes, so you should update accordingly. Subscribe to our RSS feed to learn when additional updates occur.


New York Times “Next Post” Animated Button Examples

Just like the NYTimes button, upPrev allows WordPress site admins to provide the same functionality for their readers. When a reader scrolls to the bottom of a single post, a button animates in the page’s bottom right corner, allowing the reader to select the next available post in the single post’s category (the category is also clickable to access an archive page). If no next post exists, no button is displayed.

The plugin’s only current option is choosing a fade-in or a fly-in animation.

It’s absolutely beautiful. I love Grzegorz’s work and I invite you to download the plugin in the WordPress repository.

DEMO | DOWNLOAD

Related posts:

  1. Download upPrev Version 1.4 – Thumbnails, Excepts and Lots of other New Features!
  2. BackupBuddy: A Great New WordPress Server Migration Plugin
  3. When You’re Running WPMU, WPMU Dev is a Powerful Plugin Resource
  4. Get the Image – A WordPress Tutorial
  5. Trouble Updating WordPress or WP Plugins? Try Asking Your Host to Increase Your PHP Memory Limit

About the Author

Written by

Item-9 Consulting is headed by Jason Pelker, a leading Chicago developer and marketer of small business and nonprofit websites.

147 Comments to "WordPress Plugin – upPrev: NYTimes Style “Next Post” jQuery Animated Button"

  1. Adam W. Warner

    June 11, 2010

    Great idea for a plugin, but unfortunately it didn’t display correctly on my site. It was over to the left and underneath everything. Probably just some CSS changes to either the plugin or my theme.

    I’ll have a more detailed look later and report back.

    Reply
    • Jason Pelker

      June 11, 2010

      Yeah, it seems a bit fickle as of right now. I’m working with my developer to iron out the kinks. Thanks for your feedback, though! Btw, how’d you find the plugin? Were you searching for the same functionality?

      Reply
    • KlixIndia

      January 13, 2012

      hi

      how i can add this manually in website. what code i need to put in single.php file to get it worked

      Reply
  2. Adam W. Warner

    June 11, 2010

    I have some “alerts” setup to scan the web for keyword phrases like “wordpress plugin” and your post was in the results;)

    Looking forward to any updates coming:)

    Reply
    • Jason Pelker

      June 11, 2010

      Please re-download the plugin and give it another try. I inadvertently renamed the plugin’s folder before compressing it into a .zip.

      My error has been corrected and the developer has actually rewritten the code a bit so this won’t be an issue for anyone else.

      Thanks again!

      Reply
  3. Adam W. Warner

    June 11, 2010

    Hmmm…not yet for me, cleared browser cache (FF 3.6.3), same behavior.

    Here’s a screenshot of the lower left of my screen. You can see the next post link. Also, when using Firebug there seems to be no styling associated with the “upprev_box” div?

    http://tinypic.com/r/2gtagpv/6

    Firebug – http://tinypic.com/r/dre6iv/6

    I’ll try the default theme and see what happens…

    Reply
  4. Adam W. Warner

    June 11, 2010

    …and in Kubrick…

    http://tinypic.com/r/2d97eat/6

    I wonder if maybe there’s a jQuery lib conflict?

    Reply
    • Jason Pelker

      June 11, 2010

      Make sure you trash that old plugin completely and use this download link. Again, it works on thesis and other basic sites. I can’t believe it’s not working on Kubrick!

      Reply
    • Jason Pelker

      June 11, 2010

      Oh, yeah it’s definitely working on a virgin install of Kubrick: http://item-9.com/thesis/2010/06/reception/.

      I think we may have a plugin conflict. You know the drill…deactive, reactivate one by one and keep refreshing until upPrev breaks again.

      Please report back your findings!

      Reply
  5. Adam W. Warner

    June 11, 2010

    Great! Working now. My second download renamed the upprev folder (upprev) and I installed that one by mistake…which breaks things…whoops.

    So…great plugin guys! Thanks for making it freely available, I’m sure it will be a hit when it goes live in the repository.

    Reply
  6. Adrian

    June 13, 2010

    Great plugin, any way to adjust when it’s displayed? I fear readers may not make it to the very bottom of the comments after a post.

    Reply
  7. Tim Kraaijvanger

    June 14, 2010

    Great plugin! Just as Adrian I’m looking for a way to show the box earlier. Not all my visitors scroll all the way down.

    Reply
    • Jason Pelker

      June 15, 2010

      Offset is now an option in version 1.3.

      Reply
      • Adrian

        June 15, 2010

        AWESOME! Thank you for the quick update!

        Reply
  8. Massa P

    June 14, 2010

    On my blog, it incorrectly shows number of total posts per category. Actually, it ALWAYS says, “1 of 5″ for all displays… regardless of how many posts are actually in a category.

    Reply
    • Grzegorz

      June 17, 2010

      Hello,

      You may try the latest version 1.3

      Indeed there was some problem with some templates. Mostly it was caused by the “Recent Post” in the sidebar, which was using a method to change global variables storing info about currently displayed post.

      The current version should resolve this issue, but if not, let us know.

      Reply
      • Jon Hillenbrand

        August 10, 2010

        I’m getting the same problem with 1.3.3. I tried removing “recent post” widget, but no joy. Any ideas?

        Reply
  9. Simon

    June 15, 2010

    Hello!

    When I try to use your Plugin (which is really neat btw) it brakes my Dynamic Content Gallery. Would be nice if you can fix this. I believe this could have something to do with my Wibiya Toolbar too.

    And and I have a Feature Request: Is it possible to Display the next Post, no matter which Category?

    Greetings Simon

    Reply
  10. Avi

    June 15, 2010

    Great implementation for WP,saw this on NYTimes recently.The plugin out of the box works with some themes and not some, tried removing all js and activated only upprev, the plugin loads in the header but is not displayed or is getting hidden in the background, any sugg on fixing this.

    Reply
  11. DaxHorror

    June 16, 2010

    Hello!

    I absolutely love the plugin, one of the coolest, sleekest ones I’ve ever used on my site, so kudos to you!

    But since I upgraded today, it no longer works on my site. I’m not sure what could’ve caused the problem, I’ve not made any other changes to my site, just a simple upgrade of your plugin.. Any idea what I can do to fix that?

    Thanks so much!

    Reply
  12. Dennis

    June 16, 2010

    hi, very nice plugin, but can tell me, where i can adjust the color of the fonts. in my case they are very light grey and i believe nobody is able to read it.

    Reply
    • Jason Pelker

      June 17, 2010

      Download Firebug, inspect the box’s font qualities and then adjust the CSS manually. You could probably put the declarations in your own style sheet and make sure they’re enacted by using the !important property.

      Reply
      • Dennis

        June 18, 2010

        okay, thanks! now it works ;-)

        Reply
      • Siva

        December 21, 2010

        Besides that , you can add font settings in the next version ! Pls…

        Reply
  13. Khan

    June 25, 2010

    Much like Massa P, I am also only seeing 1 of 5 no matter how many posts are in the category…

    I have upgraded to 1.3 version and I do not have any recent posts plugin enabled on my site… :(

    Reply
  14. Matt

    June 29, 2010

    Awesome plugin! Just installed it and going to work playing with it. Going to try to add images to it. I’ll let you know what I can cook up ;-)

    Reply
  15. [...] released by Jason Pelker and Grzegorz Krzyminski, does just that on your WordPress-driven site. Users can choose to either fly in or fade in a small [...]

    Reply
  16. Joshua Lynch

    July 9, 2010

    Nice plugin! Installed it, blogged it and also have the 1 of 5 issue no matter how many posts. But I think I’ve found the conflict and will get rid of it. In the meantime, I don’t think anyone will notice the inaccurate count :)

    Reply
    • alan mcdowell

      July 29, 2010

      Hello, can you please tell me how to stop the plugin always showing 1 of 5. I would like it to show 1 of total or dont show 1 of 5 and just click the title to go to the next page, as long as it doest stop at 5 post. Many thanks

      Reply
  17. Brett

    July 15, 2010

    Fantastic plugin! I’ve been wanting to do this ever since I saw it in NYT. Quick question.

    I’ve adjusted the flyin to happen whenever the user sees 45% of the site. However, the box still doesn’t fly in until you scroll to the very bottom. Any ideas what might cause this?

    Reply
  18. Brett

    July 15, 2010

    Never mind. I got it to work!

    Do you think it will ever be possible to cause the flyout whenever someone reaches the very beginning of the comments?

    Because right now, with it based on percentage, where the flyout happens will change as comments are added to a post. So I can set it to 45%, but on pages with few comments, the flyout could happen in the middle of the post and on posts with a ton of comments, the flyout won’t happen until you scroll down a great deal into the comments. It would be great if it was consistent across all posts, no matter their length?

    BTW, do you all take donations?

    Reply
    • Jason Pelker

      August 8, 2010

      I think the new version accomplishes this request. Feel free to update using the WordPress admin panel or via the plugin repository.

      Feel free to drop a donation for the developer on PayPal: http://bit.ly/9vksPi

      Reply
  19. Piyush Agarwal

    August 4, 2010

    Hi,

    The plugin seemed nice, so I installed on my blog. Sadly its not working on my current theme. I tried on the default theme and it worked.

    Any idea what can be done to make it work with my current theme?

    Piyush

    Reply
    • Jason Pelker

      August 8, 2010

      I sense javascript conflicts…Unfortunately, you’ll likely need to debug your theme.

      Reply
  20. Denise

    August 5, 2010

    Hello, thank you for this much-needed plugin. Installing it causes my “Featured Content Gallery” plugin to not load. Any ideas? Thanks again.

    Reply
    • Jason Pelker

      August 8, 2010

      This is likely a plugin javascript conflict issue. Sorry, but I don’t have a solution for you at this time.

      Reply
  21. Jon Hillenbrand

    August 9, 2010

    Love this plugin. Only problem is that it only displays my last 5 posts. It says 5 of 5 instead of 5 of 200 (or however many posts I have). Displays correctly and works well, otherwise.

    Reply
  22. Zach

    August 10, 2010

    Excellent! Works great, adds a sophisticated style to a site. Nice work, dudes!

    For you others having conflict errors, try deactivating other plugins…check for jQuery library conflicts (versions, call instances, etc.)..and perhaps your theme needs to be updated, or the internal javascript (/includes) files are calling identical functions.

    Reply
  23. Can

    August 26, 2010

    Plugin is not worked for me.
    *i tried to disable all other plugins.
    *i tried to change theme. (its not working even with the default “Twenty Ten” theme)

    i think the main problem is at the code. All the sites that plugin worked perfectly, have code at their source code.

    However, i can not see this code at my posts. You can check my blog at “http://biyorss.com”.

    How can i add this code manually?

    Reply
    • Can

      August 30, 2010

      thanks for nothing..

      Reply
      • Grzegorz Krzyminski

        September 4, 2010

        Hello Can,

        I haven’t checked this thread lastly. Are you still trying to add this plugin to your website?

        After installation the plugin should be located at wp-content/plugins/upprev…

        Is it there or still missing?

        Sincerely
        Grzegorz Krzyminski

        Reply
  24. [...] secret to this animated flyout link on our site is the amazing upPrev WordPress plugin, by Jason Pelker and Grzegorz Krzyminski. It will suggest the next link and also provide clickable [...]

    Reply
  25. [...] secret to this animated flyout link on our site is the amazing upPrev WordPress plugin, by Jason Pelker and Grzegorz Krzyminski. It will suggest the next link and also provide clickable [...]

    Reply
  26. [...] secret to this animated flyout link on our site is the amazing upPrev WordPress plugin, by Jason Pelker and Grzegorz Krzyminski. It will suggest the next link and also provide clickable [...]

    Reply
  27. [...] When you are reading this post, you probably have noticed that there is a flyout block at the right corner once you scroll down to the page. It’s powered by a WordPress plugin called upPrev, developed by item-9.com. [...]

    Reply
  28. Goran Ani?i?

    September 15, 2010

    Hi, great plugin, but not work in WP 3.0.1

    Reply
  29. Grzegorz Krzyminski

    September 18, 2010

    The lates version 1.3.4 has been just published. It should resolve some jQuery incompatibility issues and correct the number of post in categories.

    Reply
  30. Zachary Lym

    September 20, 2010

    Great plugin Grzegorz, awesome blog too!

    Any thoughts of integrating YARPP? I also have a lot of content on pages as opposed to blogs, it would be nice to enable it on those pages too.

    Thanks for the awesome work!

    -Zach Lym

    Reply
  31. Jhay

    October 2, 2010

    I’m using the latest version of this plugin. But now that I’m using IntenseDebate the animated button appears immediately after the page load completes instead of appearing at the beginning of the comments section.

    Any help here would be hot.

    Reply
  32. Grzegorz Krzyminski

    October 2, 2010

    Hello Jhay,

    I’m not sure how exactly the IntenseDebate works, but as far as I see it loads comments section little later, so upPrev is getting incorrect information about their position.

    Here is some quick fix: WP admin > Settings > upPrev > change element selector from #comments to #idc-container

    It should resolve that issue. Here is a preview: http://gkrzyminski.pl/jrocas/

    Reply
    • Jhay

      October 2, 2010

      Thanks! The issue has been resolved. I knew the element selector had to be changed, but couldn’t figure out exactly which tag to use. Being a total noob in PHP and CSS.

      Reply
  33. ProfYeow

    October 19, 2010

    Thanks so much! very nice plugin

    Reply
  34. JustWordpress

    November 13, 2010

    i had some problems too with the css but it can be easily fixed if you have some css skills! thanks for such a great plugin… it should be included in the next wordpress release!

    Reply
  35. Tuan

    November 13, 2010

    This plugin doesn’t work properly on my site. It is always showing 0 of 0 articles. Could you check out my site?

    Reply
    • Grzegorz Krzyminski

      November 16, 2010

      Hello Tuan,

      Your issue is quite unusual. You may notice that the number of posts is correctly displayed only for one category – Blogging Tips.

      Somehow the sql query which is responsible for getting the number of posts in post’s categories fails.

      I understand it happen even if you change a theme for a default one?

      Reply
      • Tuan

        November 16, 2010

        Hi Grzegorz,
        This problem is not unusual, I see it happen on some other blogs too. I switched to the default theme but it couldn’t help.

        Reply
        • Grzegorz Krzyminski

          November 17, 2010

          Tuan,

          The problem is that I don’t know how can I recreate this issue with my WordPress. I may simply need some testing to see what’s the issue exactly.

          I’m wondering would it be possible to take this conversation outside here, and contact me directly via email (you can find it at my website: http://gkrzyminski.pl) and maybe providing me the access to the admin area, where I could test this plugin.

          I will understand if you are not interested with sharing such information. Maybe we could even start from simply displaying ids of post’s categories. At upprev.php you can find the below statement at line #25:

          $catIDs = substr($catIDs,0,-1);

          Could you place the echo before it, so it’s going to look like this:

          echo $catIDs = substr($catIDs,0,-1);

          and save changes. After the upprev box will be displayed it should contain the list of ids for current post.

          Reply
          • Grzegorz Krzyminski

            November 17, 2010

            That list will be displayed somewhere in the footer, not in the upprev box itself.

          • Tuan

            November 17, 2010

            I’ve added the line and contacted you via email. Could you check it out for me?

            Thanks.

  36. Joe

    November 15, 2010

    Hi,

    I love your plugin, how can I also show the_excerpt,
    is there an easy way to do this ?
    regards from La Palma, Canary Islands,Spain

    Joe

    Reply
  37. Albin Sebastian

    November 16, 2010

    Im trying to use this plug-in in my site http://www.binbert.com . but its not working, I have changed my theme also. can you please help me ?

    Reply
    • Grzegorz Krzyminski

      November 16, 2010

      I will try to answer to all questions when I got a chance.. first this one:

      @Albin Sebastian

      upPrev requires wp_footer() function to be called. Currently your theme “Digital Statement” is missing it, so you may need to add it:

      Edit footer.php (wp-content/themes/DS/) >> find the closing tag >> add just before it:

      Or you can simply download a modified file from here: http://gkrzyminski.pl/support/ds-footer_20101116.zip

      Please, make sure to make a copy of the original file in case of reversing changes.

      Reply
  38. Albin Sebastian

    November 17, 2010

    Thank you @Grzegorz Krzyminski

    I just added ” ” in my footer.php

    It is working fine for me

    Reply
  39. Joe

    November 17, 2010

    Hi,
    I spent all day trying to incorporate the_excerpt and also a thumbnail, I got both showing, but they don’t show the_excertp and thumbnail form the next post, but from thre post which is actually showing on the page itself …. any ideas

    regards

    Joe

    Reply
    • Grzegorz Krzyminski

      November 17, 2010

      Joe, have you read my answer to your previous comment?

      You can download this file, and check how it was resolved.

      Reply
      • Grzegorz Krzyminski

        November 17, 2010

        Oh, I’m sorry… now I see that that comment is awaiting moderation… possibly due to external linking.

        Before you call the_excerpt() you need to call these two statements:

        $post = get_post($postIDs[$i]->ID);
        setup_postdata(get_post($postIDs[$i]->ID));

        It’s going to setup post data to the previous post, then you can call the_excerpt();

        After that you switch back to the current post with:

        $post = get_post($upprev_currentPostID); setup_postdata(get_post($upprev_currentPostID));

        I hope it clear up everything.

        Reply
        • Grzegorz Krzyminski

          November 17, 2010

          One more note…

          You should rather use the above code after that line:

          previous_post_link(‘%link’,'%title’, true);

          Reply
      • Joe

        November 18, 2010

        Hi Greg,
        the download link doesnt seem to function

        regards

        Joe

        Reply
        • Grzegorz Krzyminski

          November 18, 2010

          Joe, I guess you are thinking about different link. The suggested one is still awaiting moderation.

          There is some delay with it, so maybe you could write to me directly at my email. You will find it at my website.

          Reply
        • Joe

          November 18, 2010

          HI,

          thank you very much got it to work, I did like this

          previous_post_link(‘%link’,’%title’, true);
          $post = get_post($postIDs[$i]->ID);
          setup_postdata(get_post($postIDs[$i]->ID));
          the_excerpt();

          is that okay ? because i did not put this

          $post = get_post($upprev_currentPostID); setup_postdata(get_post($upprev_currentPostID));

          underneath, because it works great

          best regards from La Palma Canary Islands

          Joe

          Reply
          • Grzegorz Krzyminski

            November 18, 2010

            Yes, it should be ok.

            That second part is simply some secure statement, for other plugins which could be called after upPrev, to set post data back to currently displayed post.

            But if there is everything ok, you don’t need to bother about it.

  40. tim

    November 17, 2010

    Hi:)
    why does it only show test but no thumbnails?
    Cool plug ….

    Reply
  41. Arun WIlson

    November 17, 2010

    I am using this plugin in my blog http://www.cybervally.com. Its working fine. Nice plugin . Thanks to Grzegorz Krzyminski

    Reply
    • Grzegorz Krzyminski

      November 18, 2010

      Glad you like it. One note, we are both with Jason Pelker authors of the plugin.

      Reply
  42. Dave

    November 18, 2010

    Hi. Great plugin! I want to donate!

    QUESTION: how do I incorporate related posts from <a href="http://chipsandtv.com/articles/wordpress-related-posts"this simple related plugin into your plugin? I am not good at programming.

    I just want a simple 4-5 lines of related posts or even adding more lines from similar category. Just having 1 entry by default is rather boring..

    Reply
  43. GT

    November 19, 2010

    Terrific plugin – although I plan to dink around with it a bit for the sole reason that I want the flyin to happen from the bottom left of the screen, not the bottom right – so I’ll edit upprev_js.php and change some of the offset() and animate() calls

    It worked perfectly the minute I instaleld it, and does exactly what it says on the tin. Great stuff.

    Cheers

    GT

    Reply
  44. DiTesco

    December 4, 2010

    Great plugin. Just installed it on my site and would like to know how can I change the “color” of the links. I want it to blend with my sites color scheme. Thanks and BTW, any chance there is a way for the plugin to grab an image from a post and display a thumbnail? That would be awesome. just thinking of giving a tid bit more of liveliness :)

    Reply
  45. Kimberly Castleberry

    December 22, 2010

    I’m also running the wibiya toolbar and the upPrev ends up behind it.

    Simply editing: upprev-nytimes-style-next-post-jquery-animated-fly-in-button/upprev_flyout.css

    #upprev_box {

    Setting:
    bottom:40px;

    Solves this pretty nicely. Would be nice to have an optional setting in the admin area for bottom padding but this works until the next update overwrites it at least, thanks!

    Reply
  46. Oli

    January 7, 2011

    This plugin is not working over on my site http://www.thisisfreelance.com, I really do like the look of this but it’s no use if it is not working!

    Reply
  47. [...] Item-9 Consulting | WordPress Plugin – upPrev: NYTimes Style "Next Post" jQuery Animated B… So nifty. (tags: wordpress plugins) [...]

    Reply
  48. Scott

    January 15, 2011

    Hey, great plug-in! I am a regular NYTimes reader and was planning to write a plugin to do that cool “next up” pop-up. You saved me all the trouble.

    The only problem I ran into was that for page optimization, I load all of my JavaScript at the end of the page rather than in the head element. I modified the plugin settings page to allow the user to specify whether to load the plugin JS in the header or the footer, then modified the PHP accordingly. I’m happy to give you the code to review and incorporate if you like. No worries if not.

    Thanks,
    Scott

    Reply
  49. Dylan

    January 17, 2011

    Love the sleek look of the plugin. Works great. I’m wondering if there’s a way to have it suggest the “next” post rather than the previous one. It seems a little self-defeating if people are reading articles in order. Cheers, nice work :)

    Reply
    • Dylan

      January 17, 2011

      Scratch that comment, my bad. I had my brain on backwards. It does show the next post :)

      Reply
  50. [...] UpPrev. Displays a flyout box with a link to the previous post from the same category when the reader reaches a certain spot in the post.. The idea came from the NY Times and it may become outdated in the future. But currently, I love it. It is less obtrustive than having pop-up ads, yet encourages visitors to stay and read another post. [...]

    Reply
  51. LuigiO

    January 22, 2011

    Hi

    Nice Plugin. but if i check the website speed i see the upprev_js.php have the longest respons time. On our site more then 500ms. on your site >1700ms! :(

    check with FF and YSlow in Firebug -> Components -> js

    best regards
    LuigiO

    Reply
  52. Aryeh

    January 23, 2011

    Hey Guys,
    Love the plugin – how you I make it activate higher up on the scroll bar?
    Thanks,
    Aryeh

    Reply
  53. Richard

    January 23, 2011

    This looks like an amazing plugin but it is not working at all!! it isn’t even displaying… any advice???

    Reply
  54. Dennis

    February 8, 2011

    Sadly this is not working for me at all. Im not getting an error, or anything displayed incorrectly… it simply does nothing.

    Any help would be appreciated!

    Dennis

    Reply
  55. Matt

    February 17, 2011

    Any support for this plugin as it does not work on Tekgoblin.com?

    Reply
  56. Sanford

    February 22, 2011

    Great work guys. Love it.

    Reply
  57. Avinash

    February 22, 2011

    Hey Great Plugin, if there was a way to just get only the next post from the 1st category if a posts is filed under multiple categories ?? and not show the remaining categories in the “More In ,……”

    It would also be a great feature if one could scroll the next and prev posts in the upprev box itself.

    Reply
  58. Artem Russakovskii

    March 2, 2011

    Hey guys,

    I like your plugin, but on a high-traffic site (100K+ daily uniques), unfortunately I had to turn it off. The file upprev_js.php which gets called every time just to pull down some Javascript is not getting cached by wp-super-cache because it’s PHP. It would be a lot better if it generated the .js with the right options when the options were updated, rather than on the fly.

    Thanks.

    Reply
    • Jason Pelker

      March 2, 2011

      Help us by submitting a patch: jason@item-9.com.

      Reply
      • Artem Russakovskii

        March 7, 2011

        While I am a developer, unfortunately, I don’t have time to spend on modifying the plugin, but you are welcome to take a look at WP-Minify – it does something similar with writing a configuration file and has excellent code style overall.

        Reply
  59. Grzegorz Krzyminski

    March 5, 2011

  60. Anil

    March 9, 2011

    Hi, great plugin but it’s not displaying thumbnails at all. When I select that option, everything below the categories disappears. Any ideas on how I might be able to correct this?

    Thanks,
    -Anil

    Reply
    • Grzegorz Krzyminski

      March 14, 2011

      Hello Anil,

      Do you use upPrev with a foxnomad.com or with a different website, because I don’t see a plugin there at all?

      Reply
      • Anil

        March 15, 2011

        I was using it with foxnomad.com but took it down for the time being. I can put it up however if you’d like to look at the effect.

        Thanks,
        -Anil

        Reply
        • Grzegorz Krzyminski

          March 15, 2011

          Yes, I would like to investigate this. Let me know after you enable this. If you wish you can write directly to me via email.

          Reply
  61. Jhay

    March 15, 2011

    I just upgraded to version 1.4.0, but it’s ‘stuck’ at showing the latest post from one category even if the post you’re viewing doesn’t belong to that same category.

    Reply
    • Jay

      March 16, 2011

      Yup – I’m having the same problem – showing posts from an unrelated cat.
      WP 3.1 & Plugin version 1.4

      Reply
    • Grzegorz Krzyminski

      March 18, 2011

      Hello Jhay,

      The problem is, that this issue is related to php and it’s not possible for me to analyse without a direct access.

      Somehow setup_postdata is not retrieving the currently displayed post, but you are getting completely different one.

      hmm…

      I want to check one thing:

      file: upprev.php, line #72 shows: if (is_single()) {
      try to replace it with: if (is_single() && !isset($upprev_currentPostID)) {

      Let me know does it changed anything. I think it can be that.

      Reply
      • Jhay

        March 18, 2011

        I tried what you suggested but it returns with the following error message:

        “Parse error: syntax error, unexpected ‘;’ in /home/jrocas/public_html/wp-content/plugins/upprev-nytimes-style-next-post-jquery-animated-fly-in-button/upprev.php on line 72″

        This is the first I had this kind of error.

        Reply
  62. Jay

    March 19, 2011

    FYI – I too was having the ‘stuck category’ problem and that modified file fixed it.

    Reply
  63. Seth

    March 23, 2011

    Great plugin! We’re using it on some new sites that launch next week. Just going through the process of optimizing the sites now and we’re seeing that the plugin’s .js loads on all pages, not just story pages. Is there a way to set it to load only on single story pages?

    Reply
  64. P Sharma

    April 14, 2011

    Well, I would have loved to put this plugin to action on many of my sites but the wordpress theme I am using is just not showing this plugin in action…I mean, the related posts are not appearing at all. I tried deactivating all other plugins to figure out any plugin incompatibility but no luck.

    I am using “Turn out Mag” WordPress theme. Website is http://www.techpluto.com Any help or suggestion to get this plugin to work would be highly appreciated.

    Thanks.

    Reply
  65. ariff

    May 16, 2011

    Can you update this plugin so that it would not show on my site’s mobile version?

    Reply
  66. Zahid

    May 21, 2011

    This plugin doesn’t work on my site either. I am using Disqus for comments, can that be a reason?

    Reply
  67. M'Lou

    May 25, 2011

    Love this plugin. I’m using in on both of my entertainment sites.

    The only problem I’m having is that most of my articles have an image in the very top with caption text and the plugin is pulling the code from the caption text and displaying that at the excerpt, instead of the actual text from the article. To readers it looks bad – like gibberish. Is there a way to get around this happening? A way for it to skip over grabbing code like that?

    Example page: http://www.mishmashmagazine.com/2011/music/free-mp3-idiot-glee/

    Thanks!

    Reply
  68. Adam

    May 26, 2011

    This plugin is fantastic — thank you!!

    Right now, for a given page, the post that shows upprev is always the same. In other words, different pages have different posts show up in upprev, but if you reload a particular page the same post is always in upprev, and every person who goes to the specific page will see the same post in upprev.

    How can I randomize it, so that different visitors see different things in upprev? What line(s) should I add to the PHP to do it?

    Thanks again!!

    Reply
  69. Adam

    June 8, 2011

    I love this plugin — thank you!!

    One question: How do I display a random post, rather than the next post? Can still keep the requirement that it be in the same category(ies). I’ve experimented with the rand function, but get fatal errors with every attempt.

    Thanks again!

    Reply
    • Adam

      June 8, 2011

      As far as I’ve been able to get is adding this right before the echo “More in” line:
      $i = rand(0,count($posts));

      That manages to randomize the thumbnail (and where you go if you click on the thumbnail), but the post title (and its link) does not randomize, so you usually end up with a mismatch of thumbnail and title.

      I’d really appreciate your help, and I’m sure lots of others would love it if upPrev had a built-in feature to allow you to choose random vs ordered!

      Reply
      • Adam

        June 8, 2011

        Same with changing ” “orderby” => “date”, ” to “rand” instead… just changes the thumbnail, not the title

        Reply
        • Grzegorz Krzyminski

          July 22, 2011

          You can keep your change with orderby, but you need to modify one more thing inside upprev.php:

          At line #50 you can find: previous_post_link(‘%link’,'%title’, true);

          (Below code contains html tags, so I’m not sure is it going to be added here correctly, but it’s very similar to line #48)

          You need to replace it with:
          echo “ID) . “‘>”.$posts[$i]->post_title.”“;

          Reply
          • Grzegorz Krzyminski

            July 22, 2011

            echo “<a href=’” . get_permalink($posts[$i]->ID) . “‘>”.$posts[$i]->post_title.”</a>”;

  70. tinidisco

    July 7, 2011

    Hello,

    Today I update my wordpress 3.1 to 3.2 and this plugin does not work after update
    Can you help for me?
    thanks

    Reply
  71. Cs Orban

    July 8, 2011

    Hello,
    Great plugin, I love it !
    But when I update wordpress 3.1 to 3.2 , after I don’t see animated-button. This pugin working wp 3.2 ?
    thanks
    Csaba

    Reply
    • Grzegorz Krzyminski

      July 22, 2011

      @Cs Orban

      Please, send your WP address. These are single cases, not an overall failure, so there is a need to check your concrete website.

      Reply
  72. finid

    July 14, 2011

    Excellent plugin.

    I’m using it at http://linuxbsdos.com and http://linuxbsdos.com/ask.

    One request: Is it possible to add the ability to show more than one post link?

    Reply
  73. Mark

    July 19, 2011

    Great job on the plugin. If I can just make a suggestion: Ability to turn off Categories.
    Thanks again.

    Reply
    • Grzegorz Krzyminski

      July 22, 2011

      @Mark

      I’m not sure what exactly you want to do. Do you want to exclude some categories from the results, or maybe you want to hide the whole line “More in …”.

      If you want to do the second thing, you can achieve this by modifying upprev.css. You need to add one more attribute to #upprev_box h6, which is display: none;

      #upprev_box h6 {

      display: none;
      }

      Reply
  74. MikeD

    July 23, 2011

    I’m having some difficulties display the pop up. I activated the plug in and in my footer area I get the below message and the pop up won’t appear.

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 82 bytes) in /home/meadmin/public_html/wp-includes/wp-db.php on line 1405

    Here’s the link to one of my post pages: http://bit.ly/nj0jX0

    Thanks in advance!

    Reply
  75. MikeD

    August 5, 2011

    Someone, Anyone?

    Reply
  76. Rocky

    August 5, 2011

    Love this plugin and am using it on my site.

    So far, I will be using it with my own content.

    My website needs to be read in chronological order, so a link to a previous post is not desired. I am not a coder, but I tried to play around with the plugin code to change it to display the next (newer) post, with minimal success. Not really knowing what I was doing, I was able to change the code so that the title of the next (newer) post display, but the thumbnail image and excerpt were not from the correct post.

    Reply
    • Rocky

      August 5, 2011

      Oh, it would also be nice if the plugin ignored short code.

      Thanks for your work!

      Reply
  77. ivan

    August 13, 2011

    In this theme is not working plugin((
    http://www.theme-junkie.com/themes/channel/

    Reply
  78. MaggieB

    August 15, 2011

    I saw this on several sites and have been hunting for it…stumbled across it today!
    I really love it! However, while it shows up fine on my PC it does not work on my iPad.
    Is it Flash driven that it disappears? Any ideas? A large majority of my audience access the site through iOS devices so I am always cognizant of how it looks to them.

    Thanks!
    Maggie

    Reply
    • Jason Pelker

      September 3, 2011

      Nope, it’s not flash. It’s going to be tricky on mobile devices–sorry!

      Reply
      • MaggieB

        September 17, 2011

        No need to apologize… just glad I stumbled upon it!
        As to the other plugin using the name of yours… some nice options, but don’t like that he is piggybacking… so I’ll stick with yours!
        Thx for a nice plugin!
        ~Maggie

        Reply
  79. Marcin

    September 10, 2011

    Improved version: http://wordpress.org/extend/plugins/upprev/ much more options. Cotrol margins; custom type posts. Prefix & sufix for ulrs (tracking).

    Reply
    • Jason Pelker

      September 16, 2011

      We should probably combine code + downloads. There’s no reason to carry two of the same plugin on the repository.

      Reply
      • MaggieB

        September 16, 2011

        Should we watch for our WP backend to say there is an upgrade available?

        Thx!

        Reply
    • Jason Pelker

      September 16, 2011

      If you don’t want to combine codes, though, you need to change the name of your plugin.

      Although you’re free to borrow and reuse code, you can’t take an open-source product’s name; it’s a clear copyright violation.

      Reply
  80. Marcin

    September 17, 2011

    If you want, I will add You to upPrev as a autors, to give You a ability to change and commit. I don’t take a name, only a part of name. “upPrev” is based on “upPrev: NYTimes Style “Next Post” and have theire code, but I think we don’t need any combine. Downloads is supported by wordpress.org and I don’t offer any other place to download.

    Reply
    • Grzegorz Krzyminski

      September 17, 2011

      Marcin wrote: “I don’t take a name, only a part of name. “upPrev” is based on “upPrev: NYTimes Style “Next Post””

      You didn’t take just a part of the name.. you took the most important part of it.. the one which make this plugin unique.. the part which can easily distinguish this plugin from others. With such politic you are providing misleading information to every single user.. when the first time I saw some post, I thought that Jason changed repository, but not, it wasn’t that.. someone simply thought – why not to use the popularity of a current plugin and create an extended copy of it, with a shorter name.. shortened to the word, which is generally meaningless, and it was created for the purpose of a plugin.. why didn’t you choose a NYTimes word? Everything what stands after the upPrev is rather a description, than the name itself.

      I would say that upPrev has nothing special. At many different websites supported by many different CMS you can find similar functionality. I guess upPrev was the first solution which tried to mimic that functionality in WordPress, and I guess it’s quite popular right now, but I think the popularity didn’t come just like that. It was some time ago, but I remember, that after launching it, information appeared at many different sources. I think Jason put some hard work to popularize it.

      Currently someone (you) appeared, revised the code and added some extra options, took the most important part of the name, and he think everything is all right. No, it’s not… from one simple reason – the name. upPrev will remain upPrev.. currently it doesn’t matter what description you will add, people remember it as upPrev.

      I don’t know.. maybe we should wait until one from your solution become really popular? I hope that the name won’t be a single word.. then we gonna shorten it to the most unique one, we will add few more features, and we are going to advertise it on every page where we can find your comments. How are you going to feel?

      You should think about that.

      Reply
    • Jason Pelker

      September 17, 2011

      Here are our best options:

      a) We give you access to the original plugin. You can update anything you want and add your name to the authors (feel free to place your name first).

      You then remove your plugin from the repository. First, you may want to tell your users your plugin is being discontinued, though, and point to the original plugin as the future product.

      b) Change the name of your plugin. PrevUp? Or preferably, something else entirely?

      c) Merge the two plugins. I don’t know how this is done within the repository, but if there’s a way, it’s probably the best solution.

      More information on forking: Wikipedia – Forking Open Source Software.

      Next time you want to contribute to a plugin, just ask. Rarely will an open-source project tell you “no”. Forking is generally seen as a waste of time and energy. It only makes sense when the developers are MIA.

      No hard feelings, though. Let’s get this issue solved quickly and happily for everyone.

      Reply
  81. luchosar

    November 28, 2011

    Ideas for next version:
    1 – option to omit the category appears
    2 – Option to write text as : this interests you …
    2 – The color of the title

    Thanks, great job!

    Reply
  82. James Wiese

    December 29, 2011

    Dear Sirs:

    I, too, have noticed and appreciated the NYT flyout, and it is good to see something similar available. My question: Can this be implemented on a regular website, i.e. not a WordPress blog?

    Thanks! James Wiese

    Reply
  83. Lord Tuetanus

    January 1, 2012

    I doesnt work, I simple dunno why, Installed all set and… nothing I started using SimpleReach Slide but I really prefer yours.

    Im using wp3.3 and its the first plug in I try that do not work

    Reply
  84. theComplex

    January 15, 2012

    I love this plugin but is there any way to stop it from functioning on my mobile site? It covers content and readers are complaining.

    Reply
  85. Grace

    January 29, 2012

    I installed the plug in and it is absolutely gorgeous and does exactly what it’s supposed to do. There is one small problem, however, posts in some of my categories will not display when you click on them individually, you just get a blank page. When I deactivate the plug in the problem resolves itself.

    I would really like to use your plug in but can’t as long as this problem continues. Any help would be greatly appreciated.

    Thanks!

    Reply

Leave a Comment