Tag Info

Hot answers tagged


You need to loop through the attachments within your post loop, replace the section of code you posted with this (put this together from some other code I found related to a similar problem, but couldn't test it): </BasicDetails> <?php $args = array( 'post_parent' => $post->ID, 'post_type' => 'attachment', ...


"Page not found" means it is not a template problem, rather permalink issue. Try setting your permalink to default and than visit the page!

Only top voted, non community-wiki answers of a minimum length are eligible