Webriti Support Forum
WordPress Premium Themes
Make clients images clickable to their URL
I would like to make clients images clickable to their URL.
Following the discussion
, I have made a custom field, and filled it.
But when I click the picture, it redirects to my own website.
My field had a bad name. Was "client_url", but needed to be "url"
edited October 2018
Use the "
Add JS Code
in the plugin via copying from the
Now, add your
client image's URLs
& Clickable links to that code like as in this
In the above code, you will find such pattern like as in below:
First line shows my dummy links. Replace the first URL (...2018/10/fashion-5-1.jpg) with your
client image URL
and another URL (
) with the URL to which your want to redirect after clicking on that image respective.
Full fill the remaining links in b/w the single quotation marks.(You can add as many as clients you want just extending this pattern)
Let me know did it work!
using JS Code is too complex for the writers of the website.
I used your previous method with Advanced Custom Filds and Child Theme, and it works like a charm.
Maybe it seems complex but it would avoid adding additional PHP codes.
Glad to know your query resolved. You can rate us with your kind review if you like our
Theme & Support
This discussion has been closed.