Image caption shortcode can't parse #53

Closed
Narga opened this Issue Jun 12, 2012 · 2 comments

Projects

None yet

3 participants

@Narga
Narga commented Jun 12, 2012

Today, when I posting a new topic with Reverie, I found that Wordpress's image caption shortcode can't parse like origin theme. When I insert a image with caption from media modal box, it's only a tag and image tag without [caption] code. I've check the functions.php then I known the image caption was rewrote for HTML5, that's great but the editor only add simple image with link.
Sorry for this mess content, I'm writing with on-screen keyboard because my laptop's keyboard has a problem.

@Firestorm-Graphics
Contributor

I believe caption tags are stripped, check in functions.php

@milohuang
Owner

Looks like the tags were stripped by the HTML5 function. You need to do a workaround for adding caption. First insert the image, and then click the image and choose "edit image" to add caption. In this way, it works. Or you can just remove those functions (image_tag_class and cleaner_caption) in functions.php.

@milohuang milohuang closed this Jan 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment