• Creator
  • #8572

    Marco Alvarado
    Been thanked: 0 times

    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.



Viewing 1 replies (of 1 total)
  • Alok Maheshwari
    Post count: 303
    Been thanked: 0 times
    #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 by 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.

Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.