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
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
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
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
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
This course teaches a beginner how to customize Thesis using CSS and PHP. No prior knowlege of CSS, HTML or PHP is required. The course takes you step by step from simple CSS customization through advanced PHP programming.
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