2014-06-26 38 views

回答

0

試試這個:

<?php 
$author_id = $post->post_author; 

if($author_id == 1){ 
     get_post_meta($post_id, 'rating', $single); 
} 
?>