Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search Pro Setting Questions
- This topic has 5 replies, 2 voices, and was last updated 4 years, 1 month ago by
Ernest Marcinko.
-
AuthorPosts
-
May 3, 2022 at 6:02 pm #37708
TeamCada
ParticipantSFTP access above
!. Search Box: I can’t seem to put multiple words in it.
3. Custom Fields Issue on ‘diamond’ search, page 2, pulling all of the boxes in from the Contact Us page only when you go to the search page not the Ajax drop down that pull the custom field data like expected. So for example if you type diamond and then press enter the page it take you to pulls in the contact page content from the WP backend first instead of the custom filed content first.
4. Homepage Yo issue – I used ‘paper’ as a search term and it shows up in the ‘vertical’ search results (dropdown from the search field), and then on the actual search page. I have not idea where this is coming from .
May 4, 2022 at 2:33 pm #37715Ernest Marcinko
KeymasterHi,
3. That can not be affected by the plugin unfortuantely, that is a theme feature. The content is requested and printed by the theme. Usually they display the excerpt and the content fields.
4. Some part of the page contains this keyword – very likely only in the databse (it can be a custom field etc..). If you don’t want that as a result, you can of course exclude it.
May 4, 2022 at 2:43 pm #37717TeamCada
ParticipantThank you!
Do you know why we can only enter one word in the search box?
1. Search Box: I can’t seem to put multiple words in it.
May 4, 2022 at 2:51 pm #37718Ernest Marcinko
Keymaster1. Sorry, I forgot this one. It is caused by this script: https://diamondchain.com/wp-content/themes/TheDiamondChainCompany/assets/js/foundation.js?ver=6.2
There is an event listener for the “keydown” event which cancels the “space” key. The best solution would be to remove or edit that conflicting code, as it is directly casuing the issue.You can also try a custom code to prevent that, although I can not promise it will work.
Try adding this code 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_action('wp_footer', 'asp_add_footer_script', 99999); function asp_add_footer_script() { ?> <script> (function($){ setTimeout(function(){ $('li.menu-item').off('keydown'); }, 200); }(jQuery)) </script> <?php }May 4, 2022 at 2:58 pm #37719TeamCada
ParticipantThat worked, thank you!
May 5, 2022 at 12:29 pm #37722Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts
- You must be logged in to reply to this topic.