wordpress snippets last updated   : October 6, 2014
we now have 641 snippets

Display wordpress login form anywhere with wp_login_form

wordpress snippet

Depending on how you are using WordPress you may have given users the ability to register to your website. Now all you need is a simple and beautiful way to let them register. This snippet will provide a simple way of adding that login form. Just add the first snippet in the location of your theme you wish to display the login form.

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

List last five registered users

wordpress snippet

Place this PHP code anyplace within your wordpress theme and it will display the latest 5 registered member to your website.

read more

Notify members on new posts

wordpress snippet

Adding this PHP code snippet to the functions.php of your wordpress theme will notify users of new posts. Please note that this snippet is best used for low volume sites. Large websites should consider alternative options.

read more

Require login to view posts in wordpress

wordpress snippet

Adding this PHP code to the functions.php of your wordpress theme will require users to login before viewing specific posts defined by and array of post IDs. Once the user is logged in they will be redirected to the original post.

read more

Total number of members

wordpress snippet

Adding this PHP code into your wordpress theme will display the total number of members.

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