Home Forums Theme support Planco Theme Pagination is not working Reply To: Planco Theme Pagination is not working

Hi,

sorry for this, but its not the fault of the theme. WordPress replace all “&” signs in the WordPress installation with UTF8 Coding into “#038;”, thats why also the pagination is not working.

For this, you have those links in your pagination:

http://itlucent.com/demo/creagestal/?page_id=3425#038;paged=2

instead of this:

http://itlucent.com/demo/creagestal/?page_id=3425&paged=2

To fix the problem, please open the file functions.php in the theme and add this at the end of the file:

function sl_fix_pagination( $args ){
    $args = str_replace('#038;', '&', $args);
    return $args;
    }
add_filter( 'paginate_links', 'sl_fix_pagination', 1 );