• Resolved SuperCougar

    (@supercougar)


    Hi Alanft,

    In another topic I asked you the following question:

    “How to display a widget just for one particular admin?”

    You gave me a solution that works perfectly:

    global $current_user; get_currentuserinfo(); return($current_user->ID==X);

    Now, I have the same question for several administrators.

    I have 5 administrators for one of my blogs and I would like to make it work for 3 of them only, not for them all.

    So, how could I do? Maybe with an “array()”?

    I am not a programmer, so I can’t find the solution by myself.

    Thanks in advance for your help.

    Best Regards

    https://www.ads-software.com/plugins/widget-logic/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to display a widget for a group of admins only?’ is closed to new replies.