I've been trying to add a caption to media I'm adding to my posts but when I insert the image it just inserts the image tag and the caption as 'alt', like so;
<img src="url" alt="the caption" />
instead of:
[caption id="attachment_6" align="alignright" width="300" caption="the caption"]<img src="url" />[/caption]
I'm using the latest version of wordpress and the twentythirteen theme.
Thanks in advance.
I guess it is related to your theme coding. Try using this shortcode: [caption width="600" caption="A football video"][embed]http://vimeo.com/14580921[/embed][/caption]
put caption into embed
And try switching to the default theme.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.