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

Unlimited number of child pages using wp_list_pages

wordpress snippet

Adding this snippet to the sidebar.php of your wordpress theme will use wp_list_pages to display all child pages regardless of depth. This is something I have not found online and needed for a current theme I’m working on, enjoy!

read more

Display current page sub pages

wordpress snippet

Adding this wordpress code snippet to your page.php will display the current pages sub/child pages in a list.

read more

Search categories and child

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will let you define a child category automatically when searching.

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