Featured image in units

Home Forums Legacy Support Support queries How-to & Troubleshooting Featured image in units

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9160
    David
    Participant
    Add the following code on functions.php to enable featured image in units.  
    // ADD FEATURED IMAGE ON UNIT POST
    add_action('init','unit_featured_image');
    
    function unit_featured_image(){
          add_post_type_support('unit','thumbnail' );
    }
       
    #9166
    David
    Participant
    // ADD FEATURED IMAGE ON UNIT POST add_action('init','unit_featured_image'); function unit_featured_image(){ add_post_type_support('unit','thumbnail' ); }
    #9247
    Anshuman Sahu
    Keymaster
    Is your featured image is not showed up even after adding the code ?
    #9387
    David
    Participant
    Right now, it's working with the code.
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Featured image in units’ is closed to new replies.