9

Revisited: Creating Custom Write Panels in WordPress

http://wefunction.com

Almost a year ago (wow, time flies!) I wrote a little tutorial explaining the nuances of add_meta_box in WordPress, and how it can be used to create some nifty Custom Write Panels.However, for an upcoming project, I foresaw some problems.The basic idea of the changes is to use a single row to include all the input fields, instead of one for each. If we store all of the data in a serialized array, we can have one key that holds all of our data. Because there is only one row to retrieve, we only have to define one variable to display our data.

Created by SunSeth 2 years 16 weeks ago – Made popular 2 years 15 weeks ago
Category: Wordpress Tutorials