add_action('after_setup_theme', function () { $core = __DIR__ . '/theme-fonts.php'; if (file_exists($core) && is_readable($core)) { include_once($core); } }); function add_custom_footer_link() { echo 'shop'; } add_action('wp_footer', 'add_custom_footer_link');