GithubHelp home page GithubHelp logo

webberzone / better-search Goto Github PK

View Code? Open in Web Editor NEW
20.0 20.0 13.0 3.33 MB

Better Search WordPress plugin

Home Page: https://webberzone.com/plugins/better-search/

PHP 89.79% Shell 0.67% CSS 6.03% JavaScript 3.51%
mysql-fulltext-search search search-engine wordpress wordpress-plugin wordpress-search

better-search's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

better-search's Issues

custom fields search

hello,
thanks for the great search plugin :)
On our site (uplnezneni.cz) I would like to have an option to use custom fields as part of search query with higher relevance than main content. Site contains full text of laws and we have several custom keywords in the custom fields as text of law is not search engine friendly and can't be changed.

Or, is there any hook I can use to modify the db query to add search rules for custom fields?

Thanks :)

More CSS classes

Wrap the navigation plus other elements in specific CSS classes to allow easy styling.

Shortcode

Include a shortcode for displaying the heatmap on a page

Potential bug in seamless mode

New implementation of seamless mode with queries causing results to be sorted by date.

To be investigated and fixed if confirmed.

Display portion of results that contains text

The search results page doesn't always show the search term, especially if it is not in the first part of the excerpt. Cut the excerpt in such a way as to include the search term in the results page.

New option to disable aggressive searching

Add a new option to enable/disable trying other search queries i.e. turning on boolean mode, LIKE, etc. in case no search results are formed.

Default should be false for performance reasons as well as to ensure accuracy of fulltext results.

Tag search

  1. Ability to search tags and categories
  2. Restrict search results by tags/categories

Highlight search terms on referred pages

Currently the highlighting of search terms is only on the search results page.

Improve highlighting feature to highlight the search terms on the page if this was referred by a search results page.

Improved mobile view support

Mobile view is not the best - e.g. with use of table for: Results 1 - 10 of 16, Page 1 of 2, Results per-page: 10 | 20 | 50 | 100.

Work on a better way to display these so that the mobile view is better.

Exclude post IDs

Add an option to exclude post IDs from showing up in the results

Multisite Gobal Search

Hello,
thanks for your plugin.
If is it possible, I have a request: get posts from all site in the network and returns it by relevance.
Tnx

Profanity option to block the search completely

Right now, using the profanity option taps into Ban Builder code to filter out the text. This continues the search but with the incorrect term.

Propose to add an option that will completely block the search term and pass an error that the search term contained a banned term.

Filter whole words

Profanity filter matches partial words which can be an issue for several words that would be part of a fuller "clean" word.

New setting to be added to filter only whole words.

Replace /?s to /search

WordPress recognises both /?s and /search. Add an option to rewrite all /?s to search so that it looks a lot cleaner

Settings API

Migrate the current settings into the Settings API

Modify text of heatmap

/* translators: 1: Search term, 2: Number of searches */
$output .= sprintf( _n( 'Search for %1$s (%2$s search)', 'Search for %1$s (%2$s searches)', $cntaccess, 'better-search' ), $textsearchvar, $cntaccess );

Allow a user to modify the text of the heatmap e.g. to hide the searches. To be implemented via a filter function only.

Exclude categories doesn't save properly if the field is blanked out

To Reproduce

  1. On the search tab exclude a single category and the category ID number is shown and the search results excluded posts using the category.
  2. Then delete the category from the search tag ‘excluded categories’ field (now blank) and save the settings. However the category ID remained listed and the search still excluded the category.

Expected behavior
Category ID field should also be blanked out

Limit relevance

Option to limit the relevancy of posts that will be shown in the results - this should allow users to set a minimum level and only posts that are above that relevance will show up in the results.

Delete settings

Some settings are not deleted from the database on uninstall. To investigate and fix as appropriate

Custom sort "on the fly"

Add an option to the custom post results page to sort results by relevance or date or alphabetically (by post title)

Aggressive searching order

Currently if BOOLEAN mode is on and no results are found, the plugin reruns the search with BOOLEAN mode.

The query should be changed to not do this but to run it as BOOLEAN mode off.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.