Show list of custom posts with respective attachments?
Trust us on this one, you want to use WordPress’ query solution. It provides a whole bunch of awesome extras, such as object caching, autoloading of metadata, etc. Plus, it’s almost guaranteed to be forwards compatible. So. How to do what you’ve inquired about. Something like this ought to do the trick: <?php $podcasts = … Read more