• Resolved maytro

    (@maytro)


    Hi,

    I have 2 options for search: text and drop-down for categories.
    When I try to make a search query with more than 1 word the results are different. If I select a category as ‘category 1’ for example, I will get the videos that are related and belongs to ‘category 1’ only (as I need).

    But, If I enter on the text field ‘category 1’ I’ll get more videos: some with the number ‘1’, some with the word ‘category’, and some with both.
    Is there an option to change the search result? The aim is to check the full text and check if it is included in title, category or description.

    I’m a programmer and have access to the code.

Viewing 1 replies (of 1 total)
  • Plugin Contributor wpvideogallery

    (@wpvideogallery)

    At first, the keyword (text field) search option only searches in the video title and description. So, if you want to search for videos by category, you must use the categories dropdown.

    Also, I confirm the keyword search always searches the whole word.

    Here is an example,
    1. Open our demo website https://demo.plugins360.com/search-videos/
    2. Search for the word “mp4”. You should get 2 videos.
    3. Now, search again using the word “self hosted – mp4”. You should get only one video.

    I understand this is what you need and this is how the plugin works normally.

    If this is not working for you, then you should be using a third-party plugin that alters the “WP_Query” search parameter. I remember some WP themes also doing this. Please check.

Viewing 1 replies (of 1 total)
  • The topic ‘Search results’ is closed to new replies.