• Hi, please can you help me with this? what function do you use to populate the views (entire code),
    if possible or shorter code so I can use this to display the views wherever I need?

    thank you very much

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter balldilo

    (@balldilo)

    Hi please could some body help thanks

    Hey, not sure exactly what you mean but can it be: [post-views]

    That short code will display the “view count” where ever you will add the code

    You will need to change in the plugin settings:

    Settings > Post Views Counter > Display > Set the “Position” settings to “Manual”
    Done, then just use the short code wherever you need it ??

    • This reply was modified 3 years, 11 months ago by Webzzz.
    Thread Starter balldilo

    (@balldilo)

    Thank you for your reply. Much appreciated.

    I want to display views outside the blog post. however, I don’t know how can I access this section (as attached) and what code should I use.

    Please can you help me with this thanks.

    https://paste.pics/d8ecddbb8a80a99eb1bd3c8c5aafa5b7

    Hello,

    Sure I can try, firstly without knowing what builder you use (Elementor/Gutenberg/etc.. etc…) and other info about your WordPress structure it’s hard to give a very accurate answer since it vary based on what you use.

    1)Basically you need to go to the settings of this plugin and change few things there *(Screenshot added)
    2)Depending on your builder or theme – You need to add the shortcode [post-views] wherever you want the counter to be visible *(normally in the “loop” near the other meta data, as you showed in your screenshot)
    3)Done!

    Hope it helped you,
    If not then please explain more and maybe add a list of your plugins & the theme in use.

    Post-Views-Counter-1

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘what function to use to populate the views (entire code)’ is closed to new replies.