WordPress - Calling template partials / parts into theme files
01. Create a new .php file and put your template parts into it, such as the menu, the image slider etc
02. Call the template partial into them theme file using the below:
<?php get_template_part( 'main-menu' ); ?>