Creating Custom Post
Create a folder called post_types and in that create a file called class.wib-slider-cpt.php.
Basic structure looks like this:
<?php
if (!class_exists ('Wib_Slider_Post_Type')){
class Wib_Slider_Post_Type{
function __contstruct(){
add_action('init',array($this, 'create_post_type'));
}
public function create_post_type(){
}
}
}
?>
Now need to register our post type.
