Sindbad~EG File Manager
<?php if (!defined('ABSPATH')) die('Direct access forbidden.');
//die('cpt found');
/**
* hooks for wp blog part
*/
// if there is no excerpt, sets a defult placeholder
// ----------------------------------------------------------------------------------------
if ( class_exists( 'TuritorCustomPost\Turitor_CustomPost' ) ) {
// events
$event = new TuritorCustomPost\Turitor_CustomPost( 'turitor' );
$event->xs_init( 'turitor-events', 'Event', 'Events', array( 'menu_icon' => 'dashicons-grid-view',
'supports' => array( 'title','editor','excerpt','thumbnail'),
'rewrite' => array( 'slug' => 'ts-events' ),
'exclude_from_search' => false,
));
$ins_tax = new TuritorCustomPost\Turitor_Taxonomies('turitor');
$ins_tax->xs_init('ts-event-category', 'Category', ' Categories', 'turitor-events');
// Teams
$team = new TuritorCustomPost\Turitor_CustomPost( 'turitor' );
$team->xs_init( 'ts-teams', 'team', 'Teams', array( 'menu_icon' => 'dashicons-admin-users',
'supports' => array( 'title','thumbnail','editor'),
'rewrite' => array( 'slug' => 'team' ) ) );
$team_tax = new TuritorCustomPost\Turitor_Taxonomies('turitor');
$team_tax->xs_init('ts-team-cat', 'Team Category', 'Team Categories', 'ts-teams');
$course_skill_label = new TuritorCustomPost\Turitor_Taxonomies('turitor');
$course_skill_label->xs_init('ts-skill-label', 'Skill label', ' Skill labels', 'lp_course');
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists