If you are experiencing problems with the product or are unsure of how to do something, you should follow these steps:
- Read the documentation to see if the information you need is there.
- Check your version of WPAS (this can be found at the top of the file wpas.php). If your version is older than the most recent release, consider attempting to upgrade to see if that fixes the problem.
- Enable debug mode on your form and examine the output it produces. Are there errors? Does the generated WP_Query object match what you expect?
- Look in the Issues section of the GitHub repository to see if anyone else has had a similar issue/question. The majority of issues have been resolved and closed, so make sure to check the list of closed issues.
If and only if you have followed steps 1-4 and still have not found an answer or solution, you can open a new issue on GitHub. In order to receive help with problems or bugs, your ticket MUST include the following information:
- The version number of your copy of WPAS.
- A clear description of the problem you’re experiencing. This should include details about what you expected to happen vs. what actually happened.
- The full code used to configure your search form. This should include the full arguments ($args) array. You can post code directly in the GitHub ticket using markdown, or provide a link to a Pastie or Gist snippet.
- The code used to render your form and search results in your page template.
If available, you can also provide a public link to the page on your website containing your search form.