Skip Navigation

[Resolved] Author Archive Not working

This support ticket is created 6 years, 2 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 6 replies, has 2 voices.

Last updated by alvinc 6 years, 2 months ago.

Assisted by: Waqar.

Author
Posts
#1155217

I am trying to: I loaded the Instant messaging system. And the author arcgive page came with it, but it is not working. Shows no item.

Link to a page where the issue can be seen: Shows no item in the author archive page.

I expected to see: Soem profile information..

Instead, I got: No item. I tried everything and have read most of the answers.

#1155226
#1155239

Hi Alvin,

Thank you for waiting.

To show author info outside the loop, for a user who's author archive page is being viewed, you'll need to register a custom shortcode, that returns the ID of that user, as explained in this reply:
https://toolset.com/forums/topic/author-page-single/#post-618800

Once you'll have the shortcode, you can use it to show user fields as well as the listings from the listings view, by setting it to show listings, where an author is set by a shortcode attribute.

I hope this helps!

regards,
Waqar

#1155261

Hi I have already registered the shortcode but still nothing..

#1155266

Hi Alvin,

I've just tested the shortcode on your website and it seems to be working as expected, as shown in these screenshots:

Screenshot from the admin area:
hidden link
( source: hidden link )

Screenshot from the front-end:
hidden link
( source: hidden link )

Can you please try that again?

regards,
Waqar

#1155316

Hi

I tried changing it to show the name but it is not working and shows the current user name instead of the author. How to do it properly? Thanks.

#1155333

Hi Alvin,

The "author" attribute was used with the listing view's shortcode because it was set in the query filter settings.

When you'll be using the "wpv-post-author" shortcode ( ref: https://toolset.com/documentation/user-guides/views-shortcodes/#vf-154504 ) or the "wpv-user" shortcode ( ref: https://toolset.com/documentation/user-guides/views-shortcodes/#vf-154505 ), to show the user info, the "id" attribute should be used.
( screenshot: hidden link )

You'll find a good usage example for the same in the reply from Christian, that was shared earlier.
( https://toolset.com/forums/topic/author-page-single/#post-618800 )

I hope this clarifies.

regards,
Waqar

#1158490

My issue is resolved now. Thank you!