WordPress Stats Plugin: Display Post Views [closed]

Put this into your functions.php file:

function userfunc_get_post_views($postID) {
        global $post_stats;
        foreach ( $post_stats as $p ) {
            if ( $p['post_id'] == $postID ) { ?>
                <span class="stats-post-views">
                    <?php echo number_format_i18n( $p['views']) . ' views'; ?>
                </span>
        <?php }
    }
}

and then into your single.php file where you want the views to be displayed:

<?php userfunc_get_post_views(get_the_ID()); ?>

This will wrap it in a div with the class of stats-post-views so you can style it.