75 reputation
7
bio website
location
age
visits member for 1 year, 6 months
seen Apr 15 at 1:03

Apr
2
comment Possible to create a permalink to sort with meta_key?
The internets are yours.
Apr
2
accepted Possible to create a permalink to sort with meta_key?
Apr
2
comment Possible to create a permalink to sort with meta_key?
Well, can't argue with that answer, 50 points and 1000 internets to you sir.
Apr
2
comment Possible to create a permalink to sort with meta_key?
Oh wait, I see, silly me. Would there be a way to obfuscate the name of the meta_key itself too?
Apr
2
comment Possible to create a permalink to sort with meta_key?
Sorry, I'm not seeing the logic as to how this works. Are you suggesting it as an addendum to what I've already layed out in the question or a standalone solution to the url string query? I'm not seeing a meta_key being set here. Or do you merely append the meta_key itself to the URL string?
Apr
1
revised Possible to create a permalink to sort with meta_key?
added 110 characters in body
Mar
30
comment Possible to create a permalink to sort with meta_key?
Nope, Zipzit, I want to give users a link to click on that'll re-order the posts by a meta_key
Mar
30
comment Possible to create a permalink to sort with meta_key?
I read about using pre_get_posts, but after googling and reading some more I'm not sure as to how I'd roll a function into a query string. Not sure how to use $_GET either :/
Mar
30
comment Possible to create a permalink to sort with meta_key?
Yes, pretty much. Same as ordering ?orderby=title except by the meta_key.
Mar
30
asked Possible to create a permalink to sort with meta_key?
Feb
27
accepted Getting posts from multiple users?
Feb
27
comment Getting posts from multiple users?
Great answer, thanks. The reason I'm use query_posts and not WP_query is because I'm using infinite scroll plugin, that doesn't accept WP_query arrays, so the easiest thing to do is modify the main query with query_posts.
Feb
27
asked Getting posts from multiple users?
Feb
14
asked Different markup for second page
Feb
6
answered Can't print out returned value
Feb
5
comment Can't print out returned value
Yup, it turns out that it was just the code that was wrong, I'll post an answer with the correct code to display the score for anyone else who happens across this post.
Feb
5
comment Can't print out returned value
I can't seem to print anything, if I set $score = 10; then do echo or print_r after the return $score, nothing gets output.
Feb
5
asked Can't print out returned value
Jan
30
accepted If current user is admin or editor
Jan
30
asked If current user is admin or editor