WordPress Theme Development - Beginner's Guide

Tessa Blakeley Silver, Rachel McCollin

  • 出版商: Packt Publishing
  • 出版日期: 2013-03-23
  • 售價: $1,670
  • 貴賓價: 9.5$1,587
  • 語言: 英文
  • 頁數: 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用於使用WordPress模板層次結構創建PHP模板文件,然後添加模板標籤和循環以在主題中顯示頁面和文章。添加小工具區域、菜單和特色圖像。學習如何調試和驗證你的主題,確保它符合標準且可訪問。了解發布主題到公共網絡所需的步驟,最後學習一些額外的技巧,例如如何為SEO增強你的主題以及如何為WordPress主題自定義器添加支持。

通過《WordPress主題開發初學者指南》,你將掌握使用自己設計的高質量WordPress主題所需的技能。通過一個簡單的實例,你將學習從頭開始創建主題的步驟。

從本書中你將學到:
使用HTML和CSS設計主題的響應式模擬。
將HTML轉換為PHP文件以創建WordPress主題。
添加使用模板層次結構的額外主題文件。
添加模板標籤和循環以在主題中顯示內容。
為主題添加菜單、小工具和特色圖像。
使你的主題具有SEO友好、響應式和可訪問的特性。
調試和驗證你的主題,確保其質量。
學習如何將你的主題發布到公共網絡。
方法:
這是一本初學者指南,充滿了清晰的逐步指示,可以為你的WordPress網站創建強大且專業的主題。

本書適合對於使用WordPress創建自託管網站並使用下載的主題的人。你需要了解如何使用WordPress以及一些HTML和CSS的知識。書中將包含簡單的PHP內容,但你不需要任何先前的PHP知識或經驗,因為所有內容都將為你解釋清楚。