wordpress snippets last updated   : April 14, 2014
we now have 630 snippets

Display all subscribers in an unordered list

wordpress snippet

Adding this snippet to your wordpress theme will display all subscribers in an unordered list

read more

Display list of authors in a dropdown menu using wp_dropdown_users

wordpress snippet

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

Add total members to “Right Now” dashboard widget

wordpress snippet

Great little snippet that will display the total number of members within the Right now dashboard widget. Just add this to the functions.php of your wordpress theme and you are ready to go.

read more

Remove personal options from user profiles

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will remove the personal options from users profiles.

read more

Restricting users to view only media library items they upload

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will restrict users to view only media library items they upload. They will still see the total number of files that are uploaded but will not be able to view them even if they type in the attachment_id.

read more

Private posts for logged in users

wordpress snippet

Using this as your wordpress loop will display posts with the custom field of private only to users that are logged into your website.

read more
jqsnipp.com | we just launched jquery snippets website