[wp-hackers] How find the latest uploaded pictures
wordpress at dd32.id.au
Sat Jan 3 01:02:13 GMT 2009
Heres some code i used in my previous theme:
You can strip out the group-by filter if your not after a single-image
& you'll need to modify it to suit your needs obviously :)
2009/1/3 Mikael Hedengren <mikael at cylinderlabs.se>:
> Does anybody know the best way to find the latest uploaded pictures with
> their corresponding URL?
> I would like to present them like the media gallery with a picture and when
> a picture is selected its URL will be collected.
> I am not interested in any specific post connected to the picture but only
> the picture and its URL.
> Can anybody point me in the right direction?
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers