Profile
Achievement
davebowker's Recent PHP Snippets
- All /
« Prev 1 Next »
Shows the sub pages of a parent page, and also the parent page as a link.
1
667
posted 14 years ago by davebowker
Better way to echo a .current_page_item class on a list nav.
3
607
posted 15 years ago by davebowker
$quote -- name of function
post_type=page -- remove to query posts
orderby=rand -- random order
showposts=1 -- limit to 1 post
effect -- displays 1 random custom excerpt outside of the loop
1
659
posted 15 years ago by davebowker
Can also be used to load scriptaculous, or any js file in WP
2
611
posted 15 years ago by davebowker