• Resolved TecBrat

    (@tecbrat)


    I’d like to suggest the addition of image captions. I’m sure you’d do a more elegant job than me, and make it a boolean option, but here’s my code dropped into includes/widget.php

    		...} // if show_thumb
    
    		
    		//Adding a caption here
    		?><span class="FeaturedCaption"><?php the_post_thumbnail_caption(); ?></span><?php
            
            // show title if wished
    ...
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Martin Stehle

    (@hinjiriyo)

    Well, it is an interesting idea. But I prefer a slim approach, just featuring the posts more than the images. What do you think?

    Thread Starter TecBrat

    (@tecbrat)

    I asked because my client wants it.

    I can edit, and have edited, the code. But any time the plugin updates, I’ll have to re-write my edit. I figured I’d let you know that it’s been requested and see if you’d consider adding it as an option, like you do for Post Title.

    Looking back at my code, I should have put in inside the “if show_thumb” block, but that’s a minor issue at this point.

    • This reply was modified 4 years, 6 months ago by TecBrat. Reason: Add comment about improving my code
    Plugin Author Martin Stehle

    (@hinjiriyo)

    I tend to not include that feature into the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Include image caption’ is closed to new replies.