[post_url] is missi...
 
Notifications
Clear all

[Closed] [post_url] is missing colon

5 Posts
3 Users
0 Reactions
286 Views
Posts: 94
Topic starter
(@vanessa)
Estimable Member
Joined: 7 months 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: 1301
(@tutrix)
Noble Member
Joined: 4 years ago

Hi @vanessa

>>> wpForo email shortcodes

3 Replies
(@vanessa)
Joined: 7 months ago

Estimable Member
Posts: 94

@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.

Robert
Admin
(@robert)
Joined: 8 years ago

Support Team
Posts: 10522

@vanessa,

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

(@vanessa)
Joined: 7 months ago

Estimable Member
Posts: 94

@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]