What I want to do seems to be simple but I can't get around it. I'd like to get the latest post that has an image attachment. A little help would be appreciated. Thanks
Lita
|
What I want to do seems to be simple but I can't get around it. I'd like to get the latest post that has an image attachment. A little help would be appreciated. Thanks Lita |
|||||
|
|
This is a tricky one. If you wanted to get the latest image attachment and display the post associated with it, you could use:
To get the latest post, but only if it has an attachment, I think the only way to do it would be with two nested queries. For example:
|
|||
|
|