New answers tagged query
0
votes
Accepted
Comment Table Size Results in Slow Page Loads and 500 Errors
The solution to the issue of slow queries on a site that has a very active comment 'gang' (there are over 150K comments on that site, with about 50-100 added each day) (sort of a long answer, but the ...
0
votes
Get a custom table to an array
you can take every rows from a table YOUR_TABALE_NAME
"SELECT * FROM {$wpdb->prefix}YOUR_TABALE_NAME"
then with the get_results() return it into an array $array
finally you have somthing ...
0
votes
Accepted
WP Search Form Query: Add Author's posts into search query
For anyone else that stumbles upon this, @admcfajn posted a comment to my question which solved my problem. Below is the code block found in the commented link, attributed to "danielbachhuber&...
Top 50 recent answers are included
Related Tags
query × 1849wp-query × 434
custom-post-types × 186
posts × 176
php × 164
loop × 146
wpdb × 139
mysql × 130
query-posts × 111
search × 108
sql × 104
database × 102
custom-field × 99
custom-taxonomy × 98
customization × 94
categories × 92
meta-query × 79
pagination × 69
taxonomy × 65
post-meta × 58
filters × 52
order × 52
pre-get-posts × 50
functions × 47
get-posts × 47