upPrev — Next Post Slide-in Box
[resolved] [Plugin: upPrev Previous Post Animated Notification] upPrev 1.4.0 - wrong post from incorrect catego (2 posts)

  1. Grzegorz Krzyminski
    Plugin Contributor

    Posted 5 years ago #

    Solution for those who have a problem with displaying wrong post from incorrect categories (not the same which currently displayed post belongs):

    Modify file upprev.php, line #72, which look like this:
    if (is_single()) {
    and replace it with:
    if (is_single() && !isset($upprev_currentPostID)) {

    The modified file can be also downloaded from: http://gkrzyminski.pl/support/upprev-current-id.zip

  2. Curtis4
    Posted 5 years ago #

    Yes! Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic