- WordPress Plugin Development Beginner's Guide
- Vladimir Prelovac
- 213字
- 2021-05-21 20:12:22
Summary
We have come a long way from the initial concept to the final plugin. We have learned that using jQuery and Ajax with WordPress does not have to be hard.
The Live Blogroll plugin we created made our blogroll more attractive and interactive. When the user hovers the mouse over the links, a list of recent posts is displayed using Ajax to retrieve the information. We learned how to use Ajax with high-level jQuery functions and easily process the retrieved data.
Specifically, we covered:
- Blogroll: Accessing and modifying information using WordPress filters hook
- Fetching RSS feeds: Using built-in WordPress functionality with caching
- Use scripts and other code in <head> section: Including JavaScript and CSS files using WordPress action hooks
- Using jQuery: Setting up a jQuery file, with its powerful set of functions, and using it later with Ajax support
- Ajax: Integrating Ajax with our scripts, and using it to generate content dynamically
- Using nonces: Securing your WordPress plugins using nonces
Both jQuery and Ajax offer huge possibilities for plugin development. Making your plugins interact more with the users is definitely a trend to follow in the future.
The next step in our journey through WordPress plugin development will be a cool, Ajax-powered, Wall widget allowing users to leave comments much like a shoutbox.
- Excel函數、公式、圖表、數據處理從新手到高手
- UG NX 12.0中文版完全自學一本通
- Painter繪畫實例教程
- VMware虛擬化與云計算:vSphere運維卷
- 中文版3ds Max 2024完全自學教程
- Procreate繪畫創作從入門到精通
- SPSS進階分析與實務
- YUI 2.8: Learning the Library
- Unity Game Development Essentials
- Oracle Siebel CRM 8 User Management: LITE
- 通達信炒股軟件從入門到精通(第2版)
- SolidWorks 2018有限元:運動仿真與流場分析自學手冊
- 新印象Premiere短視頻拍攝+剪輯+特效關鍵技術
- Microsoft Azure: Enterprise Application Development
- AI純美人物繪畫關鍵詞圖鑒(Midjourney版)