• Closed
  • Marco Alvarado
    Spectator
    August 11, 2014 at 3:12 am #8572

    Hey guys where in the editor do I find the:

    the_post_thumbnail() function

    so it can be replaced with:

    the_post_thumbnail( ‘thumbnail’, array(‘itemprop’=>’image’ ) );

    I’m in over my head, but I’m working on it.

    Thanks for the help.

    -marco

    QualityTimeDivers.com

    Alok Maheshwari
    Spectator
    Posts: 303
    August 12, 2014 at 11:19 pm #10325

    There are multiple places where the_post_thumbnail is being used in the theme. I would suggest you to use an editor like brackets.io and search for the_post_thumbnail and then replace them one by one by adding the array(‘itemprop’=>’image’ ) section making sure you are only editing the ones which are needed. A blanket replace all won’t work since the function is using different parameters in different places.