-
<? php if (has_post_thumbnail()) { the_post_thumbnail('thumbnail'); }
-
<? php if (has_post_thumbnail()) { the_post_thumbnail('thumbnail' , array ('alt'=> trim( strip_tags ( $post ->post_title )), 'title'=> trim( strip_tags ( $post ->post_title ))));}
Tips:
To modify the theme, please go to the background - Appearance - Editing or use special editing software. It is recommended to use free Notepad++
The Chinese theme template code is: UTF-8 without BOM Otherwise, the modification will cause dislocation.