- 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.
推薦閱讀
- TArch 8.5天正建筑軟件標(biāo)準(zhǔn)教程
- BPEL Cookbook: Best Practices for SOA/based integration and composite applications development
- SketchUp印象 城市規(guī)劃項(xiàng)目實(shí)踐(第2版)
- 計(jì)算機(jī)·手機(jī)生活應(yīng)用
- After Effects CC 2019 影視后期特效合成案例教程
- After Effects CS6入門與提高
- Vivado從此開始(進(jìn)階篇)
- 中文版Photoshop CC2018從入門到精通(第4版)
- SOLIDWORKS中文版實(shí)用教程
- 短視頻剪輯基礎(chǔ)與實(shí)戰(zhàn)應(yīng)用(剪映電腦版)
- 詳解AutoCAD 2022室內(nèi)設(shè)計(jì)(第6版)
- Solid Edge 機(jī)械設(shè)計(jì)基礎(chǔ)及應(yīng)用
- 剪映:零基礎(chǔ)輕松掌握手機(jī)剪輯短視頻
- FLUENT 15.0流場(chǎng)分析實(shí)戰(zhàn)指南
- Illustrator 2024實(shí)用教程