1. Home
  2. Docs
  3. Query Builder

Query Builder


Was this article helpful to you? Yes No

2 Replies to “Query Builder”

  1. Is it possible to create a search box on the front-end (i.e., on the website) in which users can input sql command instead of a keyword based search box?

    1. Hi Ian,

      It is possible but too risky. WordPress uses one user account to connect to the database. That user account can access all tables in your WordPress database. If you give website visitors access to sql, you give them accesss to your WordPress tables…

      For publications you might consider the search builder. The search builder has some restrictions but allows visitors to create field based queries. A demo can be found here:

      Hope this helps,

Leave a Reply

Your email address will not be published.