images – Shortcode not work in picture source srcset tag

Question

i have in my WP plugin:

<picture>
    <source  type="image/webp">
    <img src="[bloginfo key='template_url']/images/image.png">
</picture>

In a browser, img src code is OK, but on a srcset stays [bloginfo key=’template_url’]. What i missing about shortcode and srcset attribute to display it right?

Regards!

0
user203728 2 months 2021-03-22T03:42:12-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse