Find answers, ask questions, and connect with our
community around the world.

Forums Forums Web Design WordPress Featured Image Not Working

  • Featured Image Not Working

    updated 1 year, 1 month ago 0 Member · 1 Post
  • SharonP

    August 26, 2021 at 3:23 am

    I’m working on a custom WordPress theme. Although I have a relatively good idea what I’m doing, I’ve not done any extensive WordPress development before. The theme is basic, and on the whole I’m happy with the functionality. However, I cannot get the “upload featured image” option to show in the Edit Post area. I’ve added the following to my functions file, but it seems to have no effect. function post_thumbnails() { add_theme_support( ‘post-thumbnails’ ); /* Define image sizes */ add_image_size( ‘featured-image-single’, 500, 800 ); } add_action( ‘after_setup_theme’, ‘post_thumbnails’ ); What’s the best way to debug this? Other functions in the functions.php file are definitely being called. – by /hq/GeorgeFree2018 – –

Viewing 1 of 1 replies
Reply to: SharonP
Your information:

Original Post
0 of 0 posts June 2018