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

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -