Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress Genesis Theme Development Start a Genesis Theme Site Header

Sean Clarke
Sean Clarke
10,256 Points

Best resource to learn all of the Genesis hooks/filters?

Do you know of any good reference for ALL Genesis framework related code?

For instance, I can find a list of all the main hooks (in Genesis user area) but things like 'genesis_header_markup_open' appear thin on the ground when it comes to documentation...

How the heck do I find out about all the intricate and essential details like this?! : )

p.s. I found this which is very cool http://genesis.wp-a2z.org Though thought I'd leave this question here in case there are other resources anyone knows about and uses which could be helpful.

3 Answers

Jesse Petersen
STAFF
Jesse Petersen
Treehouse Guest Teacher

The StudioPress site lists all of them. There is a visual hook guide you can Google for. This is a great tool, but Gary tells me it's a temporary URL while 2.2 is in beta: http://docs.gamajo.com/genesis/2.2.0-beta/

Update: It looks like the question updated as I answered. Hooks don't really need documentation further than where they appear. The visual hooks page has a bit more detail, but if you want to pick things apart, you need to buy a guide from GaryJ (above) or pick apart the theme files or look things up at that URL of his. It's a great teaching tool to see what is included in what hooks.

Ian Mackenzie
Ian Mackenzie
11,062 Points

There is a free plugin called Visual Hooks Guide that also shows filters and markup and it's excellent!

Sean Clarke
Sean Clarke
10,256 Points

Thanks for your answers guys! I probably should have phrased my question a bit more specifically : )

I've used the visual hook guide a lot in the past and its very helpful, what I'm really interested in are all the intricacies which seem a little 'black box' and not very well documented or discoverable unless you're 'on the inside' of the project.

Like 'genesis_header_markup_open' and 'genesis_header_markup_close', I'm sure there are more 'hidden' things like this which are useful for cutting fat and avoiding hacks when working with a framework like Genesis.

Correct me if I'm wrong but these simply aren't documented in Genesis at all, which seems odd?! To confirm this I did a search in http://my.studiopress.com for 'genesis_header_markup_open' = no results.

Ian Mackenzie
Ian Mackenzie
11,062 Points

Sean,

The founder of Genesis is holding workshops that promise to do just that amongst other things. Located here, http://my.studiopress.com/workshops/