0

I'm trying to add an image that when clicked on directs the user to another page on my website. I don't want any visible text link, just the image.

How do I do this?

  • you should definitely try smth and then show us so we can help you. – Cornel Raiu Dec 30 '19 at 0:04
2

If you're trying to link the image to the page in the post editor you can click on the image and then click the link icon to set the target.

You can do the same thing in HTML (in the editor in source view), in a plugin, or in a theme like this:

<a href="/link/to/your/page">
  <img src="/link/to/your/image" />
</a>
  • thanks @cstrouse , this works – Charlie Dec 30 '19 at 0:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.