33,425 reputation
21327
bio website metaflora.net
location San Francisco
age
visits member for 3 years
seen 16 mins ago

I like bicycles and cats.

http://metaflora.net/


1h
comment Get deeper class from url, pretty permalinks?
I understand your issue, the page I linked is the filter for adding your own classes to the body tag, giving you something unique you can target. I don't know buddypress at all, but a quick search came up with this page in buddypress documentation, which will likely give you the data you need to add a unique per-user class.
5h
comment Get deeper class from url, pretty permalinks?
the codex is a good place to start. add the code you are working with to your question.
5h
comment Get deeper class from url, pretty permalinks?
search this site for "body class", lots of questions on how you can add your own classes dynamically.
6h
comment Display a query with multiple post types and same relationship on a single page
why is paged set to $client_ID? you're also setting posts_per_page to return all posts.
19h
comment next_posts_link does not work when querying a specific category
See HamzStramGram's answer for properly setting the $paged query var before you use it in the query.
19h
comment Do I need to flush rewrite rules when creating new user if using custom author rewrite rules?
where is the code you are using to enable these URLs?
1d
comment Pagination on Single Post
for some reason WP sets page to 0 instead of just leaving it empty like it does with paged. see edit above.
1d
comment FOUND_ROWS() returns maximum rows in table
You misunderstand the purpose of SQL_CALC_FOUND_ROWS, it calculates the count if you were to remove the LIMIT from your query. Since your query has no WHERE clause, the result you see is correct.
1d
comment Why won't my taxonomy query show up?
have you confirmed that it's not being loaded? is it in the root of your theme directory?
1d
comment Delete duplicate rows from wordpress database where a column is duplicate in phpmyadmin
This isn't really a WordPress question, you'd probably have better luck with it over at StackOverflow.
2d
comment Why won't my taxonomy query show up?
are you sure your loop-review.php file is being loaded at all? If it is being loaded, and you don't see your Sorry, no posts matched your criteria. message, then it makes no sense that $review_query would be empty.
2d
comment Force WordPress to load a specific template
don't use template_redirect to modify which template is loaded, that's what the template_include filter is for.
2d
comment Why won't my taxonomy query show up?
var_dump after the query is run is empty?
Apr
15
comment When editing, my post titles and permalinks revert to the title and permalink used for static homepage
switch to a core-bundled theme and disable plugins, check if it still happens. re-enable things one at a time to figure out what's causing the behavior.
Apr
15
comment WordPress Screwing Up 'orderby' => 'meta_value_num' in 'pre_get_posts'
meta_query is the newer way to handle custom field queries and is more flexible than the older meta_ arguments, for the sake of consistency I just stick with the newer API stuff. The older way may work just as well, though I haven't actually tried it out.
Apr
15
comment The Loop: Not Repeating Styles
IDs have to be unique, use a class if you need to target multiple elements via jQuery or share style.
Apr
15
comment Why won't my taxonomy query show up?
are you sure there are posts that match the query? var_dump($review_query); and inspect the query parameters, make sure there isn't a filter of some sort altering the query.
Apr
15
comment ReWrite Permalink to New Permalink Nginx
things don't just stop working on their own, something must have changed to cause this to happen- core, theme, or plugin update, server configuration, etc.. I would try to track down exactly what has changed.
Apr
15
comment Saving an array to get_options
where do you call validate_dw_quote?
Apr
14
comment $wpdb->get_var - What value is returned when zero records are found?
do you have debugging enabled? if so, your header won't work because you're using prepare incorrectly, which should throw an error. get_var does indeed return NULL for no results.