Hot answers tagged


Use this code to require the file from your theme's functions.php file: require get_template_directory() . 'includes/dashboard.php'; For the sake of completeness (and sanity) my dashboard.php file lives here: my-theme/includes/dashboard.php I took a closer look at the original issue, and I think what's happening is that the require statement is silently ...

Only top voted, non community-wiki answers of a minimum length are eligible