It's the basic template not coming from X theme, that option will not really work. May I know the purpose of adding this template? If it's just hiding the title then please remove that template and just toggle on that option in the setting as provided.
And that template is for the page, I assume you have a different one for local offices post type?
Please check this for best practices for X template customization https://theme.co/apex/forum/t/customizations-best-practices/205,
And these other threads will help too
Unfortunately, we can't cover or support full customization of templates, but we could check your implemented templates and maybe we can provide some insight into what's going on. Right now, please start it with suggested template implementation.