RLASKEY::words

Modifying OpenGraph Data from WordPress’s Jetpack

This is my solution to the problem plucked up by using WordPress’s Jetpack, which really is just a very subtle change to the suggested code in this support post.

By default, JetPack adds these others which you may want to modify, too: ‘og:type’, ‘og:title’, ‘og:url’, ‘og:description’, ‘og:site_name’, and ‘twitter:card’. It picks reasonable defaults for all of these, though for ‘twitter:site’ and ‘og:image’, it seems as though these should be configurable more easily in a dashboard somewhere. Until then, this works about as well.

Leave a Reply