- WordPress Plugin Development Beginner's Guide
- Vladimir Prelovac
- 190字
- 2021-05-21 20:12:19
Summary
In this chapter, we created a working, useful, and attractive WordPress plugin from scratch. Our plugin now displays a fully functional Digg button.
We learned how to extract information using WordPress API and how to use CSS to improve the appearance of our plugin. We also investigated some more advanced WordPress functionalities such as hooks.
Specifically, we covered:
- Creating a plugin: How to fill in the information header and create a simple plugin template
- Checking WordPress version: How to check that our plugin is compatible with the user’s version of WordPress
- Modifying theme files: How to safely add functions to the theme files when we need to
- Accessing post information: Different ways of obtaining data from the post such as title, permalink and content
- Using WordPress hooks: How to use actions and filters to get things done from within our plugin (and not modifying the theme for instance)
Now that we've learned about WordPress hooks, we are ready to expand our knowledge and learn about Widgets. In the next chapter we will create a cool Wall widget for users to write comments directly on our blog sidebar.
推薦閱讀
- ModelSim電子系統分析及仿真(第3版)
- CAXA CAD電子圖板2020工程制圖
- Photoshop CS6 互聯網應用設計教程
- 3ds Max/VRay室內設計材質、燈光與建模速查超級手冊
- Entity Framework Tutorial
- Learning Ext JS 3.2
- AI圖像處理:Photoshop+Firefly后期處理技術基礎與實戰
- WordPress Theme Design
- 老郵差·Photoshop數碼照片處理技法:人像篇(修訂版)
- 學摳圖:Photoshop專業摳圖技法案例教程
- 中文版3ds Max 2022基礎教程
- IBM Lotus Notes and Domino 8.5.1
- CorelDRAW X6平面設計與制作案例教程
- ChatGPT+AI文案寫作實戰108招
- Building Websites with Mambo