/home/techb158/l2hypotheques.com/wp-content/plugins/pyloncore/inc
Edit: /home/techb158/l2hypotheques.com/wp-content/plugins/pyloncore/inc/wp-custom-post.php (4283B)
array(
'name' => esc_html__('Service', 'pyloncore'),
'singular_name' => esc_html__('Service', 'pyloncore'),
'add_new_item' => esc_html__('Add New Service', 'pyloncore'),
'all_items' => esc_html__('All Service', 'pyloncore'),
'add_new' => esc_html__('Add New', 'pyloncore'),
'edit_item' => esc_html__('Edit Service', 'pyloncore'),
'featured_image' => esc_html__('Service Image', 'pyloncore'),
'set_featured_image' => esc_html__('Set Service image', 'pyloncore'),
'remove_featured_image'=> esc_html__('Remove Service image', 'pyloncore'),
'use_featured_image' => esc_html__('Use as Service image', 'pyloncore'),
),
'rewrite' => array(
'slug' => 'service',
'with_front' => true
),
'public' => true,
'show_in_rest' => true,
'menu_icon' => 'dashicons-schedule',
'supports' => array('title', 'editor', 'author', 'thumbnail', 'excerpt' ),
)
);
//Team Members
register_post_type('pylon_team',
array(
'labels' => array(
'name' => esc_html__('Team Members', 'pyloncore'),
'singular_name' => esc_html__('Team Member', 'pyloncore'),
'add_new_item' => esc_html__('Add New Member', 'pyloncore'),
'all_items' => esc_html__('All Members', 'pyloncore'),
'add_new' => esc_html__('Add New', 'pyloncore'),
'edit_item' => esc_html__('Edit Member', 'pyloncore'),
'featured_image' => esc_html__('Member Image', 'pyloncore'),
'set_featured_image' => esc_html__('Set member image', 'pyloncore'),
'remove_featured_image'=> esc_html__('Remove member image', 'pyloncore'),
'use_featured_image' => esc_html__('Use as member image', 'pyloncore'),
),
'rewrite' => array(
'slug' => 'team',
'with_front' => true
),
'hierarchical' => false,
'public' => true,
'menu_icon' => 'dashicons-businessman',
'supports' => array('title','thumbnail', 'page-attributes'),
)
);
//Team Members
register_post_type('pylon_credit_card',
array(
'labels' => array(
'name' => esc_html__('Credit Cards', 'pyloncore'),
'singular_name' => esc_html__('Credit Card', 'pyloncore'),
'add_new_item' => esc_html__('Add New Credit Card', 'pyloncore'),
'all_items' => esc_html__('All Credit Card', 'pyloncore'),
'add_new' => esc_html__('Add New', 'pyloncore'),
'edit_item' => esc_html__('Edit Credit Card', 'pyloncore'),
'featured_image' => esc_html__('Credit Card Image', 'pyloncore'),
'set_featured_image' => esc_html__('Set Credit Card Image', 'pyloncore'),
'remove_featured_image'=> esc_html__('Remove Credit Card', 'pyloncore'),
'use_featured_image' => esc_html__('Use as Credit Card', 'pyloncore'),
),
'rewrite' => array(
'slug' => 'credit_card',
'with_front' => true
),
'hierarchical' => false,
'public' => true,
'menu_icon' => 'dashicons-feedback',
'supports' => array('title','editor','thumbnail','excerpt', 'page-attributes'),
)
);
}
add_action('init', 'pylon_register_custom_posts');