Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
Welcome to the Q&A for Question2Answer.

If you have questions about the platform, click here to ask and please use English.

If you just want to try Q2A, please use the demo, which also grants admin access.

Apr 29: Q2A 1.5.2

Conditional tag for Administrators

0 votes
I am trying to show a certain link just only for administrators, which conditional tag can I use for that?

Anyone got a clue?

I already checked User management in the documentation of q2a...
asked Aug 22, 2011 in Q2A Core by Aslan

1 Answer

+2 votes
 
Best answer
if (qa_get_logged_in_level()>=QA_USER_LEVEL_ADMIN)
answered Aug 22, 2011 by NoahY
Thanks a lot!