$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>post thumbnails error|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

post thumbnails error

matteradmin8PV0评论

i want to make a wp theme myself almost i do it but there is a biiiig problem and i cant solve it i had add add_theme_support to function and add the post thumbnail in my index but still cant give the posts , featured image. if i apply another theme i can set featured image but on my own damn theme no ! also when i add featured image on another theme to my post , i can see that image when my theme is applied but still cant edit or delet that !!! and i check all over the edit-post page and there is no featured image option to check that damn box

please help me ❤

i want to make a wp theme myself almost i do it but there is a biiiig problem and i cant solve it i had add add_theme_support to function and add the post thumbnail in my index but still cant give the posts , featured image. if i apply another theme i can set featured image but on my own damn theme no ! also when i add featured image on another theme to my post , i can see that image when my theme is applied but still cant edit or delet that !!! and i check all over the edit-post page and there is no featured image option to check that damn box

please help me ❤

Share Improve this question asked Jan 31, 2019 at 7:29 user160223user160223 1
Add a comment  | 

1 Answer 1

Reset to default 0

Are you added add_theme_support( 'post-thumbnails' ); line into functions.php file of your theme?

Also check the loop. Are you added the_post_thumbnail() function there?

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far