Skip to:
Content
Pages
Categories
Search
Top
Bottom

Conditional tag for a particular user

  • I would like to know if there is a particular template tag to check (in profile for example) what user that profile belongs to.

    i.e if is user id=x then do sth.

    It might sound strange, given that the profile already takes care of this. But I need to add some data to only a few users, and that data can’t be “user-editable”. If this could be done with the custom profile fields plugin (add some fields which are only admin editable) then, please, instruct me.

    Otherwise, I just need to hardcode the data for these few users.

    Thanks in advance.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar