开发者

wordpress query to show all images by authors

I recently did a conversion from a really old db to a wordpress compatible one.

It's quite a simple site, that allows Artists to show there artwork.

In the worpdress media library each image has an author/image attached to it.

Is there a wordpress que开发者_如何转开发ry that allows us to tap into this info?


You can try query_posts()

query_posts('author=1&post_type=image');
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜