Taxonomy Filter and Loop Grid #23703
orcen
announced in
Developers Community
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
By using a Taxonomy Filter and "Infinite Scroll" or "Load More Button" by Loop Grid, the Filter is not used for the URL of next page.
There is a light fix on those two lines by adding "!== false" in the condition
wp-content/plugins/elementor-pro/modules/posts/widgets/posts-base.php:707
if ( strpos( $param_key, 'e-filter' ) !== false ) { $e_filters .= '&' . $param_key . '=' . $param_value; }\ElementorPro\Modules\Posts\Widgets\Posts_Base::c642
if ( ! $this->is_rest_request() && $this->current_url_contains_taxonomy_filter() !== false && ! is_preview() ) { $url = $this->get_wp_link_page_url_for_normal_page_load( $url ); }All reactions