219 posts
  • Has been part of the Envato Community for over 3 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+2 more
NuclearThemes says

I’m creating a shortcode at the moment and have a filtering problem. The shortcode fetches an email address but is displayed with no @ etc.

Does anyone have a solution to get it to display properly?

2445 posts
  • Has referred 100+ members
  • Has sold $100+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+3 more
digitalimpact says

I have a pretty good imagination, but not that good :P

219 posts
  • Has been part of the Envato Community for over 3 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+2 more
NuclearThemes says

Haha should have elaborated more. I was able to solve it anyway.

I was doing a plugin that has the user type in an email address and it checks if their is a user registered with that email and if so, brings up details about them. It also included a shortcode to display a form on the front end.

I can’t imagine why such a tool would be necessary but a request is a request.

I came to the conclusion WP was deciding to format the username if it showed an email address when displayed through a shortcode. In the end it was just a mistake in retrieving the details. I was using nicename instead of display name.

by
by
by
by
by
by