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
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
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
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
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
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
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
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
In this final example for this Using Custom Sidebars in the Genesis Theme lesson we're going to see some of the more detailed things you can do with sidebars in the context of creating a content area on the front page. I think most of these Genesis child themes do not have any good indexable
The second part of using custom sidebars in Genesis is the process of calling the sidebar which is what we just did. So that's the very simple method of adding a sidebar in Genesis. First, we wrote the code to register the custom sidebar and then we called the sidebar. And obviously it's been added
The second part of using custom sidebars in Genesis is the process of calling the sidebar. We did the first part where we wrote the code to register the sidebar and uploaded it to the side but when we refresh our page, it doesn't matter that we've got a registered sidebar, it's not showing up
Now that you understand the way Genesis registers sidebars is a bit different from the typical WordPress way, let's start by registering a sidebar. We’re going to work in our custom-functions.php file. This is the one that we had at the end of the Introduction to Customizing Genesis with PHP seminar. First, let’s head over
Good evening everybody and welcome to this special seminar on Using Custom Sidebars in the Genesis theme. Tonight is the continuation of a series on Customizing Genesis Using PHP and it assumes that you saw the first lesson in this series, the Introduction to Customizing Genesis Using PHP, so I'm not going to cover ground
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
You just learned how to display a grid of custom posts on the Front Page of a Genesis website. And, we did that on one of our member’s sites, Design On Media but this is not actually what he wants. He just wants the images with the titles. To make those changes we're just going
Now that we have the system for adding a grid of post thumbnails to the front page in Genesis, the next thing we’re going to do is to display a grid of custom posts on the front page. And I’m going to do that for one of our member’s sites, Design on Media. He's got
The next thing we're going to do in this lesson on Using Secondary Loops to Customize the Genesis Theme with PHP is use the same system that we used to create a list of posts from a single category to create a grid of post images. I'm going to copy this function and paste it.
At this point in this lesson on Using Secondary Loops to Customize Genesis with PHP we have created a function to add a lists of posts from a single category and we’ve examined secondary loops in detail. So now that we've done that, let's make the function we created a little bit more useful. One
We've created a function to Add a List of Posts From a Single Category and we've hooked that function to a specific place in Genesis. That's what we do with all functions, whatever it is we're trying to do inside of a function, and we hook it into a specific location. So we've done that.
Now that we’ve talked about the different kinds of WordPress Loops and what they do, it’s time to look at the way all the loops work both primary and secondary. We’re going to begin talking about this by looking at the wordpress.org codex under Class Reference/WP Query. The way that works is with this WP_Query class.