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
Hong Kong WordPress Meetup
September 23, 2024
31
0
Share
使用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
Hong Kong WordPress Meetup #96
hkwp
0
16
Hong Kong WordPress Meetup #95
hkwp
0
21
Why Design Matters: First Impressions Count
hkwp
0
25
Hong Kong WordPress Meetup #94
hkwp
0
22
AI 召喚師的奧義:WordPress 網站生成術
hkwp
0
26
Hong Kong WordPress Meetup #93
hkwp
0
27
The 5 Essential UI Principles You Can Apply to Your Website Today
hkwp
0
30
使用WordPress作為街頭訪問工具(Presented)
hkwp
0
20
Hong Kong WordPress Meetup #92
hkwp
0
34
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.3k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
780
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
270
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Site-Speed That Sticks
csswizardry
13
1.2k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
210
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Paper Plane (Part 1)
katiecoart
PRO
0
7.2k
WENDY [Excerpt]
tessaabrams
10
37k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
540
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
190
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!