Title: cure85's Replies | WordPress.org

---

# cure85

  [  ](https://wordpress.org/support/users/cure85/)

 *   [Profile](https://wordpress.org/support/users/cure85/)
 *   [Topics Started](https://wordpress.org/support/users/cure85/topics/)
 *   [Replies Created](https://wordpress.org/support/users/cure85/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/cure85/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/cure85/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/cure85/engagements/)
 *   [Favorites](https://wordpress.org/support/users/cure85/favorites/)

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Cronjob Scheduler] UTC / Local Time (glitch?)](https://wordpress.org/support/topic/utc-local-time-glitch/)
 *  [cure85](https://wordpress.org/support/users/cure85/)
 * (@cure85)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/utc-local-time-glitch/#post-9244593)
 * 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 9 years, 1 month ago by [cure85](https://wordpress.org/support/users/cure85/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery by FooGallery : Responsive Image Gallery, Masonry Gallery & Carousel] Media Update – Not working](https://wordpress.org/support/topic/media-update-not-working/)
 *  Thread Starter [cure85](https://wordpress.org/support/users/cure85/)
 * (@cure85)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/media-update-not-working/#post-7549288)
 * 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 here](http://i.imgur.com/45dpzlo.png)
 * But doesn’t work if you are on list view and edit [like here](http://imgur.com/mUy312T)
 * We have tested also this with all plugins dissabled except FooGallery
 * Is there anything else which we can do to debug?
 * Best regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] Search returns all posts when searched for domain name ex. (google.com)](https://wordpress.org/support/topic/search-returns-all-posts-when-searched-for-domain-name-ex-googlecom/)
 *  Thread Starter [cure85](https://wordpress.org/support/users/cure85/)
 * (@cure85)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/search-returns-all-posts-when-searched-for-domain-name-ex-googlecom/#post-7545941)
 * 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 regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] Search returns all posts when searched for domain name ex. (google.com)](https://wordpress.org/support/topic/search-returns-all-posts-when-searched-for-domain-name-ex-googlecom/)
 *  Thread Starter [cure85](https://wordpress.org/support/users/cure85/)
 * (@cure85)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/search-returns-all-posts-when-searched-for-domain-name-ex-googlecom/#post-7545912)
 * Hi 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](http://i.imgur.com/IGHFFBS.png)
 * 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](http://i.imgur.com/sudMIQB.png)
 * Thanks for the help.
    Best regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] Search returns all posts when searched for domain name ex. (google.com)](https://wordpress.org/support/topic/search-returns-all-posts-when-searched-for-domain-name-ex-googlecom/)
 *  Thread Starter [cure85](https://wordpress.org/support/users/cure85/)
 * (@cure85)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/search-returns-all-posts-when-searched-for-domain-name-ex-googlecom/#post-7545849)
 * Hi 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/](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: [http://dev.shoptrust.ch/zertifizierte-shoptrust-shops-finden/](http://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](http://i.imgur.com/sudMIQB.png)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Pagination and Infinite Scroll] 'load more' only fires once](https://wordpress.org/support/topic/load-more-only-fires-once/)
 *  [cure85](https://wordpress.org/support/users/cure85/)
 * (@cure85)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/load-more-only-fires-once/#post-7400143)
 * [@malinkymedia](https://wordpress.org/support/users/malinkymedia/) Thank you.
 * It works now with new version v1.3.0
 * Thanks for the fast support
 * Best regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Pagination and Infinite Scroll] 'load more' only fires once](https://wordpress.org/support/topic/load-more-only-fires-once/)
 *  [cure85](https://wordpress.org/support/users/cure85/)
 * (@cure85)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/load-more-only-fires-once/#post-7400132)
 * Hmmm, I have replaced the plugin.
 * But I will get it now back for you to check.
 * It will be there till tomorrow morning.
 * [http://dev.shoptrust.ch/zertifizierte-shoptrust-shops-finden/](http://dev.shoptrust.ch/zertifizierte-shoptrust-shops-finden/)
 * Best regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Pagination and Infinite Scroll] 'load more' only fires once](https://wordpress.org/support/topic/load-more-only-fires-once/)
 *  [cure85](https://wordpress.org/support/users/cure85/)
 * (@cure85)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/load-more-only-fires-once/#post-7400124)
 * Hi,
 * I’m having the same problem, but I can not debug why. Normal pagination works
   ok, but Infinite scroll fires only 1 time.
 * [http://dev.shoptrust.ch/zertifizierte-shoptrust-shops-finden/](http://dev.shoptrust.ch/zertifizierte-shoptrust-shops-finden/)
 * These are the settings: [http://i.imgur.com/tXAVz4D.png](http://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,

Viewing 8 replies - 1 through 8 (of 8 total)