I’ve been looking at this for hours and I think this is close:
$company == get_the_author_meta('company');
$test == the_author_meta('industry');
if ($test=='Web/Interactive') {
echo $company;
}
?>
Can someone advise me here? What I want to do is display a company name (meta_value) if the industry (meta_key) is equal to a value. Why is this so hard?
« Displaying author list according to custom author meta Thought my portfolio was gone… but no! »

If you still need help with it, the following should work:
if (get_the_author_meta(‘industry’) == ‘Web/Interactive’) {
the_author_meta(‘company’);
}
I say should, because I have problems with get_the_author_meta() what does not return the right value for me but printing it as well.
Exactly what I needed, thanks!
You are very welcome.