Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: specific profile fields in the loop, if empty show content previous member

@alscott99

Participant

Ah, actually in my most recent attempts I had started putting it right after that as a separate <?php section… But I just tried moving it within the code that actually has that comment (and removed the <?php stuff I added above), and it still doesn’t work.

Just to be sure we’re on the same page, I want it to show nothing if that profile field is blank, and otherwise show what’s been provided in that profile field… And right now, it’s showing, for example, “Los Angeles, CA” for the person who entered that location as well as the people after her in the list who didn’t enter a location.

Skip to toolbar