Links

WordPress - Displaying Custom-Formatted Links To Page Children

Submitted by Kenny on Sat, 04/03/2010 - 22:40
Category
WordPress

This is just a quick and easy tip, but it was harder to find the answer to than I would have expected. (...or maybe I just didn't appease the Google Gods correctly when searching.)

If you have a page hierarchy within your WordPress site and you want to display (such as in the sidebar) the immediate children of the current page that you're on, here's the code to do it.

Encoding Time Cues Into YouTube URLs

Submitted by Kenny on Wed, 04/15/2009 - 12:52
Category
Web Development

I recently wanted to send someone a clip from The 'Burbs on YouTube, but I wanted them to see a specific line from the movie. I knew that if you added a timecode in MM:SS format to a comment that YouTube would parse that as a link to that timecode in the video, but I figured they had to have a way to do it in the URL as well.