开发者 |
webberzone
Ajay |
---|---|
更新时间 | 2023年8月23日 03:38 |
捐献地址: | 去捐款 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.3 |
版权: | GPLv2 or later |
wp_head
on the pages where the posts are displayedIf your question isn't listed there, please create a new post in the WordPress.org support forum. I monitor the forums regularly. If you're looking for more advanced paid support, please see details here.
Better Search has a huge set of options that help you customize the output or fine tune the results without leaving the comfort of your WordPress site. Goto Settings > Better Search to configure.
The plugin also supports the use of template files within your theme. You can create a file called better-search-template.php
in your theme's directory and the plugin will use it to display the results.
Better Search includes a very cool profanity filter using the script from Banbuilder. You can customize which list of words you want to filter out from the Better Search settings page. Find the setting called "Filter these words:". The plugin will automatically strip out both partial and complete references of these words. You can turn the filter off by emptying the list. Know of a better profanity filter? Suggest one in the forums.
get_match_sql
instead of score
in the order by clausemeta_query
argumentbetter_search_query_date_query
bsearch_form
shortcode incorrect parametersbsearch_template_query_args
in the default template to modify arguments array passed to Better_Search_Query
the_bsearch_excerpt()
will now show the relevant part of the excerpt where applicable by default. You can override the arguments by filtering the_bsearch_excerpt_args
show_post_types
for get_bsearch_form()
set as default to false. Arguments can be modified by overriding the filter bsearch_form_args
the_bsearch_post_thumbnail
post_type
arguments were incorrectly processed when emptyBetter_Search::set_topscore()
Sort by
and Sorted by
BETTER_SEARCH_VERSION
that is used to enqueue scripts and stylesexcerpt_length
is passed, the plugin will use the default value from the settings pagebydate
if set to true will sort posts by datehellip
wrapped in bsearch_hellip
span tag for easy access