Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Lester Chan

    (@gamerz)

    <?php get_totalviews(); ?>

    Thread Starter Jiwang

    (@jiwang)

    tq for the code but how can i convert unit to K M ?
    example 1k, 1.5k, and 1M count

    Plugin Author Lester Chan

    (@gamerz)

    The plugin doesn’t have function to do that. You can google (google is your best friend) for the code and put inside the function. The convert_count is just an example.

    <?php echo convert_count( get_totalviews( true ) ); ?>

    Note the use of true inside the function this time round because you want it to return and not echo it.

    Thread Starter Jiwang

    (@jiwang)

    i can’t find the best solution.. always get white screen
    can you give url tutorial for this ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to show total view’ is closed to new replies.