I fetch external data like this, but I also added the_post();
while($slice = mysql_fetch_assoc($result)){
the_post();
rest of my stuff
}
I need a hook to tell me if the_post() returns true, something like this:
while($slice = mysql_fetch_assoc($result)){
the_post();
if(the post returs true){ do something;
else { rest of my stuff }
}
Any ideas?