Page elements viewable only by admin?
I was wondering if someone can point me in the right direction. Though I am a webmaster, marketing is my forte and cutting code is quite foreign to me but I get by.
members_online.phpplugin installed and though I like to see who’s been online today, I don’t want potential advertisers seeing that information or indeed forum members as it can provide a distorted view of site traffic stats.
Here is the snippet of code from the
front-page.phpfile which generates the summary on the forum front page.
<h3><?php _e('ONLINE TODAY'); ?></h3>
<p><?php do_action('members_online_today',''); ?></p>
Can someone please tell me what to do to make that output visible only to admins?
Thank you in advance
- You must be logged in to reply to this topic.