WordPress.org

Forums

WP-UserOnline
[resolved] active visitors on single url (3 posts)

  1. lemonthirst
    Member
    Posted 1 year ago #

    Hi,
    Is there a way to display the number of people interested in a particular item. I'd like the number of users who read or see a particular product to be displayed when accessing the archive category or do a search for products.
    I have saw that it is possible to return the number of active visitors on the page, but i want those results to be displayed after the loop was run.
    Example:
    Article title: How to WordPress
    7 people reading
    Article title: develop your own Wp Plugin
    10 people reading.
    somewhat like this

    I tried all possible that I have come to mind, but unfortunately without a good result.
    Any help would be greatly appreciated. Thank you!

    https://wordpress.org/plugins/wp-useronline/

  2. Lester Chan
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry, the feature does not exist in the plugin, but it can be done since the data is in the DB.

    If you are interested in doing it, fork the plugin https://github.com/lesterchan/wp-useronline, submit a pull request and I will make it to the core.

  3. lemonthirst
    Member
    Posted 1 year ago #

    Thank you!
    I will try to add this feature and i will make a pull request after all is ok.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic