2012-09-12 64 views

回答

2
+0

這是相當真棒!有關信息將如何保存的任何提示 - 以及如何在我的模板中閱讀信息? – Tom

+1

<?php query_posts(「post_type = my&showposts = -1」); (have_posts()):while(have_posts()):the_post(); \t如果($附件= get_children(陣列( \t \t 'post_type'=> '附着', \t \t 'post_mime_type'=> '圖像', \t \t 'numberposts'=> -1, \t \t 'post_parent'=> $ post-> ID \t))); \t \t \t 的foreach($附件,附件$){ \t \t \t 回波\t wp_get_attachment_image($ attachment-> ID, '完全',TRUE,FALSE, ''); \t} \t \t endwhile; \t endif; ?> –

相關問題