2- Using the functions.php file from your child theme and adding the desired code. You can generate it using this online generator: WordPress Post Type Generator - Meta Box
When your Custom Post Type will be ready, you will be able to assign to it a specific design using Bricks Template:
Wordpress > Settings > Bricks > Template > Add new > Select Template Type > Single