Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Masonry Pagination #563463

    Hi, I have the same problem. It’s just in the front page, in any subpage the pagination works fine.

    I’ve found a temporary workaround editing the enfold/config-templatebuilder/avia-shortcodes/blog.php file. I’ve added these lines starting from line 322, before the “return $output;”

    if ( is_front_page() ) {
    	$output = preg_replace("/\?page=([0-9]+)/", "", $output);
    	$output = preg_replace("/page\/([0-9]+)\//", "?page=$1", $output);
    }

    This code replace the standard pagination /page/{n}/ with ?page={n} wich seems to work perfectly.

    I hope you’ll find a stable solution for this problem.
    Regards

Viewing 1 post (of 1 total)