WordPress stability when coding theme from scratch
-
I recently started to create my own theme from scratch using resources like Codex and WordPress Theme Design by Tessa Blakeley Silver. However, I had to use a lot of code snippets I got from various tutorials around the web for certain things I wanted to achieve.
My question is. How stable would such a theme (using various code snippets not from codex) be when it comes to future WordPress upgrades. Will the things I achieved with custom code still work in future WordPress versions? You see I am confused. While Codex explains that this piece of code is for this, in some of the tutorials I read, where I got custom code snippets, people were saying this is non standard code etc. How safe it is to use such code, since I do not always understand the php? And for that matter using plugins that were custom hacked to achieve certain functions? Sometimes that don’t say that it’s custom code, and sometimes it’s normal codex code, that has just been cleverly used by a great programmers. I wouldn’t know the difference between custom code and really creative use of codex code.
My concern is that I am using code from all over the show, and I only know a bit of php, so I don’t know if the code I’m using is “secure and future proof” and if it will break when I install certain plugins in the future?
Or do I have it wrong. Are the WordPress Core files nicely tucked away and when I’m creating a template, those files are never touched? There are a lot of tutorials on how to create a wordpress theme, but how do I know that the methods in these tutorials are “safe” and can be trusted. Is there a definitive guide?
Can you guys point me to an official WordPress resource that can tell me more about the “safe” way to develop a WordPress theme, and for example what to watch out for when using code snippets from all over the net, that’s non standard and not on Codex?
I can’t find info that gives me the big picture when it comes to creating themes. I can’t find resources where someone take a step back and says, “this is why we are designing a theme like this and not like this.” “This is why I’m using code like this and not this.” “This the right way, but this way will cause problems”. I’d like to get a 5000 foot view, before getting so deep into it, and not realizing I’m doing it all wrong…
Thanks
Nomoretables
The topic ‘WordPress stability when coding theme from scratch’ is closed to new replies.