Coding custom themes
-
Ok, so I am new to this, and I want to use WordPress as a CMS, I understand that wordpress uses a folder for a theme and it is filled with files that make the theme work. Here is where my confusion lies, I want to know how to manipulate the site to work like a CMS, I want to be able to create static pages with a content area, and I want complete control on where all the elements are on the page (If I want the header of the page to be at the bottom, I want to know how to put it there, for example). However, I get frustrated because everywhere I look the tutorials are the same, “use this file and place it here, put this block of code in this file” and that’s not where I’m confused.
The CMS I am accustomed to using uses smarty tags, and I know that if I write a template I can write it like this:
<HTML> <HEAD> /*head content*/ </HEAD> <BODY> <DIV ID="HEADER"> {menu} /*NAV BAR SHOWS UP HERE*/ </DIV> <DIV ID="CONTENT"> {content} /*allows custom content to be input here </DIV> <DIV ID="FOOTER"> {footer} /*PUTS GLOBAL FOOTER ON PAGE*/ </DIV> </BODY> </HTML>
(obviously this code is sloppy, just an example)
Then I can style the page how I want with CSS. Am I overthinking the wordpress layout? should I be less focused on the html/php side and more on the CSS? Any imput provided is going to be extremely helpful. Thank you so much!
- The topic ‘Coding custom themes’ is closed to new replies.