I have an url field. It renders the link with https://
as it was entered and validated. How can I render it without https://
?
https://mylink.com
to
mylink.com
I have an url field. It renders the link with https://
as it was entered and validated. How can I render it without https://
?
https://mylink.com
to
mylink.com
Kirby’s Url::short('https://mylink.com')
could be what you are looking for?
Alternatively building something custom using PHP’s str_replace or parse_url functions is an option.