Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to Only Display Profile Field Image if Filled out – Facebook, Twitter, Youtube, Yahoo

  • @luvs123

    Member

    Hello, I have a question.

    I have some profile fields that users fill out that they put in the links to their facebook, twitter, yahoo, and youtube in it, (facebook profile URL, etc)

    But I wanted it to display an icon linking to their facebook profile, getting data from the profile field. So, simple enough I created something like this;

    `<a href="”>`

    Worked dandy, but what I want now, is that if the user has *NOT* filled out that field, I want the icon to not appear.

    How can I do this?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to Only Display Profile Field Image if Filled out – Facebook, Twitter, Youtube, Yahoo’ is closed to new replies.
Skip to toolbar