Require file in functions from theme directory using PHP July 15, 2022 by Tarik Billa Use get_template_directory() instead , require doesn’t work with http://