Tutorials WordPress as CMS WordPress Themes

Code snippets from my WordCamp presentation

Here are some code snippets from my WordCamp Whistler presentation. This article will be expanded in the coming week but in the meantime here they are for anyone wanting to play around with them:

Custom Page Templates in 5 lines of code

Custom Fields in one line of code

ID, '$key', true); ?>

Custom Field that parses PHP code

ID, 'centerBox', true); ?>
'.$boxContent); ?>

By Morten Rand-Hendriksen

Morten Rand-Hendriksen is a Senior Staff Instructor at LinkedIn Learning (formerly specializing in AI, bleeding edge web technologies, and the intersection between technology and humanity. He also occasionally teaches at Emily Carr University of Art and Design. He is a popular conference and workshop speaker on all things tech ethics, AI, web technologies, and open source.

4 replies on “Code snippets from my WordCamp presentation”

Not officially sent by NetChick (this round) but thought I’d check all the other blogs out. Then I realized that I’m glad I came here to offer a “thank you” for the video you guys (Dabbler) did for us a year and a bit ago. Hurray!

Anyway, I’ll definitely add you to my feed reader now. 🙂


Comments are closed.