Title: Top Users Widget
Last modified: August 22, 2016

---

# Top Users Widget

 *  Resolved [robint](https://wordpress.org/support/users/robint/)
 * (@robint)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/top-users-widget/)
 * Fantastic plugin,
 * I’m looking to see where I can “hyperlink the user” in the Top Users Widget.
 * Hope you can help.
 * Thank You.
 * [https://wordpress.org/plugins/wordpoints/](https://wordpress.org/plugins/wordpoints/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [J.D. Grimes](https://wordpress.org/support/users/jdgrimes/)
 * (@jdgrimes)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/top-users-widget/#post-5771175)
 * Hi [@robint](https://wordpress.org/support/users/robint/),
 * I’m assuming you mean that you want each of the usernames to be a link to that
   user’s profile page?
 * There isn’t currently an option for this. One reason is that the user’s profile
   page link will be different on different sites. For example, some might want 
   it to hook to the default “author” page provided by WordPress. Other people might
   be using BuddyPress, and have different URLs for the user profiles.
 * However, I’ll consider adding this feature in the next version, though it’s possible
   that it will be too site-dependent. I’ll have to investigate the functions that
   WordPress provides for getting the user’s URL. Maybe it will really be simple.
 * In the mean time, if you are comfortable writing some code, you could create 
   a custom module/plugin that hooks into the [`wordpoints_points_top_users_username`](https://github.com/WordPoints/wordpoints/blob/fef99b6e37161884940acfbfd65453d0d8ad5c96/src/components/points/includes/points.php#L1190-L1202)
   filter, and wraps the username in a link.
 *  Thread Starter [robint](https://wordpress.org/support/users/robint/)
 * (@robint)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/top-users-widget/#post-5771177)
 * Hi J.D Grimes,
 * I’m looking to link them to; user/%username
 * I’m not good at creating any modules/plugins, as I’m not familiar with coding.(
   only the basics ).
 * 
 *  Thread Starter [robint](https://wordpress.org/support/users/robint/)
 * (@robint)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/top-users-widget/#post-5771178)
 * I can’t seem to find it in the “widgets.php”
 *  Plugin Author [J.D. Grimes](https://wordpress.org/support/users/jdgrimes/)
 * (@jdgrimes)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/top-users-widget/#post-5771191)
 * It’s actually in `points.php`. I linked the filter name to it, but it is hard
   to see that it is a link because it isn’t blue. 🙂
 *  Thread Starter [robint](https://wordpress.org/support/users/robint/)
 * (@robint)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/top-users-widget/#post-5771205)
 * Can you show me how and where I can hyperlink the username ?
 * I’m not great with coding, but I know how to copy and paste 😀
 * The hyperlink needs to be user/%username% for my site 🙂
 *  Plugin Author [J.D. Grimes](https://wordpress.org/support/users/jdgrimes/)
 * (@jdgrimes)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/top-users-widget/#post-5771250)
 * Here is [a quick WordPoints module I created for you](http://wordpoints.org/wp-content/uploads/2015/02/robint-top-users-links.zip).(
   There are [installation instructions](http://wordpoints.org/user-guide/installing-modules/#step-2-installing)
   on the site, in case you haven’t done it before.)
 *  Thread Starter [robint](https://wordpress.org/support/users/robint/)
 * (@robint)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/top-users-widget/#post-5771276)
 * Wow!
    Didn’t expect you to create a module for me! Greatly appreciated!
 * I tried to re-code it, as I realised it wasn’t “username” , but I’m using “display_name”
   for the permalinks.
 * However the spaces aren’t reading as a dash;
 * E.g what should be user/arooj-aftab
    loads up as user/arooj aftab – page not 
   found
 * I simply renamed user_login to display_name.
 * Hope you can help fix this issue.
 *  Plugin Author [J.D. Grimes](https://wordpress.org/support/users/jdgrimes/)
 * (@jdgrimes)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/top-users-widget/#post-5771288)
 * Try `user_nicename`.
 *  Thread Starter [robint](https://wordpress.org/support/users/robint/)
 * (@robint)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/top-users-widget/#post-5771298)
 * Amazing. It worked perfectly.
 * Did you receive my email about a “likes” module ?
 * Robin

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Top Users Widget’ is closed to new replies.

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

 * 9 replies
 * 2 participants
 * Last reply from: [robint](https://wordpress.org/support/users/robint/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/top-users-widget/#post-5771298)
 * Status: resolved