Skip Navigation

[Resolved] User URL not displaying

This thread is resolved. Here is a description of the problem and solution.

Problem:

I see that URL is what they add for their website url, not exactly the profile URL. How can I add the edit user link?
Here is my loop:

[wpv-user field="user_url"]

Solution:

If it is the URL of: Dashborad-> Users-> edit a user, you can try this:

[wpv-bloginfo show="wpurl"]/wp-admin/user-edit.php?user_id=[wpv-user field="ID"]

Relevant Documentation:

https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-bloginfo

This support ticket is created 6 years, 11 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/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by Luo Yang 6 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#599728
Screen Shot 2017-12-18 at 4.02.49 PM.png

Here is my loop:

	<wpv-loop>
      <ul>

 <ol type="A">
		
          [wpv-user field="ID"] -
		[wpv-user field="user_login"] - 
		[wpv-user field="user_firstname"]
		[wpv-user field="user_lastname"] - 
		[wpv-user field="profile_picture" size="50" shape="square"] -
		[wpv-user field="user_registered"] -
        [wpv-user field="user_url"]
     
      </ol>
        </ul>

	</wpv-loop>
	<!-- wpv-loop-end -->

No output for user_url field. Any thing I am missing?

Thanks!

#599731

Oh I see that URL is what they add for their website url, not exactly the profile URL. How can I add the edit user link?

#599755

Dear Randall,

What is the "edit user link" you mentioned above?
If it is the URL of: Dashborad-> Users-> edit a user, you can try this:

<a href="[wpv-bloginfo show="wpurl"]/wp-admin/user-edit.php?user_id=[wpv-user field="ID"]">Edit user [wpv-user field="ID"]</a>
#600065

Thanks Luo!

#600072

You are welcome