Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing filter for og:image:type #21363

Closed
Dominic-Marcelino opened this issue May 3, 2024 · 3 comments
Closed

Missing filter for og:image:type #21363

Dominic-Marcelino opened this issue May 3, 2024 · 3 comments

Comments

@Dominic-Marcelino
Copy link

Is your feature request related to a problem? Please describe.

When setting a custom og-image via the wpseo_opengraph_image there's no way to also set the image type. In this case it will always fall back to the type of the default image.

Describe the solution you'd like

Add a filter wpseo_opengraph_image_type which allows us to set the type manually

Why do you think this feature is something we should consider for the Yoast SEO plugins?

In case a user set's a custom image which has an other format than the default image, Yoast SEO will add a wrong type tag. This shouldn't happen.

Additional context

It's the same issue as for image with and high reported in #15052

@josevarghese
Copy link
Contributor

Thank you for suggesting a new feature for the Yoast SEO plugin to add a new filter for the og:image:type

What's next? 
Our product team will assess feature requests in relation to other open bug reports like #15052 and new features. Based on their assessment, the feature request will be given a priority level. Our developers work on the highest priority first. Unfortunately, this means we cannot give you an estimate if or when they'll start working on your request.

@Dominic-Marcelino
Copy link
Author

Will be closed by #21383 and #302

@josevarghese
Copy link
Contributor

Hi @Dominic-Marcelino

Yes, our team is working on it, and it's now under review process. As its on the development stage and I hope it will be included on our coming version, I am closing this feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants