Creating a Custom Post as a repository for theme constants

Post meta data are for posts only. You should not create a new post type to use custom options.

There is a dedicated Options API for that use case. Create an options page and let the user update the option there.

File not found.