Child Themes, Hooks, Actions, Filters simplified

| May 27, 2010 | Leave a Comment

Ready to take it to the next level with WordPress? Here’s a 5-minute guide on essential advanced features to WordPress theming: child themes, hooks, actions, and filters.

The old, boring way is you open the theme files, starting from index.php, changing all <h2> tag to <h1>, then moving to the other files: archives.php, tag.php, category.php, doing the same thing over and over again, hoping you don’t miss anything.

Gah!

That is not clever because a) it’s too much work, and b) when the theme is updated, you’re screwed.

Wouldn’t it be better if you could just a) write the change once, have it applied globally, while b) at the same time not modifying the theme’s code?

Of course the answer is yes. Understanding how these four concepts in WordPress work is essential to building on a theme framework, creating plugins and widgets, and make developing with WordPress faster.

Related Posts

Tags: , , , , ,

Leave a Reply