Skip to content

How to generate OpenGraph/Twitter Card Image for every article #2995

Answered by jcubic
jcubic asked this question in Q&A
Discussion options

You must be logged in to vote

So if anyone is interested, now or in the future. I've created shorcode for this. And to render the image that include foreignObject and p tag, so the title wraps into multiple lines I used Pappetier.

This is the commit that add this jcubic/jankiewicz@c1642a4

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jcubic
Comment options

You must be logged in to vote
1 reply
@jcubic
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants