Skip Navigation

[Resolved] Author email & social media

This support ticket is created 5 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 4 replies, has 2 voices.

Last updated by rezas-2 5 years, 5 months ago.

Assisted by: Waqar.

Author
Posts
#1373495
Screen Shot 2019-10-31 at 05.59.04.png

Hi Toolset,

I need your help to show email & social media in each author page.

Thanks so much

#1373695

Hi,

Thank you for contacting us and I'd be happy to assist.

To show the author's fields on the author archive pages, you can use the "wpv-post-author" shortcode
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-author

For example, to show the values from the default email address and website fields, you can use:


Author Email: [wpv-post-author format="meta" meta="user_email"]

Author Website: [wpv-post-author format="meta" meta="url"]

The other social medial fields shown in your screenshot, seem to be coming from the Yoast SEO plugin. You can show the values from those fields like this:


Author Facebook: [wpv-post-author format="meta" meta="facebook"]

Author Twitter: [wpv-post-author format="meta" meta="twitter"]

To get names of the other social media fields, you can use Google Chrome's inspect element tool, as explained in this guide:
hidden link
( screenshot: hidden link )

regards,
Waqar

#1373715

Hi Waqar,

Thanks for your help.
But this code not working for other author.
So I want to put this in author archive page like: hidden link and hidden link

Thanks

#1373821

To troubleshoot, why these shortcodes are not working on author archive pages, I'll need access to the website's admin area.

Can you please share temporary admin login details, along with the information about where you've placed these shortcodes?

Note: Your next reply will be private and though no changes will be made on your website, please make a complete backup copy, before sharing the access details.

#1380257

My issue is resolved now. Thank you!