dil_bert Posted February 11, 2020 Share Posted February 11, 2020 dear experts, dear user, currently working on a setup of a wordpress with theme twentyseventeen the question is: how to add the featured image to a page !? see the screen: <img src="https://imgur.com/oMfAl76"/> look forward to hear from you regards say Quote Link to comment https://forums.phpfreaks.com/topic/310011-wordpress-how-to-add-the-featured-image-to-a-page-%C2%A0/ Share on other sites More sharing options...
dil_bert Posted February 12, 2020 Author Share Posted February 12, 2020 hello again, untill now i did not fix the issues, here a description that fits most: https://wordpress.org/support/topic/post-page-not-showing-featured-image/ question: I have installed the theme but on post page, none of the post showing the featured images, just showing on the home page… Can anyone help to resolve this problem so post page can also show the related featured image? answer: I managed to bodge it by adding this to (my child theme’s) single.php ` <?php if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it. the_post_thumbnail( 'full' ); } ?> (Insert after <?php while ( have_posts() ) : the_post(); ?>) <img src="wherever" /> and a link: https://www.wpbeginner.com/beginners-guide/how-to-add-featured-image-or-post-thumbnails-in-wordpress/ note: i did not have applied the code to a child-theme yet. but i deactivated all the plugins - step by step. - without any success. note: i have upgreaded the server from PHP-Version 5.6 to Version 7.2xy at the moment i struggle with some issues on the page: `Warning: ini_set(): open_basedir restriction in effect. File(/tmp/wp-errors.log) is not within the allowed path(s): (/sites) in /sites/www.my-site.com/wp-includes/load.php on line 345` condluding question: is it possible that this can cause the issues?!? with the featured image!? look forward to hear from you regards Quote Link to comment https://forums.phpfreaks.com/topic/310011-wordpress-how-to-add-the-featured-image-to-a-page-%C2%A0/#findComment-1574217 Share on other sites More sharing options...
aniketkumar Posted May 22, 2020 Share Posted May 22, 2020 To set the feature image in wordpress website there is an option on the side of the post. Quote Link to comment https://forums.phpfreaks.com/topic/310011-wordpress-how-to-add-the-featured-image-to-a-page-%C2%A0/#findComment-1578283 Share on other sites More sharing options...
zuanedu Posted March 22, 2021 Share Posted March 22, 2021 click to edit the post or page you want to assign an image to. Click on “Set Featured Image” . Quote Link to comment https://forums.phpfreaks.com/topic/310011-wordpress-how-to-add-the-featured-image-to-a-page-%C2%A0/#findComment-1585279 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.