title: "WordPress 开发资源指南" post_status: publish comment_status: open taxonomy: category: - advanced-administration-handbook post_tag: - Resources - Repos - Data
WordPress 开发资源指南
在您设计 WordPress 主题或构建插件时,将会综合运用 HTML、CSS、PHP 和 JavaScript (JS) 技术。
网络上存在大量(可能过多)的入门资源来帮助您学习这些网页开发语言。这可能会让人不知所措!
通过本资源页面,我们旨在聚焦那些能为您提供最清晰指引的资源与指南,帮助您高效掌握 HTML、CSS、PHP 和 JS 的使用。这里并非完整清单,仅为您提供入门指引。
建议您保存或收藏此页面,作为开发 WordPress 主题或插件时的学习参考。另请参阅: - 主题开发者手册 - 插件开发者手册 - 区块编辑器手册
通用 Web 开发教育
WordPress.org 发布了 Learn WordPress,它将指导你学习围绕 WordPress 开发的多个主题。
freeCodeCamp 是一个免费开源的教育平台,并非 WordPress 专属。他们提供教学、演示项目和自己的认证,已帮助数百万人学习 HTML、CSS 和 JavaScript。
他们将在其 响应式网页设计 课程中教你 HTML 和 CSS 的基础知识。
如果你想深入学习 JavaScript,可以在他们的 前端开发库 课程中进行,该课程将带你入门 JavaScript 甚至 React,这对你开发主题、插件,尤其是区块会很有帮助。
遗憾的是,目前没有 PHP 课程。
此外,由于你将编写代码,最好熟悉一下 WordPress 编码标准 和 内联文档标准。
除此之外,以下是一些针对每种语言你可能觉得有用的资源。
HTML
CSS
If this is your first time using CSS with WordPress, this document provides a fantastic overview
Other than that, these are some solid resources for you to review:
- W3 Schools
- MDN
- CSS Tricks
- CSS Zen Garden - the art of the possible in CSS
- CSS on A List Apart
- Flexbox Guide
- CSS Grid Guide
- CSS Grid by Example
JavaScript
- W3Schools JS
- MDN
- JSDoc for documenting your code
- ReactJS
PHP
- PHP Language Reference
- PHP Function Reference
- W3Schools PHP
- PHP The Right Way is a high level review of modern PHP
- PHPDoc for documenting your code
- SitePoint's PHP resources
Books
- The good folks at WebDev Studios have put out several books on WordPress theming, plugin development, and also how to use WordPress. You can find a list of their books here
- You Don't Know JS is a book series on modern JS development. This the Github repo for the books, or you can purchase physical copies.
- Eloquent JavaScript
- JavaScript: The Definitive Guide
- PHP Cookbook
- Programming PHP