• Before I was really familiar with WordPress I jumped in with both feet, chose a theme (Zombie Apocalypse) and started to mod away making it look the way I wanted. I then found out I really should have created a child theme and made the changes there so I could upgrade WordPress as new version come out without destroying the custom changes I’ve made to the template and CSS Code. Can someone tell me a simple way of doing this without having to start over again? I made a lot of the template changes many moons ago and am just now getting around to start using it.

    Thanks in advance, the site is spotandoscar.com for those that need it.

    Jason

Viewing 9 replies - 1 through 9 (of 9 total)
  • i tell you my system,
    i have local server with word press installed and i have somewhere else all my files, backups, themes and plugins. i do what ever i want of edit’s then i test test it locally, when i come to a good thing i backups then continue, when i make mistake i use the pickup.
    once i like the theme, plugin or whatever i made i upload it
    avoid editing the website theme, google don’t like this, users hat it too

    i’m noob coder too but i just try.
    look at my site “ar”
    [link removed]
    this theme contains code coped and edited from a lot of themes

    Thread Starter jskwarek

    (@jskwarek)

    I’m not sure this helps with my situation. I too have backups of the code, where I’ve gone wrong is I modified the original template, as I understand it, if I now upgrade to the newest WordPress of upgrade the template I’ll loose some or all of these modifications. What I’m looking to do is take the current template and use those files to create a child.

    When I create the child folder structure and copy the style.css and functions.php files into it and try to activate the child theme I get coding errors. So… I copied all of the current parent template files into the child template folder, while it got rid of some errors it left me with a bunch more. I’m not familiar enough with CSS to figure out how to eliminate the errors without REMing them out in Dreamweaver. That’s where I’m currently at.

    Jason

    Review Child_Themes. However, I suspect that you may have now problems identifying your changes, so your best option would be to turn your modified theme into a new, standalone, theme.

    Thread Starter jskwarek

    (@jskwarek)

    I’ve been reviewing the document linked, that’s how I’ve gotten to where I’m at now. I created the child-theme, copied the style.css and functions.php over to that folder, activated the theme and start getting a bunch of coding errors upon activation.

    You cannot copy the entire parent’s functions.php file into the child.

    I have a similar problem, my question is, how do make it a stand alone theme?

    Thread Starter jskwarek

    (@jskwarek)

    I’m assuming you would just change the name of the theme and no longer use any updates to the theme that might be available. I worked on trying to make a new functions.php file work but gave up due to too much editing out code I had changed and simply started over.

    I’m assuming you would just change the name of the theme and no longer use any updates to the theme that might be available.

    Correct. I’d also suggest changing the theme’s folder name.

    ok thanks

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Newbie mistakes’ is closed to new replies.