Support » Plugin: upPrev » Using Upprev on a front page with latest posts?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Marcin Pietrzak

    (@iworks)

    Change line 67 to this:

    Index: upprev.php
    ===================================================================
    --- upprev.php  (revision 695114)
    +++ upprev.php  (working copy)
    @@ -67,7 +67,7 @@
    
     function iworks_upprev_check()
     {
    -    if ( !is_single() && !is_page() ) {
    +    if ( !is_single() && !is_page() && !is_front_page() ) {
             return true;
         }
         /**

    Thanks for the Quick reply

    Which file should I edit?

    upprev.php?

    And should I add all 13 lines of code to the current line 67 ( */) and overwrite it or paste in front or after

    Thanks, I’m a novice at this so want to make sure I make no mistakes 🙂

    Plugin Author Marcin Pietrzak

    (@iworks)

    I’m sorry.

    Just replace line 67 in upprev.php file.

    from:

    if ( !is_single() && !is_page() ) {

    to:

    if ( !is_single() && !is_page() && !is_front_page() ) {

    Thanks so much – That worked perfectly

    SARed

    (@sared)

    This fix no longer works after updating to version 3.3.16

    Can you please advise how I should edit the new upprev.php file to enable upprev on my frontpage

    Thanks in advance 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Using Upprev on a front page with latest posts?’ is closed to new replies.