Automattic / jetpack

Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic.
https://jetpack.com/
Other
1.59k stars 799 forks source link

Enhancement: Make Social Image Generator Available for Pages #33847

Open bobmatyas opened 1 year ago

bobmatyas commented 1 year ago

Impacted plugin

Social

What

I would like to be able to use the Social Image Generator to create a default social image template that would be used for all pages on a website.

How

No response

pablinos commented 1 year ago

Currently Social Image Generator is tied to auto-sharing as a feature, and we don't enable that on Pages, so people aren't sharing their privacy policy or something by accident.

It can be enabled for Pages or other custom post types with add_post_type_support https://developer.wordpress.org/reference/functions/add_post_type_support/

add_post_type_support( 'page', 'publicize' ) should do the trick, but this is obviously quite a technical solution.

I think we can look to add a for enabling the features for different post types.