這篇是針對使用 WordPress.org 作為 Quick Deploy Solution,快速製作 POC (Proof of Concept) 時前台該如何開發的介紹。由於牽涉到各團隊的組成,有的團隊有 RD,有的團隊沒有,因此這套 Solution 必須要能滿足不同使用情境。
術語 Terminology | 概念 Concept |
---|---|
Theme | 佈景主題,也就是網站的外觀 |
[ | |
{ | |
"metadata": { | |
"id": "f50819ae-f5bf-43c8-869b-edec9ba96441", | |
"publisherId": "ArvinH.atomic-css-search", | |
"publisherDisplayName": "ArvinH" | |
}, | |
"name": "atomic-css-search", | |
"publisher": "ArvinH", | |
"version": "0.0.5" |
```php | |
<?php | |
/* | |
Plugin Name: WP Custom API Demo Plugin | |
Plugin URI: https://developer.wordpress.org/plugins/the-basics/ | |
Description: Basic WordPress API | |
Version: 20160911 | |
Author: WP QDS | |
Domain Path: /languages | |
*/ |
<?php | |
/* | |
Term Archive Pages: | |
- http://example.com/recipes/dinner/ | |
- http://example.com/recipes/breakfast,brunch/ | |
Single Recipe Pages: | |
- http://example.com/recipes/dinner/soup-title/ |