Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

@alscott99

Participant

Thanks for your feedback, @danbp.

When I copied everything into pastebin yesterday, I had the code commented out because it wasn’t working and I didn’t want it showing incorrectly on the page.

Later, I deleted that whole commented code section and replaced it with the last code @shanebp shared.

Here’s a new pastebin of the current code: http://pastebin.com/bynhRb2g
And here’s a screenshot of what that’s creating on my page right now: http://screencast.com/t/AcTotzQ2

I haven’t done anything else in this file, so the count code came from the theme developer, I guess. (Maybe you can tell from the screenshot what he was trying to accomplish with that code?)

Skip to toolbar