[post_url] is missi...
 
Notifications
Clear all

[post_url] is missing colon

5 Posts
3 Users
0 Likes
68 Views
Posts: 72
Topic starter
(@vanessa)
Estimable Member
Joined: 1 month ago

Repro:

1. Create a reply where the text has a link, and the link is set to [post_url]

Expected:

Link resolves to https://www.sitename.com

Actual result

Link results to https//www.sitename.com 

4 Replies
Tutrix
Posts: 1119
(@tutrix)
Noble Member
Joined: 4 years ago

Hi @vanessa

>>> wpForo email shortcodes

Reply
3 Replies
(@vanessa)
Joined: 1 month ago

Estimable Member
Posts: 72

@tutrix thx, I've seen this page, but one of the shortcodes has a bug [post_url] doesn't correctly show the URL, it's missing a colon, so it comes out as http//sitename.com 

It should either give the full https://sitename.com, or only return sitename.com in my opinion.

Reply
Robert
Admin
(@robert)
Joined: 8 years ago

Support Team
Posts: 10287

@vanessa,

It's better to remove the link you're creating and use [post_link] shortcode.

Reply
(@vanessa)
Joined: 1 month ago

Estimable Member
Posts: 72

@robert I ended up doing this. Unfortunately the text of [post_link] is automatically determined.

I was trying to hyperlink custom text.

E.g. 'Click here to view the reply' and have that link to [post_url]

Reply