2014-06-26 120 views

回答

0

试试这个:

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

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