- 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.
- RAW攝影后期從入門到精通:Photoshop+Lightroom雙修精解
- UG NX10.0從新手到高手
- 數碼攝影后期零基礎入門教程
- Photoshop CC 2017實戰基礎培訓教程(全視頻微課版)
- 數碼攝影后期處理秘笈:Photoshop CC專業調色(第2版)
- UG NX 9.0中文版基礎與實例教程
- 從零開始:Photoshop工具詳解與實戰
- VRP11/3ds Max虛擬現實制作標準實訓教程
- 中文版Photoshop CC2018從入門到精通(第4版)
- MATLAB 2022a從入門到精通
- NetSuite OneWorld Implementation 2011 R2
- 手機/電腦雙平臺剪映短視頻后期編輯從新手到高手
- Microsoft SharePoint 2010 and Windows PowerShell 2.0: Expert Cookbook
- Vulkan實戰
- Adobe創意大學Premiere Pro CS5 影視剪輯師標準實訓教材