Redirect based on user roles or capabilities
Adding this snippet to the functions.php of your wordpress theme will let you redirect users based on roles or capabilities.
read moreRemove admin color scheme options from user profile
This is an alternative method to the one I posted some time ago, “Remove admin color scheme picker from profile” Adding this snippet to the functions.php of your wordpress theme will remove the admin color scheme from the user profile.
read moreSend email notification when profile updates
I got a few emails asking about sending an email when a user simply updates the profile. Well here it is, adding this snippet to the functions.php of your wordpress theme will send an email notification to the user when the user profile updates.
read morethis months featured snippets
Display all subscribers in an unordered list
Adding this snippet to your wordpress theme will display all subscribers in an unordered list
read moreSend email notification when user role changes
Adding this snippet to the functions.php of your wordpress theme will send the member an email notification when the user’s role has changed.
read moreDisplay content based on user capability
Adding the first snippet to the functions.php of your wordpress will let you display content base on user capability. Use the second snippet in your posts with the corresponding capability. View the codex for more information on capabilities Great little snippet By Justin Tadlock.
read moreDisplay avatar for currently logged in user with get_avatar
Adding this snippet to your wordpress template will display the currently logged in users avatar in your theme. To adjust the side of the avatar change the number 64 within the get_avatar function default is 96 and max size is 512.
read moreDisplay list of authors in a dropdown menu using wp_dropdown_users
Adding this snippet to your wordpress template will display a list of authors within a dropdown menu linking to their author profiles. I also excluded the default user ’1′ as the administrators would also be display. This is a comma separated list so you can remove any users that you don’t wish to display.
read more











