To begin with, I created a Theme Options panel in which I created fields for editing Header and Footer. Next, to edit the main content on the page, the Elementor plugin was connected, in which I made a separate widget for each block of the site with its own fields and settings.