URL
-
Hello,
How to make a URL field clickable with the block
THANKS
-
Hello @baxter89, could you please explain more about your issue? The ACF URL field will be generated as a link tag, so it’s clickable.
Thanks, Phi.
Hello,
The URL field of ACF is displayed well, but in text it is not clickable, surely a bad manipulation on my part?https://snipboard.io/d9hbG4.jpg
@baxter89 So is it working fine for you now? Do you need any more help?
Yes the Google link for example, is displayed well but it is not clickable when you pass the mouse over it.
@baxter89 What is your version of ACF and WP? Could you please change the return format of the link field to ‘Link array’ and test the result?
Thanks, Phi.
@baxter89 Ah, I found the issue, you should use the Link field type not the URL field type. You should change the field type to Link and it will work fine.
It’s good I changed format in link it works.
WordPress 6.2
ACF 6.1.4THANKS
@baxter89 Great to hear that. By the way, it will work with all return formats for the link type.
Thanks, Phi.
One last question, can we open the link in a new page?
@baxter89 Yes, you can. When inputting the value for the Link field, there is a checkbox named
Open link in a new tabmake sure it’s checked then your link will be opened in a new tab/page.If you have time and you don’t mind, please help the plugin by giving it a rating as well.
Thank you very much, Phi.
I can’t find the checkbox?
@baxter89 There are lots of tutorials for ACF. For example this article https://wplake.org/blog/acf-link-field/, you can see the checkbox in the third image.
thank you, it works
@baxter89 You’re welcome. I’m glad it works now.
Thank you very much for your review, Phi.
Hello,
Just for information I made a small presentation of your plugin on my channel.
The topic ‘URL’ is closed to new replies.