Help me get my head round the WordPress code.
-
I would eventually (well I leave the country a week tomorrow so not too eventually) like to have my blog look like the rest of my site.
Now I recognise that this will probably mean changing the wordpress code (or creating a template for it) and using that code for my other pages.
So, I’ve been trying to get my head round how my blog comes to look like it does. Now I have just given myself a crash course in css and div tags and I understand the concept of a rule and how one uses a div tag to apply that rule to the html within it, so when I look at the code I see that going on. Of course its much more complex than that, but I’ve a vague idea of what’s happening.
Now the reason for their being so many .php files is so that the current page can simply point at that file rather than have the actual code within it. Is that about right?
So I understand that what I need to deal with is header.php (whatever normally goes in ‘head’, meta data, css code), index.php (the main content – the blog itself?), sidebar.php (self-explanatory) and footer.php (what normally goes at the bottom…duh).
And I also need to deal with the stylesheet, in order to have my own fonts, positioning of objects etc. etc.
Well this is just me trying to get to grips with it all for lack of knowing what direction to go in. Sorry to babble.
Perhaps someone would take a peak at the code of my site (mathgoesawol.com) and come up with a start point regarding all this. Be aware I haven’t used css (I think I made one text style with it, but that’s all) so I’m aware things will need to be redone. The site doesn’t have to look exactly as it does now, as long as I can keep the navigation bar (which was made – rollovers and all – in fireworks, which may well complicate the issue).
*Phew* if you got to the end have a packet of your favourite cookies. If you can help, grab a box!
The topic ‘Help me get my head round the WordPress code.’ is closed to new replies.