Compatibility Issues with Thesis 2.0
Shelly has a question. I’m going to unmute your microphone here, Shelly. I don’t know if you’ve got the ability to chime in here. Are you with me? I’ll leave your microphone unmuted just in case you have a microphone.
She asks whether or not I know if the process will be compatible with Thesis 2.0. In general, yes, the process will be compatible with Thesis 2.0 because it seems unlikely to me now that they have setup a system for child themes and he will abandon that with 2.0. I mean, his child theme system came at 1.8.4 so I think it’s unlikely that it will evaporate with 2.0.
Having said that, it could very well be the case that the Thesis Design Options are renamed and we may have to change some code to make that work and it could be that some hooks are renamed or replaced. The chances are that the child theme itself is going to require some kind of customization when Thesis 2.0 comes out but also the chances are, when Thesis 2.0 comes out, it’s going to be a minor kinds of modifications.
Update from Thesis 1.8.4 to Thesis 1.8.5
Now, I will have an update class for this once Thesis 2.0 comes out so that we go through the process of updating our child theme from 1.8.4 to 2.0. In fact, I’m not sure that we’re going to have time but we may have time to do that for 1.8.4 to 1.8.5. You probably understand that this child theme only works in 1.8.4. As soon as you activate and install Thesis 1.8.5, this child theme will still use 1.8.4, won’t use 1.8.5 as its parent theme even if you’ve installed Thesis 1.8.5. I think that probably makes sense to explain.
If you recall from early on, look at our style.css, the way this child theme is setup is that it gives the name of the parent theme here, thesis_184. If thesis_184 exists, then the child theme will install and if it doesn’t exist, the child theme won’t install. If you install Thesis 1.8.5, child theme doesn’t care, it’s still going to use Thesis 1.8.4 because that’s what we’ve told its template to be.
When you go to update your child theme so that it works with Thesis 1.8.5, you actually have to come to this style.css file and change 1.8.4 to 1.8.5. If you don’t do that, it won’t use Thesis 1.8.5, it will still only use Thesis 1.8.4.
Dynamically Generating Files
Now, I may do a seminar on dynamically-generating files. If I do that seminar, one of the things I’ll talk about is how to dynamically change this. It is possible to dynamically change this number so from the theme options page, it is possible for you to allow your user to choose the parent theme, Thesis 1.8.5 instead of Thesis 1.8.4. One of the things that makes Thesis so powerful is that it does use dynamically-generated files and most of my plugins rely on that.
I will probably teach how to create a dynamically-generated file and when you do that, you can easily dynamically-regenerate this file so that it’s got Thesis 1.8.5 instead of Thesis 1.8.4. Therefore, you are allowing your child theme user to decide which parent theme they want to use.