[Resolved] Turning a customized theme into a child theme?
Hi I’m all confused! lol!
I may not explain this well lol but I’m going to try my best.
* I’m completely new to the incredible world of wordpress.
* I built a site lifeskope.com/blog in html and used this guide “how to integrate wordpress into an existing site” and this one “Integrate WordPress Into Existing Site Tutorial” to customize the twentyeleven theme and turn my site design into a blog.
I love how it’s working so far. It seems to be doing everything I want, but I’ve since been made aware that because it’s build on a tweaked duplicate copy of the twentyeleven theme directly and not on a “child theme” that it’s in potential danger of being null and void when the next wp update get’s released?? … so I have some questions on how I can go about making it a child theme and still keep my customized design?…
I’ve been reading up on “child themes” and watching some how to videos etc and I feel like what I did was close to creating a child theme but yet it isn’t, and I’d like to make it properly off the child theme but I’m getting confused as to how…
Originally what i did…
(Following the above mentioned guides)
First I made a complete and duplicate copy of the existing “twentyeleven” theme folder and renamed the copy folder to a custom title.
I then opened up the Style.css file of the theme folder I was customizing and changed the theme name and description,
deleted all the CSS that was in the doc and replaced it with my website’s CSS and saved it.
(I’ve now since learned that for a child theme I was supposed to made a new EMPTY folder and EMPTY style sheet and put in a twentyeleven style sheet call action instead of making a completely independent duplicate copy? :/)
Then I took and opened all the vital Header, Index, Footer, Single, Archives, 404, etc docs and copied over pieces of my html sites code into each one below the beginning php call and deleted the rest of the code except the special script calls which i put into the content sections of my html code.
(Again these being the independent duplicate docs in the theme folder that I was customizing. Leaving the original twentyeleven folder entirely alone.)
… It works great, so far exactly as I want it, but I don’t want all my hard work over ridden if this was the wrong way to do it :/?
In trying to correct my potential mistake; I put in the correct style call action into my customized style style sheet and it’s ok for the most part except it made my menu and a few other small items go askew.
I think I can fix it if I keep tweaking it but is this all I have to do to make it a “child theme”?
What about the customized Header, Index, footer, single, 404, search, archives etc docs?
Ug i’m soo confused! Any help would be appreciated! thanks 🙂
- The topic ‘[Resolved] Turning a customized theme into a child theme?’ is closed to new replies.