WordPress.org

Ready to get started?Download WordPress

Forums

upPrev Previous Post Animated Notification
[resolved] upPrev 1.4.0 - wrong post from incorrect catego (2 posts)

  1. Grzegorz Krzyminski
    Member
    Plugin Contributor

    Posted 3 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
    Member
    Posted 3 years ago #

    Yes! Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic