I'm using WP 3.6.1 and when I insert an image in post add\edit screen it generates the text like
<a href="...">
<img class="alignnone size-medium wp-image-8858" alt="..." src="..." width="300" height="168"/>
</a>
But I'd like to have the caption shortcode generated automatically as well. Here is an example:
[caption id="attachment_8858" align="alignnone" width="300"]
<a href="...">
<img class="alignnone size-medium wp-image-8858" alt="..." src="..." width="300" height="168"/>
</a>Caption text
[/caption]
How could it be accomplished? I know that some themes\plugins allow for that, but I cannot find such.
Thanks in advance