Custom posts in RTPanel child theme


#1

I just noticed that there was a custom post type in the admin menu of the child theme (named custom post). I see there is a function in the lib folder which creates this. Is there some function or reason for that other than to demonstrate that technique for creating them?

I am using the custom post type ui plugin for this. Can I safely delete that function?


#2

Hi phpadam,
There are lots of functions and examples in the child theme ( to help people get started on WordPress theme development ). Custom Post Type is one of them. You can safely delete the function or that particular file ( rtp-custom-posts.php ) if you are using a plugin to manage your custom post types.


#3