• Made this workaround to get featured images to work:

    In your theme’s directory, edit the appropriate content-*.php file.

    Change wherever appropriate from:

    <?php the_post_thumbnail(); ?>

    To:

    <?php
    	if (function_exists('hammy_replace_images')){
    		echo hammy_replace_images(get_the_post_thumbnail());
    	}else{
    		the_post_thumbnail();
    	}
    ?>

    Works great.

    https://wordpress.org/plugins/hammy/

Viewing 1 replies (of 1 total)
  • this doesn’t work for me,
    I see only the “else” 🙂

    Hammy replaces the_content => img

    preg_match_all( '/<img (.*?)\/>/', $content, $images );

Viewing 1 replies (of 1 total)
  • The topic ‘How To: Feature Image Support’ is closed to new replies.