Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
使用AI,學習如何編寫WordPress插件經驗分享
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Hong Kong WordPress Meetup
September 23, 2024
34
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
使用AI,學習如何編寫WordPress插件經驗分享
作為一名非程序員的IT從業者,在這次活動中,Nicholas將會分享最近嘗試利用Cursor AI,學習如何由0開始,編寫自己的WordPress插件。
Hong Kong WordPress Meetup
September 23, 2024
More Decks by Hong Kong WordPress Meetup
See All by Hong Kong WordPress Meetup
GDG Cloud Hong Kong Introduction
hkwp
0
10
Vibe Coding” (氛圍編碼):從 UI/UX 到網站開發
hkwp
0
11
About WordPress and Hong Kong WordPress Meetup
hkwp
0
13
Hong Kong WordPress Meetup #98
hkwp
0
10
AI SEO 轉化革命:在 AI Overview 時代,如何從更少的流量中獲得更高的訂單轉化?
hkwp
0
19
AI 召喚師的奧義:WordPress 網站生成術 for HKOSCon 2026
hkwp
0
18
HKOSCon 2026 WordPress Sessions
hkwp
0
22
WordPress, Hugo and Astro – Pick the Best Open-Source CMS
hkwp
0
19
Hong Kong WordPress Meetup #97
hkwp
0
21
Featured
See All Featured
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
180
Optimising Largest Contentful Paint
csswizardry
37
3.7k
WCS-LA-2024
lcolladotor
0
660
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Code Review Best Practice
trishagee
74
20k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
210
Bash Introduction
62gerente
615
220k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Scaling GitHub
holman
464
140k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
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!