Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm using the latest version of Wordpress with the latest version of Theme My Login and I would like to add a custom link so that users can go directly to their BuddyPress Messages from the widget, however I don't know what the URL would be as TML only provides the id of the user and not the username and so I can't use the "post name" permalink structure. So could anyone tell me how to link to the current user's BuddyPress messages using Theme My Login please?

Thanks in advance

share|improve this question

1 Answer 1

Just discovered that as of version 6.2 of Theme My Login the %username% variable is available for use in the Custom Links module. Therefore to add a link to the user's BuddyPress messages from the widget, the URL is http://yoursite.com/members/%username%/messages.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.