Build Your Own Business Website header image

PHP

Part 7 – Force a Layout on a Custom Template in Genesis

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to -

There are a couple of other things that I want to do with this custom template with custom sidebar that we just created in Genesis. This works just fine. In fact, instead of this body class let's add the 'projects' body class to that filter. The next thing I want to do is to force

Part 6 – Create a Custom Template with a Custom Sidebar in Genesis

Difficulty Level -

Filed Under Topics - , , ,

Listed Under Lesson Subjects -

Applies to -

The next thing we’re going to do in this Custom Templates for the Genesis theme lesson is create a custom template that has an entirely different sidebar. It's got the typical Genesis header and typical setup except that this sidebar goes way and a different sidebar is there. I know that there are plugins that

Part 5 – Create a Custom Template with a Widgetized Header in Genesis

Difficulty Level -

Filed Under Topics - , , ,

Listed Under Lesson Subjects -

Applies to -

The next thing we're going to do in this Customize Genesis using Custom Templates tutorial is instead of hardcoding this header with an image, we're going to widgetize it. Then people can put whatever image or whatever else they may want. The way we're going to do that is to remove this add_action for the

Part 4 – Add a Custom Body Class to a Template

Difficulty Level -

Filed Under Topics - , , ,

Listed Under Lesson Subjects -

Applies to -

There's one other thing that I want to do and that is I want to be able to target this custom Genesis template specifically and perhaps templates like it specifically with a body class to create CSS that's unique to this template. Let’s go back to the site and look at the body class that's

Part 3 – Replace Hard Coded URLs with WordPress Constants

Difficulty Level -

Filed Under Topics - , , ,

Listed Under Lesson Subjects -

Applies to -

We just created a custom template with a custom header for the Genesis Theme but the code we used is, well, crappy. And that’s because it is absolutely hard coded which means it's not portable so we’re going to make some changes to it now. What we want to do is use some WordPress constants

Part 2 – Create a Custom Template with a Custom Header in Genesis

Difficulty Level -

Filed Under Topics - , , ,

Listed Under Lesson Subjects -

Applies to -

Now that we’ve gone over the fundamentals of setting up a Genesis Theme custom template, we're going to take this custom template and create our own custom header for it. Right now, we’ve got the standard header with the logo on one side and the widget area on the other. What we're going to do

Part 1 – Fundamental Elements of Genesis Custom Templates

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to -

Good evening everybody and welcome to lesson 5 of Customize Genesis Like a Pro. Tonight we will be talking about using custom templates in a Genesis child theme. One thing worth noting is that the template system in WordPress is kind of complex. Different kinds of templates do different things and what we're going to

Lesson 5 – Creating Custom Page Templates in Genesis

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to -

This is the fifth lesson in our Customize Genesis Like a Pro video tutorial course but it's also the third lesson on how to customize the Genesis Theme using PHP. Here you'll learn how to create your own custom page templates in Genesis. We begin by laying out the fundamental elements of custom templates to give you a solid

Lesson 4 – Using Custom Sidebars in Genesis

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to -

This is the fourth lesson in our Customize Genesis Like a Pro video tutorial course but it's also the second lesson on how to customize the Genesis Theme using PHP.  This lesson focuses on everything you need to know about using Custom Sidebars in Genesis. We start by giving you an understanding of what they are and talk about

Lesson 6 – Using Secondary WordPress Loops

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to -

This is the sixth lesson in our Customize Genesis Like a Pro video tutorial course but it's also the fourth lesson on how to customize the Genesis Theme using PHP. Here you'll learn how to use Secondary WordPress Loops. We begin with what a WordPress Loop is and how it works. We show several ways to create a them and what parts they are

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 7 – Example #4 – Refine our Custom Footer Attribution with Automatic Copyright Date and Site Title

Difficulty Level -

Filed Under Topics - , , ,

Listed Under Lesson Subjects -

Applies to -

In example #4 of ways to use Action Hooks to customize the Genesis theme we refine the changes we made to the footer in example #3. In that example, we removed the existing attribution and added our own along with a copyright date. What we’re going to do now is automate the name of the

Part 2 – How to Setup a Genesis Development Environment

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

In the traditional method of learning PHP they talk about working locally which means working on your local computer or working on a computer that sits in front of you but we are going to work primarily on a live website. But before we do that we are going to need to create a local

Part 1 – How to Learn PHP for WordPress and Genesis

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

Good evening everybody and welcome to this special seminar, An Introduction to Customizing Genesis Using PHP. This seminar will become lesson 3 of the Customize Genesis Like a Pro Course here on BYOBWebsite. Tonight we're going to start off by talking about how to learn PHP. There is a traditional method for learning PHP and

Lesson 3 – Introduction to Customizing Genesis Using PHP

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

This is the first of several lessons on how to customize the Genesis 2 Theme Using PHP. In this lesson you will learn about the sets of tools used when learning PHP and the resources that will help you understand it. You will learn the specifics of how to setup a Genesis Development Environment and then we show you five specific examples of how to use PHP to make changes to your website.

A Conversation About How to Integrate a Standalone PHP Application with WordPress

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

In this session we talk about how to integrate a standalone PHP application with WordPress. We begin with some initial steps in terms of setting up a custom template where we apply a small hook function to render some basic content out to one WordPress page on a site and the submit button that validates

Introduction to Customizing Thesis 2.1 Using PHP – Part 14 – Example #7 – Add the Read More Link to the Excerpt

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to -

Now that we’ve added excerpt length to our custom excerpt box, we're going to add the "Read More" link to the excerpt. We'll come back over here to our master.php where we wrote this "Read More". We'll copy that, come back over to box.php and add this function, public function "read more". Now, we're not

Introduction to Customizing Thesis 2.1 Using PHP – Part 13 – Example #6 – Add the Option to Set the Excerpt Length

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

Now that we’ve gone through how to add standard HTML Box Options, next up we're going to take a look at creating an option from scratch. In fact, the option that we're creating is the one that determines how many words are going to be shown in the excerpt. In order for us to do

Introduction to Customizing Thesis 2.1 Using PHP – Part 12 – Example #5 – Add Options with the html_options() Method

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

Now we’re going to add HTML inside of the HTML function of the custom excerpt box we just created. If we look at the structure of this HTML, it doesn't have anything around it. It's not wrapped in any div tag, it doesn't have any class assigned to it. It's going to be essentially impossible