Feature image shortcode thumbnail size -
i using shortcode place feature image inside post content area. there way change shortcode apply image size change 50x50px? or maybe best way change size add custom class shortcode?
add_shortcode('thumbnail', 'thumbnail_in_content'); function thumbnail_in_content($atts) { global $post; return get_the_post_thumbnail($post->id); }
Comments
Post a Comment