Title: shortcode for users online
Last modified: April 18, 2017

---

# shortcode for users online

 *  Resolved [akingbenga](https://wordpress.org/support/users/akingbenga/)
 * (@akingbenga)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/shortcode-for-users-online/)
 * Is there a shortcode for users online? The following information in FAQs is showing
   blank
 * Users online:
 * To Display Users Browsing Site
    To Display Users Browsing A Page

Viewing 1 replies (of 1 total)

 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/shortcode-for-users-online/#post-9043047)
 * There is no shortcode for that. There is a bug in the new Plugins Repo that parses
   the code. I have filed a bug report few weeks back, [https://meta.trac.wordpress.org/ticket/2655](https://meta.trac.wordpress.org/ticket/2655)
 * ### To Display Users Browsing Site
    * Use:
 *     ```
       <?php if (function_exists('get_users_browsing_site')): ?>
          <div id="useronline-browsing-site"><?php echo get_users_browsing_site(); ?></div>
       <?php endif; ?>
       ```
   
 * ### To Display Users Browsing A Page
    * Use: ` <?php if (function_exists(‘get_users_browsing_page’)):?
   > <div id=”useronline-browsing-page”><?php echo get_users_browsing_page(); ?>
   </div> <?php endif; ?>

Viewing 1 replies (of 1 total)

The topic ‘shortcode for users online’ is closed to new replies.

 * ![](https://ps.w.org/wp-useronline/assets/icon.svg?rev=978026)
 * [WP-UserOnline](https://wordpress.org/plugins/wp-useronline/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-useronline/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-useronline/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-useronline/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-useronline/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-useronline/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/shortcode-for-users-online/#post-9043047)
 * Status: resolved