Genesis Theme Framework – Visual Hook Reference

“Because everything needs a visual guide.”

*update
If you think this reference is helpful check out the live Genesis Visual Hook guide. Hover over sections for more information about the hook or default functions and even tutorials. It’s more of a complete developers guide/index of genesis.

With the release of Genesis by Studiopress, the use of hooks were introduced to their themes. Hooks are a useful piece of code that allow you to “hook” into a theme without modifying core theme files. With the ability to place code in given spots throughout a theme allows simple upgrading without having to go back through all your template files to re-add your custom code.

A look into the available hooks for Genesis in their place:

[Read more...]

WordPress 2.9 post thumbnails

Fatal error: Call to undefined function the_post_image()

If you have recently downloaded the latest WordPress 2.9 beta build (like I have) you will find “the_post_image” no longer works! In place you will see that lovely “Fatal Error” message above.

“Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.”

- WordPress trac

Below, I will be noting the changes found in the latest build, and how to now use thumbnails in a WordPress theme using 2.9′s post thumbnail function.

Adding support for the post thumbnail feature in a theme

This part has not changed. Just add the code below to your themes function.php

if ( function_exists( 'add_theme_support' ) )
	add_theme_support( 'post-thumbnails' );

So, what has changed?

[Read more...]