cure85
Forum Replies Created
-
Forum: Plugins
In reply to: [Cronjob Scheduler] UTC / Local Time (glitch?)Yup, same problem
Glitch is in the cronjob-scheduler.php on line: 15// set timezone based on WordPress timezone settings if($sOption = get_option('timezone_string')) { date_default_timezone_set($sOption); }
Workaround: Just disable this set datetime zone function
- This reply was modified 7 years, 8 months ago by cure85.
Hi,
We have disabled all plugins except Foogallery 1.2.13.
Also, to be 100% sure, we have switched to default WP theme “Twenty Fiftheen”
We are still not able to update Media.
PHP version is 5.6.16
One interesting this is:
Update works if Media is in Gallery view and then edit (some ajax handler): like hereBut doesn’t work if you are on list view and edit like here
We have tested also this with all plugins dissabled except FooGallery
Is there anything else which we can do to debug?
Best regards
Hi Mikko,
I have changed the parameter to ‘relevance’.
And set operator:$query->query_vars['operator'] = 'and';
with no luck.
I’ll try to see if something else is affecting my search results, as you say.
In any case
Thank you for the help, and fast response
Best regardsHi Mikko,
As I said before: This can be tested in any ADMIN SEARCH (Data grid -> right corner) on any theme, on any post or post type. see
Just one note, Wp Core search works ok. If a I search for example ‘felbo.com’ I get 1 result back.
Here is the code which I use on front only.
<?php $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1; $sort = filter_input(INPUT_GET, 'sort'); $certificate_type = filter_input(INPUT_GET, 'certificate_type'); $shop_search = filter_input(INPUT_GET, 'shop_search'); $query_args = array( 'posts_per_page' => 6, 'post_type' => 'webshop', 'orderby' => 'title', 'order' => 'ASC', 'paged' => $paged, 'meta_query' => array() ); if($sort) { $query_args['order'] = $sort; }else{ $query_args['orderby'] = 'relevanssi'; $query_args['order'] = ''; } if($certificate_type) { $query_args['meta_query'] = array( array( 'key' => 'webshop_certificate', 'value' => $certificate_type, 'compare' => '=' ) ); } $query = new WP_Query( $query_args ); if(function_exists('relevanssi_do_query') && $shop_search) { $query->query_vars['s'] = $shop_search; $query->query_vars['posts_per_page'] = 6; relevanssi_do_query($query); } ?>
As I said this is acceptable for us now. Relevanssi gets us what we need exactly on 1st place and after he gets variations of [words].
In other words he works like [OR] is enabled, but it is not. [AND] is enabled and [FALLBACK TO OR] is also disabled.Relevanssi configuration see
Thanks for the help.
Best regardsHi Mikko,
Thanks for the answers.
Search is powered by relevanssi, I only use a custom parameter “shop_search” and a custom WP_Query which I pass to relevanssi to search only specific post types “webshop”. Docs: https://www.relevanssi.com/knowledge-base/relevanssi_do_query/
You can also check this in Admin grid when you try to search for posts. This option can be enabled from Relevanssi settings. This can be tested in any WordPress installation.
Yes I use AND search.
My problem was in that I don’t get a result on TOP 1 position which has exactly “google.com” and then after to have every variation of words.
This problem I have fixed by setting “orderby” parameter in WP_Query to value “relevassi”. It now works.If you can go here again: https://dev.shoptrust.ch/zertifizierte-shoptrust-shops-finden/
1. Try searching “felbo” – you will get 1 result and it will be “felbo.ch”
2. Try searching “felbo.ch” – You will get all the results which contain “ch” (which is every webshop in this project)Please check the current settings
Forum: Plugins
In reply to: [Ajax Pagination and Infinite Scroll] 'load more' only fires once@malinkymedia Thank you.
It works now with new version v1.3.0
Thanks for the fast support
Best regards
Forum: Plugins
In reply to: [Ajax Pagination and Infinite Scroll] 'load more' only fires onceHmmm, I have replaced the plugin.
But I will get it now back for you to check.
It will be there till tomorrow morning.
https://dev.shoptrust.ch/zertifizierte-shoptrust-shops-finden/
Best regards
Forum: Plugins
In reply to: [Ajax Pagination and Infinite Scroll] 'load more' only fires onceHi,
I’m having the same problem, but I can not debug why. Normal pagination works ok, but Infinite scroll fires only 1 time.
https://dev.shoptrust.ch/zertifizierte-shoptrust-shops-finden/
These are the settings: https://i.imgur.com/tXAVz4D.png
There are total 4 pages which need to be fired. And they work and are visible in normal pagination
Thanks for checking this out,