Title: short code in URL query string
Last modified: August 22, 2016

---

# short code in URL query string

 *  [Paston](https://wordpress.org/support/users/paston/)
 * (@paston)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/short-code-in-url-query-string/)
 * Hi
 * I’m using BuddyPress and S2Member Pro (just starting).
 * One of the menu links available on my site for logged-in users is to an external
   site.
 * I need to add a query string so that URL contains the email address of the currently
   logged in user (eg [http://example.com/over/there?email=you@yourdomain.com](http://example.com/over/there?email=you@yourdomain.com))
 * Any advice would be appreciated about what shortcode to use to get the email 
   address in the first place and then get it into the URL.
 * Thanks
 * [https://wordpress.org/plugins/s2member/](https://wordpress.org/plugins/s2member/)

Viewing 1 replies (of 1 total)

 *  [krumch](https://wordpress.org/support/users/krumch/)
 * (@krumch)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/short-code-in-url-query-string/#post-5191135)
 * [@paston](https://wordpress.org/support/users/paston/): Too long to explain, 
   it’s very like “login/logout” link I describe at [my site](http://krumch.com/2013/08/27/how-to-place-loginlogout-link-in-submenus-of-wordpress/).
   Or I can do for you.

Viewing 1 replies (of 1 total)

The topic ‘short code in URL query string’ is closed to new replies.

 * ![](https://ps.w.org/s2member/assets/icon-256x256.png?rev=980067)
 * [s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions](https://wordpress.org/plugins/s2member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/s2member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/s2member/)
 * [Active Topics](https://wordpress.org/support/plugin/s2member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/s2member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/s2member/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [krumch](https://wordpress.org/support/users/krumch/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/short-code-in-url-query-string/#post-5191135)
 * Status: not resolved