- 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.
- 數字孿生體:第四次工業革命的通用目的技術
- Maya建模技術解析
- Photoshop+CorelDRAW平面設計實例教程(第4版)
- 3ds Max 2015中文版從入門到精通
- GlassFish Administration
- Photoshop+Illustrator商業廣告設計從入門到精通(第2版)
- 中文版Photoshop CS6全能修煉圣經(移動學習版)
- 正則表達式必知必會(修訂版)
- After Effects 2022從新手到高手
- Mastercam 2019 完全自學寶典
- After Effects 影視后期特效:短視頻制作實戰寶典
- AI設計時代:Midjourney實戰應用手冊
- 會聲會影X8 DV影片制作/編輯/刻盤實戰從入門到精通
- 從零開始:Dreamweaver CS6中文版基礎培訓教程
- Funambol Mobile Open Source