Today we will learn how to automatically add meta boxes to custom post types in WordPress.
Without modifications, the add_meta_box function only adds your meta box to the post type that you have specified. I will give you the code today that will allow you to add them dynamically to any new custom post types that your create. I will also show you the code so that you can skip specific post types if you so desire. Let’s get started!Setting Up the Function
I am going to be assuming you are using WordPress 3.0 or greater. If you are … [continue reading]