What are your tips for starting a theme from scratch?
-
I’m going to try building a theme which is quite ambitious for someone who can’t modify an existing theme as he wants, but I’m going to try it because I need to have something that works the I want it to.
I know I’m going to run into a cocophony of problems, so I’m asking for advice on not only how to start, but what to consider when building it.
My prime concern is understanding and linking the CSS to the templates. Let’s say I have no templates, no CSS but I have a drawing of what I want to achieve. FOr arguments sake let’s pretend this is what I want:
A single column theme
Header at top
Middle block will contain only the latest post
Bottom left will be a block which contains the recent posts
Bottom right the credits etc – so the two bottom blocks are squares halves of the main size.Now I have to write out the CSS, but what do I do first? Create the templates first and is there a basic level of a template I need to create? This is where I get confused you see. If I did the CSS I wouldn’t have anyting on screen would I? Or would the CSS still display without having anything to link to? Is then I start playing with the templates and moving things where I want?
I have no idea. I would welcome your experience on knowledge with regards to this. As I say, I’ve made drawings of how I want the following:
Main page
Archives
Post content pageThey will all vary but I dunno, it feels a very daunting task but on the other hand at least I will know myself what does what, without trying to understand someone elses theme and not knowing why something isn’t working because I ended up changing the wrong thing.
Thanks in advance.
PS: I am reading the codex too ??
- The topic ‘What are your tips for starting a theme from scratch?’ is closed to new replies.