Build Your Own Business Website header image

Thesis Hooks

Does Thesis 2.0 Make Hooks Obsolete?

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

In this session we answer the question, “Does Thesis 2.0 make hooks obsolete?” And, no, this is not really the case because there is  some coding that we may still want to do using hooks. Thesis 2.0 allows us to create hooks by specifying a hook name in the container which automatically then create 4

Thesis 2.0 Technical Review – Part 6 – Hooks

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

The new Thesis 2.0 also comes with a new set of hooks. The old hook system has been replaced with a combination of custom hooks within the HTML and new action hooks within the processing of the theme. You can now hook into various processes within Thesis and add your own functions. In this part

Lesson 9 – Part 5 – Example #2 – Change the Thesis Footer

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

Now we’re going to move on to example number 2. In this example we are going to change the Thesis theme footer. Let’s look at the Thesis footer here. Here’s our site that we’re working on and this down here is the Thesis footer. And if we inspect the element, you get an idea of

Lesson 9 – Part 4 – Example #1 – The “Hello World” of action hooks

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to -

Now what we’re going to do is take a look at our example number 1. And example number 1 is the “Hello World” of action hooks. If you don’t know what I mean by “Hello World”, traditionally this is the very first command a programmer learns. Almost every introduction to any programming language has some

Lesson 9 – Part 3 – Introduction to Action Hooks

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to -

The next thing we’re going to talk about is action hooks. Action hooks are fundamental to customizing Thesis. If you’re going to customize the Thesis theme using PHP, you are going to be using an action hook and you’re going to be using it, essentially with each part of customization that you do. People, I

Lesson 9 – Part 2 – Move Thesis Navigation Menu Below Header

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

In order to do that, we need to open up our custom_functions.php file in the text editor.  I’m using Net Beans here and this is that custom_functions.php file and this is exactly as it comes out of 1.8 installed. I’m just going to take a whole bunch of this stuff and delete it because none