How can I enable featured images for listings?

How Can We Help?
< Back
You are here:
Print

 

  • 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.

 

Table of Contents