Build Your Own Business Website header image

Child Themes

Lesson 8 – Part 6 – Play Nice, Restore Original Options at Theme Deactivation

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

We're going to make our child theme so that it restores the original design options. Actually, we're going to test this, we're going to go back to Manage Options, we're going to Restore Default Design Options then we come over to Design Options and change something. Let’s make the Primary link text color red. Now,

Lesson 8 – Part 5 – Set Child Theme Default Options at Theme Activation

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

The first thing we're going to do is create a new PHP file and it's going to be crtc_setup_theme_options and while we're at it, we'll come back over here and add a new include without our setup_theme_options file. Now that we've included this file, come back over to our setup_theme_options and I'm going to paste

Lesson 8 – Part 4 – Create Child Theme Default Options

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

Now we have to talk about what we're going to do with the two hooks. I'm sure you are already familiar with the fact that Thesis has the ability to save design options. If we come down to Thesis and Manage Options, it has this built in ability for you to download options, to go

Lesson 8 – Part 3 – Create Theme Activation/Deactivation Hooks

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

Now, that sounds great and you say to yourself, "Well, so let's do that for theme activation". Unfortunately, now that I've told you how to create a hook in WordPress like this, I have to tell you that you can't create a theme activation hook like this. The difference between the theme activation hook and

Lesson 8 – Part 2 – Create a Custom WordPress Hook

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

The very first part of this process is to create a custom WordPress hook. Just to refresh your memory, a hook is a placeholder for a function. Obviously, we've talked about this several times in this course when we hooked in the various Thesis hooks or sometimes into WordPress hooks and when the processing of

Lesson 8 – Part 1 – Understanding the Problem

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects -

Applies to -

Good morning everybody and welcome to Lesson 8 of our Create a Thesis Responsive Child Theme class. We have 3 more sessions including today and then we'll be finished. Over the next 3 weeks, we're going to be talking about some fairly advanced programming concepts. At least today and our final week, we'll be talking

Lesson 7 – Part 8 – Add the Faux Page Title to the Posts Page

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

The next thing for us to do is to add our faux page title. Remember that our faux page title looks like this, we've got an image, we've got this word Blog and we've got our dashed line under that. We need to add this faux page title to our page and it looks like

Lesson 7 – Part 6 – Set Up Ending Post Meta

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

The next thing we'll do is setup our ending post meta. Now, the default ending post meta in this case is just this comment link. The first thing we're going to do is remove this comment link. This comment link is actually a function in Thesis. Let's go back to Table of Contents and look

Lesson 7 – Part 4 – Restructure the Headline Area

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

Now, what we want to do is restructure our headline area. Obviously, the first thing to say about that is that we want to use the default heading for all of our pages but for everything else, we want to use this style of heading with this different color and we want to have the

Lesson 7 – Part 3 – Exclude Categories from Posts Page

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

The next thing to do is something we haven't talked about yet and that is to exclude categories from your Posts Page. This is a common request and is done frequently incorrectly. In fact, if you've been watching me for awhile, you have seen me demonstrate this incorrectly. Now I want to show you the

Lesson 7 – Part 2 – Setup Thesis Design Options

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

We're going to start off by setting up the Thesis Design Options. Next week, we're going to setup a system where when somebody activates this child theme, it automatically configures Thesis Design Options. This way no explanation is necessary for how to configure the design options. Nevertheless, before we get to that point, we're going

Lesson 7 – Part 1 – Map Out the Posts Page

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

Good morning everybody and welcome to this Lesson 7 of our Create a Responsive Child Theme for Thesis class. Today, we are going to create our customized Posts page. Before we do that, I just want to talk about what we're going to do with our Posts page here. This is the sample that we're

Lesson 7 – Create the Posts Page Template

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

Posts Page faux heading Display format Excerpt style No full posts on posts page No teasers on posts page This same thing will happen on archive pages Post Heading Headline meta Category with link Date Excerpt ending Closing meta Closing links Display Options Bylines Posts Archives Home Page Display Options Post Image and Thumbnails Objective

Lesson 6 – Part 6 – Create Front Page CSS

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects - ,

Applies to -

The next thing for us to do is to create the front page CSS because we have quite a bit of this done but we haven't styled our widget areas. Actually, there is some styling that needs to happen here, our text style needs to change. I've forgotten, this doesn't even have a home page

Lesson 6 – Part 5 – Provide Support for the Orbit Slider

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

The next thing we're going to do is add support for the Orbit Slider. The reason why we're using Orbit Slider is because it is responsive, that means it automatically has the ability to proportionally resize itself as the window gets smaller and smaller and that's a pretty compelling ability. It's a relatively reliable plugin.

Lesson 6 – Part 4 – Using Thesis Filters

Difficulty Level -

Filed Under Topics -

Listed Under Lesson Subjects - ,

Applies to -

The next thing we need to do is begin styling this front page. We setup a bunch of Thesis Design Options that work for our typical page so we've got our color, our headlines and things like that that work just fine for our typical page but don't work with the front page. We need

Lesson 6 – Part 3 – Set Up the Front Page Controller

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to -

The next thing that we are going to do is setup a controller for the front page. What this controller is going to do is add this HTML to the front page but not add it to any other pages. We do that by means of a WordPress conditional tag. First, let's just start with