- WordPress 3 Plugin Development Essentials
- Brian Bondari Everett Griffiths
- 187字
- 2021-04-09 21:20:00
Chapter 3. Social Bookmarking
Now that we've covered the component parts of a WordPress plugin, it's time to write something more substantial. In this chapter, we will create a plugin that allows visitors to bookmark each of our posts using the social bookmarking service http://www.digg.com. We are going to learn a bit more about the WordPress API and by the time we're done, we will have in our toolbox a simple coding pattern that is applicable to many other plugins we may want to write, such as one that creates a Facebook "Like" button.
In this chapter, you will learn or review the following points:
- How to plan your plugin architecture and write code in a methodical and testable way
- How to use several WordPress API functions, such as how to retrieve the title and permalink URL of each post
- How to use WordPress hooks to execute your plugin code
- How to check the WordPress version
- How to include external JavaScript files
We're going to build this slowly and test it as we go so you can see how each component works. Let's get started!
推薦閱讀
- EJB 3.0 Database Persistence with Oracle Fusion Middleware 11g: LITE
- IBM Lotus Notes 8.5 User Guide
- 剪映專業版(電腦版)視頻剪輯全攻略:音效添加+轉場特效+視頻制作
- AIGC輔助數據分析與挖掘:基于ChatGPT的方法與實踐
- AutoCAD 2018中文版從入門到精通
- 24小時全速學會Photoshop 2021
- 零基礎學AutoCAD 2018(全視頻教學版)
- 綁定的藝術:Maya高級角色骨骼綁定技法(第2版)
- 從零開始:AutoCAD 2010中文版建筑制圖基礎培訓教程(第2版)
- 修片有道:PHOTOSHOP攝影后期專業技法
- Practical Data Analysis and Reporting with BIRT
- Flash with Drupal
- Oracle 10g/11g Data and Database Management Utilities: LITE
- 新手學UG NX 8.0輔助設計
- Away3D 3.6 Cookbook