ordo273
Forum Replies Created
-
Forum: Plugins
In reply to: [GenerateBlocks] Pagination pages not updating on modified QueryHey David,
thank you very much. Indeed that setting was the problem!Forum: Plugins
In reply to: [GenerateBlocks] Pagination pages not updating on modified QueryHey David,
You are correct that the linked page is an architect and the parameter is set son inherit the query from the template. But it is still changed later. The inheriting is set, that the pages are paginated with “/page/zx” and not as query parameters with the additional query-id string attachment.
regards
kelvin
Forum: Plugins
In reply to: [GenerateBlocks] Pagination pages not updating on modified QueryHey ying,
thank you for the suggestion. Unfortunatly I already tried adding it to just the container; just the buttons and both with no success.Forum: Plugins
In reply to: [GenerateBlocks] Pagination pages not updating on modified QueryHi David,
thank you for the quick reply! I’ve added the calls to each button and the button container. But it still does not work unfortunately. Shortend code:add_filter( 'generateblocks_query_loop_args', function( $query_args, $attributes ) {
global $my_query_filters;
global $my_query_search;
$meta_query = array(
'relation' => 'AND',
);
$tax_query = array(
'relation' => 'AND',
);
if ( ! is_admin() && ! empty( $attributes['className'] ) && strpos( $attributes['className'], 'booklist' ) !== false ) {
[...] //do stuff
$query_args['posts_per_page'] = 40;
$query_args['tax_query'] = $tax_query;
$query_args['meta_query'] = $meta_query;
$query_args['post_status'] = 'publish';
$query_args['meta_key'] = 'date';
$query_args['orderby'] = 'meta_value';
return $query_args;
}, 10, 2 );
Please disregard, it was a unlucky combination with forminator.
Heyya,
thank you very much for the quick response!
I indeed just used the example code without thinking about the example beeing a special case. The function only having one parameter (which works because it is the default value…). Yeah, should have been able to solve it myself. Thank you for clearing up my confusion!
Best regards
Kelvin
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Relevanssi breaks a custom WP_QueryI had a simmilar problem with a custom query and adding
relevanssi
did thankfully fix it for me.
Thank you very much.