Reputation
902
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
14 31
Impact
~86k people reached

Sep
14
answered Cannot modify header information - server cache
Sep
14
accepted get_edit_tag_link does not return anything
Sep
14
answered Next page link via the custom menu
Sep
14
answered How to use scss in wordpress theme?
Sep
14
asked Next page link via the custom menu
Aug
28
comment Fetch post meta in the same query as the main loop
@bonger that would trigger a sql query for each entry in the loop. That's what i want to avoid. In the end, i've used a raw sql query with get_results().
Aug
28
comment Fetch post meta in the same query as the main loop
Yes, that's exactly what i want.
Aug
28
comment Fetch post meta in the same query as the main loop
the double sorting I can live without. It's the inclusion of the meta_key in the sql results that I'm seeking to know how to do. I've now included the raw SQL that i would like to express in Wordpress' query logic.
Aug
28
revised Fetch post meta in the same query as the main loop
added 342 characters in body
Aug
28
revised Fetch post meta in the same query as the main loop
added 400 characters in body
Aug
28
asked Fetch post meta in the same query as the main loop
Jul
22
awarded  Taxonomist
Jul
2
awarded  Curious
Jun
27
awarded  Notable Question
May
6
awarded  Popular Question
Mar
20
awarded  Popular Question
Feb
12
comment Query the database after get_header() has been included
From what i've read here (codex.wordpress.org/… ) you are doing it right: you use the $wpdb object. Since you are using custom tables, there isn't much you can reuse from the wordpress querying methods.
Feb
12
accepted List custom taxonomies associated to an author's posts
Feb
12
comment List custom taxonomies associated to an author's posts
Hello Shazzad, Thank you it works quite nicely, except that if a tag has been used in 2 posts, it will appear twice. But you've sent me in the right direction, so i'll pick this up as the right answer.
Feb
11
answered Query the database after get_header() has been included