Skip to main content

LinkedIn Company profile in social links

... is not working. It works only for LI user, there is no way how to add LI company URL because it uses predefined user slug for LI

Tawsif Ahmed Riyad

By default, '.com/in/' is configured in the domain of LinkedIn. Because of the domain ending with '/in/', you cannot add a company, as company url ends with .com/company/.
So you can use the pre-given custom filter hook to update your LinkedIn domain by removing the end part '/in/',

add_filter('fluent_community/social_link_providers', function($providers) {
    $providers['linkedin']['domain'] = 'https://linkedin.com/';
    return $providers;
});

By this, users can add a company or their own profiles. They just have to add /in or /company manually by themselves in the input field; only then will it work.