Specify og:image
-
Hello, i’ve just switched to SEO Framework from Yoast and i have to say i’m impressed so far!
I’ve managed to move all settings to SEO Framework, the only thing i don’t know how to do is how to make the plugin use a specific size for og:image.
I have created an image size in my functions:
add_image_size( 'fn-og', 1200, 630, true ); // Hard Crop Mode
Now i want to make the plugin to use that specific image size for og:image.
With yoast i could do this:
add_filter( 'wpseo_opengraph_image_size', 'ac_wpseo_image_size', 10, 1 ); function ac_wpseo_image_size( $string ) { return 'fn-og'; }
is there an alternative function for the SEO Framework?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Specify og:image’ is closed to new replies.