Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterGreat!
Oh I didn’t realize there was another search bar. In that case I see you are trying to make a custom results page via this tutorial.
From the page source it seems that the element type is incorrect, make sure to use the Posts widget and not the Archive posts widget.
I also advice agains using the “load more” feature if you notice any weirdness with it. Elementor may not be happy about trying to override the posts, however the pagination should still work just fine.Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterHi Johnny,
Thank you very much for the details!
I logged in to quickly check, and the server reported a “too long URL” issue, which was caused by some unused filters. I have cleared these from the frontend search settings panel, and now those query parameteres are no longer present in the pagination link (it made it shorter).
Now clicking on any of the pages should be all right.August 10, 2023 at 2:55 pm in reply to: Ajax Search Pro for WordPress need help for our real estate website #45039Ernest Marcinko
KeymasterRange values will not work that way, dropdowns are comparing for ranges, but for individual values. For that you should try creating two separate drop-downs, one for the “from” and the other for the “to” price, and set numeric operators.
There is also a “number range” filter type, which allows inputting only numeric values: https://i.imgur.com/qNfThgd.png
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterGreat to hear!
Sure, in your case you will have to change that in the index table options and then re-index. So make sure to only select the PDF file content mime types, then only those files will be indexed and searchable: https://i.imgur.com/oE0wROA.png
Save & Re-index, that will do the trick.August 10, 2023 at 1:39 pm in reply to: All my indices are gone after auto-updating WP core files #45035Ernest Marcinko
KeymasterYou cannot access this content.
August 9, 2023 at 10:30 pm in reply to: Ajax Search Pro for WordPress need help for our real estate website #45022Ernest Marcinko
KeymasterSure!
The drop-downs are designed for text inputs, but you can probably get around it by manually entering the values with the formatting like so:
||Select** 1000||$1,000 10000||$10,000 100000||$100,000Ernest Marcinko
KeymasterYou cannot access this content.
August 9, 2023 at 10:12 pm in reply to: All my indices are gone after auto-updating WP core files #45020Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterAt the moment only partially, but you can change which type should show first here: https://i.imgur.com/gukB30i.png
August 9, 2023 at 9:55 pm in reply to: Can Search adhere to menu visibility rules or some other visibility logic? #45017Ernest Marcinko
KeymasterThanks! That helps a lot. Based on their API I have made a custom code, which may do the trick. Unfortunately I have not been able to test it yet.
Try adding this code via the Code Snippets plugin or to the functions.php file in your theme/child theme directory – make sure to have a full server back-up first for safety. For more details you can check the safe coding guidelines.
add_filter('asp_results', 'asp_results_remove_restricted_woo', 10, 1); function asp_results_remove_restricted_woo($results) { foreach ( $results as $k => &$r ) { if ( isset($r->post_type) && $r->post_type == 'product' ) { if ( !WC_Catalog_Restrictions_Filters::instance()->user_can_view_price( wc_get_product($r->id) ) ) { unset($results[$k]); } } } return $results; }Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts