Functions.php + Define template parts

Hi @pierrehansen have you looked at this article from the docs “How to add code snippets to the functions.php file” and this might also be of help “Why and How to create a settings page”, I’m not sure how relevant it is to your situation but I thought there’s no harm in sharing it with you.