• Resolved Talantbek

    (@talantbek)


    Hi, WP FullText Search team.

    First of all, thanks for developing such a great search plugin that helps improve the WordPress search form.

    I looked for information in the plugin description as well as in the documentation.
    But I couldn’t find any information on how to add custom fields for the search form.
    Can I add my own search fields or include taxonomies and post meta fields?

    Thanks in advance. I hope this is possible.

    Example of a search form

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Epsiloncool

    (@epsiloncool)

    Hi @talantbek

    There is no inbuilt form constructor in the plugin because it’s a relatively huge task (if we want to make this constructor relatively universal) and a bit separate from the search itself.

    I would recommend you to use form builder plugins that are just a lot of ready-created now.

    What the WPFTS wants to work is the search string, that could be sent via URL “s” parameter. Additionally, you can send other WP_Query parameters via URL params. These parameters can be generated from your form.

    Thanks!

    Thread Starter Talantbek

    (@talantbek)

    Thanks for the detailed answer.

    Could you please show an example of how I can send a string from my form if I use taxonomies and meta fields?

    The main question is how can I get my custom search form to work with WPFTS?

    My search form should search not only by title or text but by category and by date of creation too.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I add custom fields to the search form?’ is closed to new replies.