[wp-hackers] Excluding from the Loop posts having a certain Custom Field

Mr.Brown mrbrog at gmail.com
Wed Jan 4 23:39:00 GMT 2006

2006/1/5, John Joseph Bachir <jjb at ibiblio.org>:


> It might be complex in certain ways, but the question isn't
> wordpress-specific. This question is more appropriate for an sql list or
> irc channel.

> But we are a friendly bunch, so here you go.. :)

Thank you, you were very kind. Now the query works fine.
Just one note: there's a little error in query

> $tickerposts = $wpdb->get_column(" ...

it should be

$tickerposts = $wpdb->get_col(" ...


Thank you very much indeed, John.
I think I'll add this in our Italian WordPress Wiki


More information about the wp-hackers mailing list