wordpress snippets last updated   : August 18, 2014
we now have 638 snippets

Display all posts within a dropdown menu

wordpress snippet

Adding this snippet to your wordpress theme will display a list of all your posts within a dropdown menu. You can adjust the number of posts displayed by changing the -1 value within the $args array.

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

Change “select category” name within category dropdown widget

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you change the name displayed within the select menu category dropdown widget.

read more

Add dropdown to search by all categories or define a specific category

wordpress snippet

Adding this snippet to your wordpress theme will allow users to search your website but also allow them to select a specific category as well. By modifying the arguments within “wp_dropdown_categories” you can exclude categories or even specify the specific order of categories within the list. The following options are available:

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