wordpress add link to featured image WordPress add link to Featured Image add external link to wordpress featured image

WordPress add link to Featured Image

This is snippet that we’ve used for ages on our site so I thought I’d share it with you. What it enables you to do is add an external link to the featured image on the main post page. This is particularly useful for linking to client websites, affiliate links or any manner of URLs where linking out to an …

Centre an SVG in a Div

To centre an SVG in a div simply change its default ‘inline’ display to ‘block’ and then give it a margin of auto, so: – Still not centring, then give your SVG a ‘width’ property e.g. width: 200px;