WordPress Plugin Development Cookbook - Second Edition
暫譯: WordPress 外掛開發食譜 - 第二版

Yannick Lefebvre

買這商品的人也買了...

商品描述

Key Features

  • Learn how to change and extend WordPress to perform virtually any task
  • Explore the plugin API through approachable examples and detailed explanations
  • Mold WordPress to your project's needs or transform it to benefit the entire community

Book Description

WordPress is a popular, powerful, and open Content Management System. Learning how to extend its capabilities allows you to unleash its full potential, whether you're an administrator trying to find the right extension, a developer with a great idea to enhance the platform for the community, or a website developer working to fulfill a client's needs. This book shows readers how to navigate WordPress' vast set of API functions to create high-quality plugins with easy-to-configure administration interfaces.

With new recipes and materials updated for the latest versions of WordPress 4.x, this second edition teaches you how to create plugins of varying complexity ranging from a few lines of code to complex extensions that provide intricate new capabilities.

You'll start by using the basic mechanisms provided in WordPress to create plugins and execute custom user code. You will then see how to design administration panels, enhance the post editor with custom fields, store custom data, and modify site behavior based on the value of custom fields. You'll safely incorporate dynamic elements on web pages using scripting languages, and build new widgets that users will be able to add to WordPress sidebars and widget areas.

By the end of this book, you will be able to create WordPress plugins to perform any task you can imagine.

What you will learn

  • Discover how to register user callbacks with WordPress, forming the basis of plugin

商品描述(中文翻譯)

#### 主要特點
- 學習如何更改和擴展 WordPress,以執行幾乎任何任務
- 通過易於理解的範例和詳細的解釋來探索插件 API
- 根據項目的需求塑造 WordPress,或將其轉變為惠及整個社群的工具

#### 書籍描述
WordPress 是一個流行、強大且開放的內容管理系統。學習如何擴展其功能可以讓您釋放其全部潛力,無論您是試圖找到合適擴展的管理員、擁有增強社群平台的好點子的開發者,還是為滿足客戶需求而工作的網站開發者。本書向讀者展示如何導航 WordPress 廣泛的 API 函數集,以創建高品質的插件,並提供易於配置的管理介面。

這本第二版的書籍包含針對最新版本的 WordPress 4.x 更新的新食譜和材料,教您如何創建從幾行代碼到提供複雜新功能的複雜擴展的各種插件。

您將首先使用 WordPress 提供的基本機制來創建插件並執行自定義用戶代碼。接著,您將學習如何設計管理面板、使用自定義欄位增強文章編輯器、存儲自定義數據,並根據自定義欄位的值修改網站行為。您將安全地在網頁上使用腳本語言整合動態元素,並構建用戶能夠添加到 WordPress 側邊欄和小工具區域的新小工具。

在本書結束時,您將能夠創建 WordPress 插件,以執行您能想像的任何任務。

#### 您將學到的內容
- 發現如何在 WordPress 中註冊用戶回調,形成插件的基礎