Timeline for WP_Query multiple value not working
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 16, 2022 at 17:59 | answer | added | Rohjay | timeline score: 0 | |
Jul 17, 2020 at 9:37 | comment | added | Tom J Nowell♦ | I answered your other question, but you didn't ask about performance in this question, I won't derail the comments or post an unrelated answer here. You'll need to consult the ACF documentation for how to use taxonomies instead of post meta for a field ( and register a custom taxonomy for it to use to store the data ) | |
Jul 17, 2020 at 9:35 | comment | added | Asadiy4n | @TomJNowell how to do ? | |
Jul 17, 2020 at 9:31 | comment | added | Tom J Nowell♦ |
This query will be quite slow, if antivirus_antivirus_featured_scaning had been a custom taxonomy then this query would see massive performance gains, as well as free archives and templates for thse terms. If you're using ACF then it's a simple switch to tell ACF those fields are saved as terms in a custom taxonomy
|
|
Jul 17, 2020 at 9:11 | comment | added | Asadiy4n |
antivirus_antivirus_featured_scaning is a checkbox field and i tried with '=' but not work i used advanced custom fields plugin
|
|
Jul 17, 2020 at 9:06 | comment | added | Jacob Peattie |
You can't use LIKE with an array of multiple values. What does the value of antivirus_antivirus_featured_scaning look like?
|
|
Jul 17, 2020 at 9:01 | history | asked | Asadiy4n | CC BY-SA 4.0 |