2012-06-21 160 views

回答

1
<?php global $wp_query; 
if(is_object($wp_query->queried_object) && $wp_query->queried_object->ID) 
{ 
    echo get_post_meta($wp_query->queried_object->ID, 'customfieldname', true); 
} 
?> 
+0

感謝您的幫助:) – SteveP

相關問題