Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
December 28, 2023 at 9:56 am in reply to: Input Search Field Won't Focus After Click Magnifying Glass #46459Ernest Marcinko
KeymasterHi Dan,
I see an error in the console, maybe it is related, but instead of the current code, try this:
add_action('wp_footer', 'asp_footer_custom_script', 999999); function asp_footer_custom_script() { ?> <script> jQuery(function($){ $('header .fa-search').on('click touchstart', function(){ setTimeout(function(){ let input = $('.dialog-widget-content .asp_m input.orig').get(0); input.focus(); input.setSelectionRange(0, 9999); }, 250); }); }); </script> <?php }Ernest Marcinko
KeymasterHi,
The search performance usually is on par with the back-end server performance, but there are a few possilbe configuration changes to make the server response better.
Generally if you have a lot of data with a bigger database, I highly recommend using the index table engine for much faster lookups.
Ernest Marcinko
KeymasterHi,
Is this on the search results page?
That is controlled by your theme, the plugin can’t change the length of the content there. Try checking the theme settings, usually there is an option to change the generated excerpt lenghts on the results page from the default to something shorter.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
December 21, 2023 at 3:46 pm in reply to: Settings are common for search instances in Multisite #46435Ernest Marcinko
KeymasterYou are welcome.
If you only want to change it, you can do it on the back-end here. In case you are using WPML or Polylang then you can also translate every front-end component via the string translations.
Also, if you prefer to change it programmatically, you can use the asp_icl_t hook.
Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts