Jump to the post that solved this thread.
Solved: 6 Years, 9 Months, 3 Weeks ago Custom Profile Fields
#1
Solved: 6 Years, 9 Months, 3 Weeks ago
Hi there,

I've added some custom profile fields in the administration panel and added them into the post bit individually. However, if the profile field is not filled in it still displays in the post bit.

For example

Motto: customfielddata

I would only like it to show the above if the field is filled in.
-Ben

Please do not PM me for support. I am looking to be hired for paid services.

You can view my paid services here.
Reply
#2
Solved: 6 Years, 9 Months, 3 Weeks ago
can you explain more
or add a screeshot
Reply
#3
Solved: 6 Years, 9 Months, 3 Weeks ago
first you need the PHP in Templates plugin... after activating the plugin, use a if conditional to display the profile fields...

<if !empty($post['fidX']) then>
Field Title: {$post['fidX']}
</if>

replace X with the value of your custom profile fields...
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#4
Solved: 6 Years, 9 Months, 3 Weeks ago
Thank you very much.
-Ben

Please do not PM me for support. I am looking to be hired for paid services.

You can view my paid services here.
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)