官术网_书友最值得收藏!

Chapter 4. The Wall

As you may have noticeed, this chapter carries the name of a famous album, which rocked the music world back in 1982. The artists used an unusual mix of music and film to produce an exceptional piece of art.

In this chapter, we will be using the same mixed approach, by taking advantage of creative WordPress and JavaScript techniques, in order to create an Ajax powered 'Wall' for your blog's sidebar.

We will be relying on what we have learned so far—WordPress hooks, API calls, and jQuery. We will also introduce a way to use built-in WordPress functionalities to achieve our project goals—saving both effort and time.

This chapter will introduce quite a few interesting techniques such as:

  • Creating a special type of plugin—the Widget
  • Storing the wall comments in the database—working with WordPress database
  • Enter data in the form and updating the wall dynamically—Ajax form submit

You will learn these techniques by:

  • Creating the Wall widget that appears in your blog's side bar. Users can add a quick comment and it will appear in the sidebar immediately (without reloading the page).

The wall will increase the usability of any blog by presenting a global meeting place for all users to communicate.

The Wall
主站蜘蛛池模板: 中牟县| 义乌市| 嵩明县| 夏河县| 许昌县| 攀枝花市| 克什克腾旗| 当雄县| 平度市| 惠水县| 昭觉县| 英吉沙县| 宁国市| 三门峡市| 桐柏县| 秦安县| 资源县| 瑞安市| 讷河市| 广东省| 集安市| 太康县| 太仆寺旗| 兴仁县| 铜山县| 济源市| 塔河县| 临安市| 利川市| 九龙县| 安龙县| 子长县| 油尖旺区| 宣武区| 阜南县| 梨树县| 越西县| 永川市| 六盘水市| 海丰县| 彰化市|