Always [figure] around [img]
-
Hello World,
in current versions, WP supports HTML5 figure tags, activated like this:
add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption' ) );
But it adds a <figure> tag only if there is a caption.
I want to have an <figure> tag around ALL <img> tags, with or without captions, since I can layout them better, e.g. place them completely outside the surroundong <p> elements.
This should not be too complicated …?
Thanks a lot
Arnd
- The topic ‘Always [figure] around [img]’ is closed to new replies.