Notifications
Clear all

Random member image avatar used when sharing forums on socials

3 Posts
2 Users
0 Reactions
127 Views
marsm
Posts: 137
Topic starter
(@marsm)
Estimable Member
Joined: 4 years ago

Whenever I post my main forum link on LinkedIn, it pulls a member’s avatar image. 

https://renewableheatinghub.co.uk/forums

 

2 Replies
marsm
Posts: 137
Topic starter
(@marsm)
Estimable Member
Joined: 4 years ago

I have done this already. It’s changed forum posts, but not my main URL as above.

function my_default_og_image( $image_url, $type ){
    if( $type == 'og:image' && !$image_url){
        return 'https://example.com/images/mylogo.jpg';
    }
    else{
        return $image_url;
    }
}

add_filter('wpforo_find_image_url', 'my_default_og_image', 10, 2);
Reply
1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 4802

@marsm 

This issue comes from the SEO plugin you're using. Please exclude the wpForo plugin from the SEO plugin settings. 

Reply