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
In this session we discuss whether or not to use a plugin or create custom code yourself for modifying the Thesis theme. We talk about a few reasons why it is better to create codes in a plugin rather than to just adding it in your Custom Functions file. While it may be true that
The next thing we’re going to talk about is the Thesis theme custom_functions.php file. This is using Thesis 1.8.4 and this is the NetBeans IDE version 7.0.1 and I’ve opened up my custom functions file in that. Your custom functions file has a couple of different elements. It starts off with this opening php tag.
We open the custom_functions.php file and go through two of the most basic WordPress PHP functions, add_action and remove_action. We use the example of removing our Thesis Nav Menu from it’s out of the box location above the header and add it back below the Header. We also discuss the what the custom.css file and
Anyone learning how to customize their Thesis website using PHP also needs to learn how to troubleshoot errors in their code. In this video I teach my 6 rules for preventing and finding errors in your custom_functions.php file. I also describe the work flow that I use when writing custom code for my own Thesis