Structure of a WP site. Am I getting this correctly?
-
Hi all,
New to WP. xhtml/css dweeb. I think I’m starting to get it. I wonder if I can describe what I’m trying to do and perhaps some one can just let me know if I’m on the right path.
I’m trying to use wordpress to build web site for a customer. He’d like to have 8 sections, each with subsections. 2 sections will have frequent changes in content (articles), the rest will changing only occasionally. He know’s nothing of HTML and doesn’t want to so I’d like to use WP so that it all can be edited from the Admin panel. I guess in that way, I’m trying to use WP as a simple CMS with great end user editing.
Each section will have a side bar. The ‘blogish’ pages will have ‘recent’ posts. All sidebars will have relavant ‘subsections’ listed in the sidebar. Pretty much like any other ol site. Sections across the top, subsections on the side.
Right, so putting it together. I’m assuming I want each section to be a ‘page’. Beyond that, I’m wrestling with the logic. I’m guessing I need two templates: One for the bloggish pages, one for the non bloggish pages. The main difference in these pages will be the formatting of the ‘posts’ and the content of the sidebar.
I’d like to put some sort of if/then logic in the sidebar.php. If this page is a blog template, include (this) in the sidebar. If it’s not a blog template, include (thisotherthing) in the sidebar.
Am I considering this the right way? I’ve been living on the codex, reading about template tags and what not. I’d just, of course, like to set it up correctly from the get go. Any feed back/pointers/links would really be appreciated.
Thanks,
Will
- The topic ‘Structure of a WP site. Am I getting this correctly?’ is closed to new replies.