- WordPress 2.8 Theme Design
- Tessa Blakeley Silver
- 574字
- 2021-04-01 13:43:06
Chapter 2. Theme Design and Approach
Welcome to this chapter on theme design and approach. My hope for this chapter is that even you design pros may discover interesting tidbits that will help you in your WordPress theme design creation. The purpose of this chapter is to help you create a working XHTML and CSS-based mockup, with a view to having it end up being a WordPress theme while staying compliant with W3C standards and table-less CSS layout techniques.
Theme design is essentially web design and, throughout the chapter, we'll be focusing a bit more on thinking about standards and compliance first. The first part of the approach will cover what we want to design for (keeping in mind it will end up in WordPress) and the second half will focus more on creating a design that is made with the content in mind.
This approach will give us a more flexible, yet solid XHTML and CSS structure. We'll then be able to enhance and embellish that structure with great visual design. The more "standard" approach most of us are familiar with makes us create a purely visual design first and then jump through hoops to create XHTML and CSS to support that design. We then attempt to fit content into the design, often causing a few more glitches along the way. This approach often creates less-than-ideal markup and the need for hacks and fixes, just to get the design to hold up across all browsers and varying types of content.
While you might find this approach a little strange at first, it's by no means set in stone as the only right way to design! Simply read through the chapter and, even if you already have a polished Photoshop or GIMP mockup, go ahead and try to set up your XHTML and CSS mockup using the steps laid out in this chapter. You may find it helps your process.
In this chapter, we're going to take a look at:
- The essential elements you need to consider when planning your theme design
- The best tools and process for making that design a reality
- An introduction to my own rapid design comping strategy
- Some tips and tricks to help you define your color scheme and graphic style
- Some standard techniques for slicing and extracting images for your design
By the end of this chapter, you'll have a working XHTML-and CSS-based "comp" or mockup of your WordPress theme's design, ready to be coded up and assembled into a fully functional WordPress theme.
Tip
Already got a design? Not a designer at all?
That's fine! This chapter covers the ins and outs of web design best practices, with a view to ending up with a unique and custom WordPress theme. It contains time honored and tested methods for approaching compliant, accessible XHTML and CSS creation. If you're a total XHTML/CSS design wizard, you can skim this chapter for any new tips and tricks that might be of use to you and then move on to Chapter 3.
If you're not a designer at all and you just need to convert an existing XHTML/CSS template into WordPress, I'd still recommend you skim this chapter, as it may help you better understand some of the XHTML markup and CSS in your template. You can then move on to Chapter 3 to learn how to code up and dice working XHTML and CSS templates and mockups into WordPress.
- 做好PPT就靠這幾招:圖解力+吸引力+說服力
- 中文版Premiere影視編輯課堂實錄
- OpenStack實戰指南
- Spring Web Flow 2 Web Development
- Solid Works 2021產品設計標準教程
- Drupal Multimedia
- 品悟:Alias 2014+Showcase產品可視化造型與渲染
- 中文版Maya 2022完全自學教程
- Django 1.0 Website Development
- After Effects影視特效立體化教程:After Effects 2021(微課版)
- IBM WebSphere eXtreme Scale 6
- AutoCAD入門教程全掌握
- Refactoring with Microsoft Visual Studio 2010
- KNIME視覺化數據分析
- LaTeX論文寫作教程