Skip Navigation

[Resolved] [wpv-post-url] post link not working correctly

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

Problem:
Post url shortcode is not working in View:

<a href="http://[wpv-post-url]">

Solution:
Use this shortcode:

 <a href="[wpv-post-url]"> 

Relevant Documentation:

This support ticket is created 6 years, 9 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
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

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

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by JanP6468 6 years, 9 months ago.

Assisted by: Noman.

Author
Posts
#615671
screnshot 9.jpg
screnshot 8.jpg
screnshot 7.jpg

I am trying to: Link a custom post ("bike") view in "My Profile" section to the post. To elaborate, I have a slider on a "My Account" page which contains all bikes uploaded by the account. The name of the bike in the slider is linked using [wpv-post-url] to the full bike (custom post type) view. However, unlike in other instances (e.g. on register page here: hidden link) this does not work.

Link to a page where the issue can be seen: hidden link

I expected to see: the template of the "bike" post type. More specifically, I expected the page to be directed to the bike post.

Instead, I got: redirected to non-existent link (see screenshots).

#615729

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

no post found.png

Hi Jan,

Thank you for contacting Toolset support. I can not see any post on the link you have provided:
hidden link

I need to look into your setup, please provide temporary access WP-Admin Login info to your site. Your next answer will be private which means only you and I have access to it.

=== Please backup your database and website ===

✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important.

✙ Please add the [View] link where you have added slider.

Thank you

#616032

Hi Noman,

The reason you do not see any link where I do is that you did not save any bike, so there aren't any bikes of yours that could be linked to.

Anyway, I'd grant you the access, but it doesn't look like this message is actually private. Shane from your team is currently working on another issue, and he has the access, feel free to get it from him. (Hereby I grant Shane the permission to share the access with you, should that be needed.) However, please, keep it strictly confidential.

Best,

Jan

#616232

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

bike.png

Hello Jan,

I have switched Text Editor view from Visual to Text as in attached screenshot and updated wrong a tags.
I have updated link from:

<a href="<em><u>hidden link</u></em>">

To:

<a href="[wpv-post-url]">

And now links working fine.

Thank you

#616861

Oh, awesome, thanks so much Noman!