Created
January 3, 2024 00:02
-
-
Save henshaw/f2b5f4d9f6f6bc5455f2f4950a2e834f to your computer and use it in GitHub Desktop.
Open Graph Thumbnail Images for WordPress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( function_exists( 'add_theme_support' ) ) { | |
add_theme_support( 'post-thumbnails' ); | |
set_post_thumbnail_size( 150, 79, true ); | |
add_image_size( 'single-post-thumbnail', 1200, 630 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Referenced on Google News Guide: How to optimize your site and article content to appear in Google News