Support » Plugin: SEO Ultimate » Setting Open Graph's image to specific image

  • jamesewelch


    I have a custom theme where I show a category specific image next to the article’s title/header.

    Is there a way where I can specify this category image to be used as the default Open Graph image rather than the default site-wide image? If I have a featured image or image attachment, then that image is selected. However, for majority of posts I don’t have images just the category image associated with text.

    So I’m looking for a hook or method I can call in my custom built theme to override the code that generates the OG meta tags so I can use the category image, but also allows featured image/attachment to override any default/category image.


  • The topic ‘Setting Open Graph's image to specific image’ is closed to new replies.