Help with displaying the_author_meta values for WordPress?

I’ve been looking at this for hours and I think this is close:

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?


  1. If you still need help with it, the following should work:

    if (get_the_author_meta(‘industry’) == ‘Web/Interactive’) {

    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.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">