Support » Fixing WordPress » Display Image Captions Link in Template File

  • 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

  • The topic ‘Display Image Captions Link in Template File’ is closed to new replies.