• Creator
  • #8572

    Marco Alvarado

    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
    #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)

The topic ‘schema.org function’ is closed to new replies.