moves all the checks in `/inc/load-options.php` to separate functions and handled by a template tag

this avoids using an include in template files