Skip to content
Discussion options

You must be logged in to vote

Simply use the shortcodeOutput option to have full control over the generated code, prefixing with https://example.com here:

shortcodeOutput: async (ogImage) => `<meta property="og:image" content="https://example.com${await ogImage.outputUrl()}" />`,

Replies: 7 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by KiwiKilian
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
Converted from issue

This discussion was converted from issue #360 on October 21, 2025 06:50.