WordPress Theme Development - Beginner's Guide
暫譯: WordPress 主題開發 - 初學者指南
Tessa Blakeley Silver, Rachel McCollin
- 出版商: Packt Publishing
- 出版日期: 2013-03-23
- 售價: $1,710
- 貴賓價: 9.5 折 $1,625
- 語言: 英文
- 頁數: 252
- 裝訂: Paperback
- ISBN: 1849514224
- ISBN-13: 9781849514224
-
相關分類:
WordPress
海外代購書籍(需單獨結帳)
商品描述
With a little knowledge of HTML and CSS, you can kiss goodbye to third-party themes for your self-hosted WordPress sites and start building your own. This beginner's guide shows you how in plain language and clear instructions.
- Learn how to design WordPress themes and build them from scratchli>
- Learn how to create a WordPress theme design using HTML5 and CSS3
- With clear and easy to follow worked examples to help you build your first WordPress theme if you've never done it before
In Detail
If you've been using WordPress to build websites for yourself or clients, you've probably reached a point where you need to build your own theme. Being able to build your own themes means you can build beautiful, bespoke websites using WordPress and means you’re not limited to the themes you can download.
WordPress Theme Development Beginner’s Guide will take you through the process of building your first WordPress theme. It will show you how to write the HTML and CSS your theme will be based on, then convert that code to PHP for use in WordPress. Once you’ve done that you'll learn how to add more features to your theme and make it responsive, accessible and SEO-friendly.
Start by designing your theme using HTML and CSS, then work through the steps to turn this into a fully functioning WordPress theme, including creating template files, adding template tags and PHP to display content, and giving your theme extra goodies like menus, widget areas and more.
Create a gorgeous, responsive and standards-compliant design for your theme using HTML5 and CSS3. Take your HTML and use it to create PHP template files using the WordPress template hierarchy, then add in template tags and the loop to display pages and posts in your theme. Add widget areas, menus and featured images. Learn how to debug your theme and validate it, ensuring it's standards-compliant and accessible. Find out what steps you need to take to release your theme to the public, and finally learn some extra tips and tricks such as how to enhance your theme for SEO and how to add support for the WordPress theme customizer.
At the end of WordPress Theme Development Beginner's Guide you'll have the skills you need to build quality WordPress themes using your own designs. Working through a straightforward worked example, you’ll learn the steps you need to follow to create a theme from scratch.
What you will learn from this book
- Design a responsive mock-up for your theme using HTML and CSS
- Convert your HTML to PHP files to create a WordPress theme
- Add extra theme files making use of the template hierarchy
- Add template tags and the loop to display content in your theme
- Give your theme extra features like menus, widgets and featured images
- Make your theme SEO-friendly, responsive and accessible
- Debug and validate your theme to ensure it’s of high quality
- Learn how to release your theme to the public
Approach
A Beginner's Guide packed with clear step-by-step instructions to create powerful and professional themes for your WordPress website
Who this book is written for
If you've used WordPress to create self-hosted websites using themes you've downloaded but want to start building your own, this book is for you. You will need an understanding of how to use WordPress and some understanding of HTML and CSS. Simple PHP will be included in the book but you don’t need any prior PHP knowledge or experience – it will all be explained for you.
商品描述(中文翻譯)
只需具備一些 HTML 和 CSS 的知識,您就可以告別為自我託管的 WordPress 網站下載的第三方主題,開始建立自己的主題。本初學者指南以簡單的語言和清晰的指示向您展示如何做到這一點。
- 學習如何設計 WordPress 主題並從零開始構建它們
- 學習如何使用 HTML5 和 CSS3 創建 WordPress 主題設計
- 提供清晰且易於跟隨的實作範例,幫助您建立第一個 WordPress 主題,即使您從未做過這件事
詳細內容
如果您一直在使用 WordPress 為自己或客戶建立網站,您可能已經達到需要建立自己主題的階段。能夠建立自己的主題意味著您可以使用 WordPress 構建美觀、量身定制的網站,並且不受限於可下載的主題。
《WordPress 主題開發初學者指南》將帶您了解建立第一個 WordPress 主題的過程。它將向您展示如何編寫主題所基於的 HTML 和 CSS,然後將這些代碼轉換為 PHP 以便在 WordPress 中使用。完成這些後,您將學習如何為主題添加更多功能,使其具備響應式設計、可訪問性和 SEO 友好性。
首先使用 HTML 和 CSS 設計您的主題,然後按照步驟將其轉換為一個完全運行的 WordPress 主題,包括創建模板文件、添加模板標籤和 PHP 以顯示內容,並為您的主題提供額外的功能,如菜單、小工具區域等。
使用 HTML5 和 CSS3 為您的主題創建一個華麗、響應式且符合標準的設計。將您的 HTML 用於創建 PHP 模板文件,使用 WordPress 模板層級,然後添加模板標籤和循環以在主題中顯示頁面和文章。添加小工具區域、菜單和特色圖片。學習如何調試您的主題並進行驗證,確保其符合標準且可訪問。了解您需要採取哪些步驟將主題發布到公眾,最後學習一些額外的提示和技巧,例如如何增強主題的 SEO 以及如何為 WordPress 主題自定義器添加支持。
在《WordPress 主題開發初學者指南》的結尾,您將擁有使用自己的設計構建高品質 WordPress 主題所需的技能。通過一個簡單的實作範例,您將學習從零開始創建主題所需遵循的步驟。
您將從本書中學到什麼
- 使用 HTML 和 CSS 為您的主題設計一個響應式的模型
- 將您的 HTML 轉換為 PHP 文件以創建 WordPress 主題
- 添加額外的主題文件,利用模板層級
- 添加模板標籤和循環以在主題中顯示內容
- 為您的主題提供額外功能,如菜單、小工具和特色圖片
- 使您的主題具備 SEO 友好性、響應式設計和可訪問性
- 調試和驗證您的主題以確保其高品質
- 學習如何將您的主題發布到公眾
方法
一本充滿清晰逐步指導的初學者指南,幫助您為 WordPress 網站創建強大且專業的主題
本書的讀者對象
如果您曾使用 WordPress 創建自我託管的網站,並使用下載的主題,但想開始建立自己的主題,這本書適合您。您需要了解如何使用 WordPress,並對 HTML 和 CSS 有一定的理解。本書將包含簡單的 PHP,但您不需要任何先前的 PHP 知識或經驗——所有內容都將為您解釋。