My last tutorial was Create Custom Post Type in WordPress. Before read this tutorial please take a view in past article. Today we will discuss some advanced features in WordPress Custom Post Type. Personally i lke Custom Post Type very much. It is very handy and most powerful feature comes with WordPress.
Why Use Custom Meta Fields?
Custom fields allows you to make your WordPress backend customizable and managable easily. Example, you want to create a Portfolio Section for your own collection of works. It may be include fields like- Portfolio Title, Description, Website URL, Thumbnail Image etc. You cann't get all the fields you need, built in with WordPress.
GET STARTED!!!
To create custom meta boxes, you have to learn about action hooks, that create a meta box and save it in the 'prefix_postmeta" table in Database.
Register Meta Box with action hook in your functions.php page in the theme folder.
{codecitation style="brush: php;"}
...