Karan
Forum Replies Created
-
Forum: Plugins
In reply to: [SearchWP Modal Search Form] Form not apperingHi @alanp57
I tested the search on your site and noticed a JavaScript syntax error that might be preventing the Search Modal Form from functioning properly. Please see this screenshot: https://a.supportally.com/i/2Ed4oa.I suggest fixing this error first to see if it resolves the modal functionality issue.
Forum: Plugins
In reply to: [SearchWP Modal Search Form] Nav menu icon – how to trigger and simple CSSHi @hebhansen,
Thanks for sharing additional detail about the issue you’re experiencing.I’ve tried testing the custom solution you’ve implemented for displaying icon in Modal block on a default TT4 FSE theme, but I wasn’t able to fully replicate the issue with the
<br/>
tag that you mentioned. Please see this screenshot.That said, sometimes the layout can be broken by how different themes or plugins handle inline elements, so it could be a theme-specific configuration that’s causing the unwanted line break in your case.
You can try using the following CSS to hide the tag and reduce the width of the container around the icon to prevent the layout from shifting:
a.searchwp-modal-form-trigger-el {
max-width: 20px;
}
a.searchwp-modal-form-trigger-el br {
display: none;
}Hopefully this should help fix your problem.
We also appreciate your feedback on improving the plugin’s documentation and code, including the suggestion to add an icon field and enhance compatibility with FSE themes.
Our development team will take your input into consideration when adding new features for the plugin.Forum: Plugins
In reply to: [SearchWP Modal Search Form] Nav menu icon – how to trigger and simple CSSHi @hebhansen,
You can add the custom shortcode function to your theme’s functions.php file or use a code snippet plugin. Once implemented, you can display the search icon by using the following shortcode.[searchwp_custom_modal_shortcode]
In order to fix the menu icon alignment, you may need to apply custom CSS to ensure it displays correctly with your TT4 theme.
We also appreciate your suggestion about including an option within the Modal Form settings to add an icon without using shortcodes. Our development team will consider this for future updates to improve the plugin.
Forum: Plugins
In reply to: [SearchWP Live Ajax Search] Translatepress supportHi @bing4 ,
SearchWP is not compatible with TranslatePress.
For multi-language search, you can consider using WPML or Polylang, both of which have compatible SearchWP extensions:
WPML: https://searchwp.com/extensions/wpml-integration/
Polylang: https://searchwp.com/extensions/polylang-integration/Forum: Plugins
In reply to: [SearchWP Live Ajax Search] Limit search queries attemptsHi @bing4 ,
SearchWP doesn’t have built-in functionality to limit search query attempts.If you’re receiving a lot of spam queries from bots, you may consider using anti-spam plugins for search or blocking IP access at the server level.
Forum: Plugins
In reply to: [SearchWP Modal Search Form] Nav menu icon – how to trigger and simple CSSHi @hebhansen,
I’m glad to hear you found a solution for editing custom styling and triggering the modal form with an icon.Just so you know, it’s also possible to trigger the modal form through an icon using a custom shortcode.
If you need any other help from us, you can let us know.
Forum: Plugins
In reply to: [SearchWP Live Ajax Search] Search results emptyHi?@elancerteam,
We haven’t heard back from you in a few days, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.
Thanks!
Forum: Plugins
In reply to: [SearchWP Live Ajax Search] Translation doesn’t workHi @eldar888,
We haven’t heard back from you in a few days, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.
Thanks!
Forum: Plugins
In reply to: [SearchWP Live Ajax Search] Search only by post titlesHi @idiatulla,
If you have the paid version of the SearchWP plugin, you can configure the engine settings to search only by post titles by adjusting the post attributes.
If you do not have paid plugin then the live search relies on the native WordPress search query. In this case, you’ll need to use a custom WP hook to limit the search to post titles only.
Hope this helps. If you have any other questions, please let me know.
Hi @kkow ,
I would like to inform you that SWP_Query arguments are only supported in the main SearchWP plugin. If you are using the paid version, you can use the Search Form with a post category filter. However, if you have a custom taxonomy dropdown, you will need to create a search mod according to this article to filter the results. At line 20, you can replace ‘category’ with custom taxonomy name.If you do not have the paid plugin, WP_Query will be used instead.
Forum: Plugins
In reply to: [SearchWP Modal Search Form] Menu Search Box Pops Up but wont allow entryHi?@periago,
We haven’t heard back from you in a while, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.
Thanks!
Forum: Plugins
In reply to: [SearchWP Modal Search Form] Menu Search Box Pops Up but wont allow entryHi @periago , I investigated the issue on your site.
There is a tf_hide class added to your form element which is hiding the search form in your modal popup. Please see this screenshot.
Please try removing this class from your custom code. It should fix the problem.Forum: Reviews
In reply to: [SearchWP Live Ajax Search] Above and Beyond on supportThank you for taking the time to share your feedback and review!
We are glad to know that we could help solve your search problem and hope you continue to have an awesome experience using the plugin ??
Forum: Plugins
In reply to: [SearchWP Live Ajax Search] Translation doesn’t workHi @eldar888 ,
You can add translations for SearchWP live search plugin by loading .po and .mo file in wp-content/languages/plugins. Both files are essential for proper translation.
You can generate these files by using the Poedit Translation tool.
Please check this wordpress documentation article for more details.Forum: Plugins
In reply to: [SearchWP Live Ajax Search] CSS broken after 1.8 upgradeHi @hydn
I would like to inform you that version 1.8.0 is a major update for the SearchWP live search plugin. This update includes compatibility with SearchWP Forms and the ability to customize the template for live search results. However, please note that the layout for the default template has changed, which may affect custom CSS that was based on the old template.To address this issue, you have two options:
- Update the CSS for the new template to match your customization.
- Import the old template from previous versions, which will override the new template settings.
To import the old template, please follow these steps:
- Create a folder inside your theme directory titled “searchwp-live-ajax-search.”
- Create a file named “search-results.php” in the new folder and add the following code.
Hope this helps.