Reputation
2,933
Top tag
Next privilege 3,000 Rep.
Cast close & reopen votes
Badges
1 9 27
Newest
 Enlightened
Impact
~157k people reached

Sep
14
awarded  Enlightened
Sep
14
awarded  Nice Answer
Jul
8
awarded  Yearling
Sep
30
awarded  Explainer
Sep
25
awarded  Revival
Jul
8
awarded  Yearling
Jul
8
awarded  Yearling
Apr
26
reviewed Reviewed How do I export my WordPress blog as a book?
Apr
11
awarded  Revival
Jan
26
awarded  Revival
Jan
14
comment Is this a WordPress security bug?
You can use is_user_logged_in() to check if user is logged in or not
Jan
14
revised Is this a WordPress security bug?
added another example to meet askers requirements.
Jan
14
comment Is this a WordPress security bug?
@AKTed yep, is_admin() checks for current page type not the visiting user's.
Jan
14
comment Is this a WordPress security bug?
refer to other answer by @EAMann to know more about is_admin()
Jan
14
answered Is this a WordPress security bug?
Jan
14
comment Is this a WordPress security bug?
There's an error (') in your code.
Oct
20
reviewed Reviewed Which is the simplest theme for Wordpress to use it as your base?
Oct
20
reviewed Reviewed Extract & Display the REAL first image attached to a post - extend the_post_thumbnail()
Oct
20
reviewed Reviewed How to deactivate my plugin upon deactivation of NextGen
Oct
20
reviewed Reviewed Displaying multiple post types on home page