Adrian Waterhouse
Forum Replies Created
-
Forum: Plugins
In reply to: [Quick Event Manager] Plugin interfering with queries of other pluginsHello, just checking in to see if you’d had chance to evaluate my suggested fix above, at the moment I’m having to manually reinsert the fix every time I make an update.
Forum: Plugins
In reply to: [Quick Event Manager] Plugin interfering with queries of other pluginsOK I think what is happening is, that if there are existing/other custom post types besides your ‘events’ then qem_add_custom_types is simply removing them because it’s just setting to post,event,nav_menu_item, what I think you need to do is merge in your custom types into the query, with something like; this certainly made a difference with my local dev version.
function qem_add_custom_types( $query ) {
if ( !is_admin() && $query->is_category() || $query->is_tag() && $query->is_main_query() ) {
$new_types = array('post', 'event', 'nav_menu_item');
$post_types = $query->get('post_type');
if(!is_array($post_types) && !empty($post_types)){
$post_types = explode(',', $post_types);
}
if(empty($post_types)){
$post_types[] = 'post';
}
$post_types = array_unique(array_merge($new_types, $post_types));
$query->set('post_type', $post_types);
return $query;
}
}Forum: Plugins
In reply to: [Quick Event Manager] Plugin interfering with queries of other pluginsYes I understand only supporting paid users, I think I’ve spotted the problem with qem_add_custom_types , I’ll check this out on my dev server and report back…
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Elementorsorry I thought it was initially working but then discovered a colleague had disabled the plugin
I’ve ended up adding some jquery to remove the hidden input field from the elementor widget
$('input[name="e_search_props"]').remove();I suspect the field is something to due with query caching for their live search field,
- This reply was modified 1 year, 6 months ago by Adrian Waterhouse.
- This reply was modified 1 year, 6 months ago by Adrian Waterhouse.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] ElementorDid you get anywhere with Elementor about this? I’ve noticed that it part of the the search form widget, it is stopping the search results from working correctly, ie if I manually remove from the query string the search works perfectly
Forum: Plugins
In reply to: [Quick Event Manager] Plugin interfering with queries of other pluginsI’ve managed to do a work around on our clients website by ‘inverting’ the loop grid query as it seems to be the include by term that your plugin seems to break, not the exclude by term.
Forum: Plugins
In reply to: [Quick Event Manager] Plugin interfering with queries of other pluginswhat does;
qem_add_custom_types
qem_admin_edit_table_orderDo? as these seem to be breaking the query based on categories
Forum: Plugins
In reply to: [Quick Event Manager] Plugin interfering with queries of other pluginsHello, the plugin we using for loop grids which you seem to be in conflict with it the unlimited elements plugin.
The site passes all the health checks, what I’m finding difficult to is how you are conflicting with a simple query, but as soon as I disable your plugin everything starts working again.
Is there somewhere I can take this private, as there some things I don;t want to share on a public forum