How to show image in google search

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math today.

    The Article rich snippet type will use the post featured image to create schema ready data and thus you will need change the featured image and assign the image that you would like to show up on the SERP.

    Alternatively, you can make use of the following filter to change the image entity for this snippet type by supplying a new URL to the image:

     * Filter to Short-circuit Schema if a 3rd party is interested in generating their own data.
     * Replace $schmea_type with schema name like article, review, etc.
     * @param array $entity Snippet Data
     * @return array
    add_filter( "rank_math/snippet/rich_snippet_{$schema_type}", function( $entity ) {
    	return $entity;

    Looking forward to helping you. Thank you.


Viewing 1 replies (of 1 total)

You must be logged in to reply to this ticket.