Href missing in image links
-
Hi,
When inserting images (Add Media) the href tag is no longed part of the link, which should look like this:
<a href="https://www.ross.no/wp-content/2021/06/20210625-DSC_1702-1-4.9-scaled.jpg"><img class="alignnone size-medium wp-image-196476" src="https://www.ross.no/wp-content/2021/06/20210625-DSC_1702-1-4.9-700x466.jpg" alt="Fiskem?ke – Mew gull (Larus canus)" width="700" height="466" /></a>
Instead it’s now just this:
src="https://www.ross.no/wp-content/2021/06/20210625-DSC_1702-1-4.9-700x466.jpg" alt="Fiskem?ke – Mew gull (Larus canus)" width="700" height="466" /></a>
This means that images are no longer clickable and zoomable – only the featured image – of the post.
This post is how it should be working: https://www.ross.no/2021/06/25/fiskemake-mew-gull-larus-canus-22/
I have noticed this has happened intermittently in past years after I did an audit on my site’s more than 4k posts and 7k images, but they were just a handful.
Last time this worked was in July, and I haven’t created any new posts since then.
WP is 5.8.3.
The page I need help with: [log in to see the link]
- The topic ‘Href missing in image links’ is closed to new replies.