• Hello,

    I used this plugin to show the 5 most viewed posts on the main page.

    With Admin role I can see “number of views” for every post and they are showed on the picture from the below link:

    https://i.postimg.cc/x1M4Pj4D/post-viewed.png

    1. How can I extract “number of views” and show it on every post and “total views” from the plugin and show them on the main page ?

    Thanks in advance.

Viewing 1 replies (of 1 total)
  • Thread Starter funmelody

    (@funmelody)

    I read the plugins manual usage and tried to display views with a shortcode: [post-views] as in the paragraph 3.1, but nothing happened.

    The shortcut : pvc_post_views(0, true); also did not work.

    Please tell me what I did not correctly. I have setup plugin as in 2. Setting

    I have testet both PHP 7.4 + WordPress 4.9.18 and PHP 8 + WordPress 5.6.5.

Viewing 1 replies (of 1 total)
  • The topic ‘Showing number of views’ is closed to new replies.