Skip to content

Documentation

Extensive Documentation for PowerPack & WooPack to help you with common questions and issues.

PowerPack

⌘K
  1. Home
  2. Docs
  3. PowerPack
  4. Modules
  5. Content Grid
  6. How to change the Site Logo Image in Schema?

How to change the Site Logo Image in Schema?

Content Grid by default fetches the site logo from the Customizer. Add the following code to the current theme’s functions.php file to change the site logo shown in the schema markup in Content Grid.

add_filter( 'pp_post_schema_meta_publisher_image_url', function( $image_url ) {
	$image_url = 'http://yourimageurl';
	return $image_url;
}, 10, 1 );
×