How can I enable featured images for listings?

You are here:
  • KB Home
  • Media
  • How can I enable featured images for listings?
< Back

 

  • Add to the theme’s functions.php file:
    add_post_type_support(‘directory_dir_ltg’, ‘thumbnail’);
  • Make sure to change directory_dir_ltg to the post type name of the listing in your directory. You can view this from Directories –> [Your Directory] –> Content Types.
  • If you have multiple directories, simple add multiple add_post_type_support, one for each directory.