Wordpress Captions with Links
Wordpress Captions with Links
Out of context: Reply #3
- Started
- Last post
- 4 Responses
- dbloc1
figured it out doing it differently. The caption echos out with special characters, so those special characters have to be decoded with,
<div class="smallcaption"><?= htmlspecialchars_decode( $the_caption ); ?></div>
This way I don't have to use jQuery to convert it