How to get_template_directory() properly on local environment
get_template_directory() returns a filesystem path– that is, it returns the path to the file as it would appear if you were browsing it on the local machine via a file browser. Return Values (string) Absolute path to the directory of the current theme (without the trailing slash). https://codex.wordpress.org/Function_Reference/get_template_directory That is what you are seeing. The … Read more