Here is a handy little code snippet that falls into the basic category for WordPress but can prove to be extremely useful when customizing your installation. Whether you’re working with WordPress, WPMU or BuddyPress, these little tips will give you greater flexibility in building your community.
<?php if (is_user_logged_in() ) { //only logged in user [...]




