php - Featured Images in WP not showing -


added line of code in function.php file

add_theme_support('post-thumbnails');

after going saving, , looking @ screen options, featured images still wasn't showing. went far check if custom fields correct , had unmarked show

first: (i assume it's typo in description): change function.phpto functions.php

second: try call add_theme_support('post-thumbnails') within function attached after_setup_theme hook shown in documentation.

// register theme features function custom_theme_features()  {      // add theme support featured images     add_theme_support( 'post-thumbnails' ); }  // hook 'after_setup_theme' action add_action( 'after_setup_theme', 'custom_theme_features' ); 

i hope these steps fix issue, otherwise necessary provide more of code


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -