This is an updated snippet which has received significant input from Gary Jones, author of the terribly useful book Changes in Genesis 2.0. Don’t be too proud to learn from others, people… it makes you a better coder.
WordPress & Genesis Theme Development