Build Your Own Business Website header image

Hooks

Part 10 – Example #6 – Remove the Sticky Nav Menu on Mobile Devices

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to -

Now that you understand what WordPress Conditional Statements are, we’re going to use one in the function we’re using to remove the sticky menu in this Genesis site from mobile devices. What we're going to do is instead of add_action genesis_do_subnav that we used to move the menu in the first place, we're going to

Part 8 – Example #5 – Make a Sticky Top Menu in Genesis

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to -

We’re going to get a little bit more complicated in our examples of how to use PHP to customize the Genesis theme. In example #5 we’re going to make this menu that we changed the position of earlier sticky so that when you scroll through the pages it stays up at the top. There is

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