Viewing 5 replies - 1 through 5 (of 5 total)
  • It looks like you need to change a couple of things in the code.

    On line 191 and 194 in the wpc-catalogue.php file change

    $page_id

    to

    $post->ID

    If you are able, please give it a try and let us know how it goes. This can then be added in a future update.

    Thanks

    Thread Starter johnnygt

    (@johnnygt)

    Almost works. Now when you press Belts, Page 2 it brings you to the actual product page of the last product of the 1st page.

    Sorry if that sounds confusing.

    Try it out, go to Belts, then press page 2 at the bottom.

    https://bit.ly/1fboMle

    Thanks!

    Hi johnnygt,

    On line 189 and 196 in the wpc-catalogue.php file change

    if($term_slug==$slug){
    
    						  $return_string .= '<a href="?wpccategories='. $term_slug .'=&paged='. $p .'" class="pagination-number" '. $cpage .'">'. $p .'</a>';
    						  }
    					  else{
    						  $return_string .=    '<a href="?wpccategories='. $term_slug .'=&paged='. $p .'" class="pagination-number">'. $p .'</a>';
    						  }
    					  } // end is_home condition
    Thread Starter johnnygt

    (@johnnygt)

    Thank you so much! It works perfectly!

    I noticed, however, if you enter the shortcode [wp-catalog] on a new page, the pagination work badly, but once clicked a category all works. it would take the help of staff development ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Pagination Issue’ is closed to new replies.