Timeline for How to use wp-query to search for posts where post_content OR post_title OR post_name
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 29, 2023 at 23:39 | vote | accept | pg. | ||
| Jun 29, 2023 at 20:44 | history | edited | pg. | CC BY-SA 4.0 | added 12 characters in body |
| Jun 29, 2023 at 19:40 | history | edited | pg. | CC BY-SA 4.0 | added 107 characters in body |
| Jun 29, 2023 at 19:37 | comment | added | pg. | That's not a problem. I know meta_query will narrow it down and can be expensive, but I just want to search for post_title as well as the default search columns. | |
| Jun 29, 2023 at 19:33 | history | edited | pg. | CC BY-SA 4.0 | added 687 characters in body |
| Jun 29, 2023 at 19:08 | comment | added | Tom J Nowell♦ | aside from the post name, the inclusion of the meta_query forces it to only search those posts that meet that post meta condition. Note that the meta_query clause you added can get very expensive/slow. | |
| Jun 29, 2023 at 19:02 | vote | accept | pg. | ||
| Jun 29, 2023 at 19:21 | |||||
| Jun 29, 2023 at 18:58 | vote | accept | pg. | ||
| Jun 29, 2023 at 19:02 | |||||
| Jun 29, 2023 at 18:42 | answer | added | Caleb | timeline score: 7 | |
| Jun 29, 2023 at 18:39 | history | asked | pg. | CC BY-SA 4.0 |