Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
使用AI,學習如何編寫WordPress插件經驗分享
Search
Hong Kong WordPress Meetup
September 23, 2024
0
24
使用AI,學習如何編寫WordPress插件經驗分享
作為一名非程序員的IT從業者,在這次活動中,Nicholas將會分享最近嘗試利用Cursor AI,學習如何由0開始,編寫自己的WordPress插件。
Hong Kong WordPress Meetup
September 23, 2024
Tweet
Share
More Decks by Hong Kong WordPress Meetup
See All by Hong Kong WordPress Meetup
Hong Kong WordPress Meetup #91
hkwp
0
8
WordPress CI:如何使用 GitHub Action 自動測試你的設定、插件或者模版
hkwp
0
10
Hong Kong WordPress Meetup #90
hkwp
0
14
WordPress 網站搬遷經驗之談
hkwp
0
12
What’s the Deal with Wapuu?
hkwp
0
8
Hong Kong WordPress Meetup #89
hkwp
0
9
將 UX/UI 設計原則應用於 WordPress:從 Figma 到無縫網站體驗
hkwp
0
15
Hong Kong WordPress Meetup #88
hkwp
0
14
使用 WordPress 妥善管理你的網路書簽
hkwp
0
15
Featured
See All Featured
Speed Design
sergeychernyshev
33
1.4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
BBQ
matthewcrist
89
9.9k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
The World Runs on Bad Software
bkeepers
PRO
72
12k
What's in a price? How to price your products and services
michaelherold
246
12k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.2k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
A Modern Web Designer's Workflow
chriscoyier
697
190k
Scaling GitHub
holman
464
140k
Transcript
使用AI,學習如何編寫WordPress插件經驗分享 Experience Sharing on Learning to Write WordPress Plugins Using
AI Nicholas Yau https://nicholas.hk
Introduction to WordPress Plugins • What is a WordPress plugin?
• Customize and extend functionality of WordPress sites
Empowering Non-Programmers Non-programmers can create plugins to meet specific needs
01 No coding experience required with simple examples 02 Resources and tools available for guidance 03
Basic Structure of a WordPress Plugin File Structure: Plugin folder
Main plugin file Key Components: Plugin header Settings page for user input Shortcode for displaying content
Demo: Creating a Simple Greeting Plugin Objective: Allow users to
input a greeting message Use shortcode to display it on the front end
Create Plugin File Structure Create a folder: greeting-plugin Create main
file: greeting-plugin.php Visual: Folder structure diagram
Explain the requirements in Cursor
Create the page greeting-plugin.php by Cursor AI
Apply the changes to the file automatically by clicking “Accept”
Upload the plugin and activate it
Input text in the Greeting Plugin Settings page
Step 6 - Usage Use the shortcode [greeting] in posts/pages.
Display the greeting message set in the admin settings.
Using AI Tools to Simplify Development AI TOOLS FOR CODE
GENERATION (E.G., CHATGPT, GITHUB COPILOT) EXAMPLES OF HOW AI CAN ASSIST WITH PLUGIN DEVELOPMENT REDUCING THE LEARNING CURVE FOR NON- PROGRAMMERS
Conclusion Recap of how non-programmers can create plugins Encouragement to
experiment with simple plugins Resources for further learning
Q&A Session • Questions & Answers • Feel free to
ask any questions!