When I've built static sites in the past I've had an includes folder and used php if I've needed to repeat components / HTML over different pages.
I've noticed in Wordpress that this functionality is undertaken with a template-parts
folder which seems to do the same thing.
I'm about to start building a custom theme for the 1st time and my question is, is there a reason why I should use template-parts
instead of an includes
folder, and if I use an includes
folder will there be any negatives to this?
Many thanks
get_template_part('<dir>/<file>');
all the time just remember to leave the.php
of the file part.