- 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.
- AJAX and PHP: Building Modern Web Applications 2nd Edition
- 設計模式之禪(第2版)
- 中文版After Effects 2021入門教程
- 從零開始:Flash CS6中文版基礎培訓教程
- 鍵盤錄入技術(第2版)
- AI繪畫:Stable Diffusion從入門到精通
- Cinema 4D完全實戰技術手冊
- 攝影輕松入門:Photoshop后期處理
- Apache Maven 3 Cookbook
- Stable Diffusion圖像與視頻生成入門教程
- SOLIDWORKS中文版實用教程
- Photoshop插畫藝術火星風暴
- OpenCart 1.4 Template Design Cookbook
- IBM WebSphere eXtreme Scale 6
- 邊做邊學:Illustrator CS6平面設計案例教程(微課版)