Skip to content

Commit

Permalink
Merge pull request #9 from contactashish13/issue-267
Browse files Browse the repository at this point in the history
pagination not working on Home page
  • Loading branch information
rodica-andronache authored Jul 4, 2018
2 parents 4169cc5 + 2d4cba7 commit 3909bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widgets/elementor/posts-grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -1422,7 +1422,7 @@ protected function render() {

// Pagination.
if ( ! empty( $settings['grid_pagination'] ) ) {
$paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
$paged = get_query_var( 'page', 1 );
$args['paged'] = $paged;
}

Expand Down

0 comments on commit 3909bb7

Please sign in to comment.