byvector adlı üyeden alıntı: mesajı görüntüle
Teşekkürler hocam

<?php setPostViews(get_the_ID()); ?><?php echo getPostViews(get_the_ID()); ?>

Okunma sayılarını görebilmek için bu kodun single.php yada page.php sayfasına yüklenmesi gerekiyor. Ama ben kodun sadece admin panlede görünmesini istiyorum. Sayfalarda görünmesini istemiyorum
bu kodları functions dosyasına ekleyin.

function tablo_views($tabloek){
    $tabloek['post_views'] = __('Views');
    return $tabloek;
}
function ek_tablo_views($tablo_ismi, $id){
    if($tablo_ismi === 'post_views'){
        echo getPostViews(get_the_ID());
    }
}
add_filter('manage_posts_columns', 'tablo_views');
add_action('manage_posts_custom_column', 'ek_tablo_views',10,2);
<?php echo getPostViews(get_the_ID()); ?> kodunuda single dosyasından kaldırın.Yapmadan önce yedek almayı unutmayın.