Build Your Own Business Website header image

Action Hooks

Part 6 – Example #3 – Change the Genesis Footer

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

We’re now at example #3 of ways to use Action Hooks to customize the Genesis theme. For this example we're going to change the default Genesis footer. We're going to remove this attribution and we're going to add our own. I know that there are plugins that will do this for you but again, the

Part 5 – Example #2 – Change the Position of the Secondary Nav Menu

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to -

In our first Add Action example, you learned about using Statements, Functions and Arguments. Now that you have a feel for how Action Hooks work we're going to work on our second example where we move the secondary nav menu. I’m going to refresh your memory about the menus before we begin. We have two

Part 4 – Example #1 – The “Hello World” of Action Hooks

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

Now that you have an understanding of what Action Hooks are and how they work, it’s time to start using them. In our first example we're going to look at the "Hello World" of action hooks. We’re going to dive right in and start writing the code. This actually starts off with a statement. A

Part 3 – Introduction to Action Hooks in Genesis

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

I’ve talked about my non traditional approach to learning how to customize WordPress and the Genesis Theme with PHP and I've shown you how to setup the development environment that we’ll be using in the class. So now we are going to dive right in and start with a very advanced subject with respective PHP and that

How to Convert Code from Thesis Open Hook to a Custom Function

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

In this session we show how to convert code from Thesis Open Hook to a custom function by creating a function for the nav menu add_action thesis_hook_after_header that will take the code as a function and place that code in exactly the same spot as it was. We also show how to clean the code

Introduction to Customizing Thesis 2.1 Using PHP – Part 4 – Write Our First Function Using a WordPress Action Hook

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

Now that you understand what Action Hooks and Filter Hooks are, let's go ahead and create a very first action hook. Here we are in master.php. And if you've worked in Thesis 1.8 before you're going to see this is familiar because what we're going to do is create a function essentially. So, function and

Introduction to Customizing Thesis 2.1 Using PHP – Part 3 – Introduction to WordPress Action Hooks & Filter Hooks

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

Now that you understand Thesis 2.1 custom PHP files, next we're going to talk about WordPress action hooks and filter hooks and how we'll be using them in Thesis 2.1. First, I’d like to direct your attention for a moment to the main seminar page here, Introduction to Customizing Thesis 2.1 Using PHP. Because this

How to Specify Priority in an add_action Statement

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

In this session we show how to specify priority in an add_action statement. We also demonstrate a working example of this and the purposes of using priority and how it works. Member: Here’s… let me just lay it out for you, typical you know, add action Thesis hook footer and then there’s a little function I’ve

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