Support
Support » Fixing WordPress » Display Image Captions Link in Template File
(@gleenk)
11 years, 1 month ago
Hi there, how can i print links in Image Captions in my theme, for example in single.php? I tried:
echo get_post(get_post_thumbnail_id())->post_content;
But it shows only text without hyperlink. (using post_excerpt is the same). Thanks