woocommerce missing feature images

Discussion in 'RoadFighter WordPress Theme' started by sunlons, Dec 26, 2014.

  1. sunlons

    sunlons New Member

    Joined:
    Dec 1, 2014
    Messages:
    8
    Likes Received:
    0
    Hello,

    I change in your function.php
    add_theme_support('post-thumbnails', array('post', 'gallery_post'));
    into
    add_theme_support('post-thumbnails', array('post', 'gallery_post', 'product'));

    and woocommerce "feature images" coming out, and works.

    But if I only add
    add_theme_support('post-thumbnails', array('post', 'gallery_post', 'product'));
    in my child theme's function.php, not work.

    I don;t want to change it into parent theme, consider future updating, how to change in my child theme, and also work?

    What should I write in my child theme?
     
  2. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,

    Code:
    <?php
     
    add_theme_support('post-thumbnails', array('post', 'gallery_post', 'product'));
     
    ?>
    Are you using this syntax.


    Thanks & Regards
    Pramod
     
  3. sunlons

    sunlons New Member

    Joined:
    Dec 1, 2014
    Messages:
    8
    Likes Received:
    0
    yes, I add it in my child theme, not work.
     
  4. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,

    Please provide the following information listed below.
    This Thread Link:
    Your Website URL:
    WordPress Username:
    WordPress Password:
    Send this information on our email at [email protected]

    Thanks & Regards
    Pramod
     

Share This Page