gravityview_get_entry() doesn’t work
https://docs.gravityview.co/article/211-opengraph-meta-tags-single-view-wordpress-seo-plugin
For me this code doesn’t work:
// Get Entry
$entry = gravityviewgetentry( $entry_id );
if (! $entry ) {
return $title;
}
Changing it to this fixes it:
// Get Entry
$entry = gravityviewgetentry( $entry_id, true, false );
if (! $entry ) {
return $title;
}
Additionally, your og:image code doesn’t work and I haven’t bothered to debug that!
1
vote
![](https://secure.gravatar.com/avatar/8f8ff21a67437febebc70afd19364e95?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
Thanks for the heads-up! I’ve fixed the code in the doc.
For the `og:image` code, please contact support (support@gravityview.co) and we’ll help get that working!