The get_template_part()
function is intended to include a template-part file in the template – i.e. on the front end.
Use include()
instead, along with get_template_directory()
:
function theme_options() {
include( get_template_directory() . '/content-options.php' );
}