Home Forums Theme Support Dokan Featured Image and custom field

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  towhid 4 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #41580

    Martin
    Participant
    Post count: 130

    Is there a custom field for the featured image of a product?
    Does it contain the full path?
    What does it contain, if there is no image?
    Thank you and regards
    Martin

    #41636

    towhid
    Participant
    Post count: 4505

    Hello Martin,

    For get feature image of a product or post please use this function – get_the_post_thumbnail( $size, $attr );.

    To know more about how to featured image please read this documentation – http://codex.wordpress.org/Function_Reference/get_the_post_thumbnail

    Thank you:)

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Featured Image and custom field’ is closed to new replies.