diff --git a/functions.php b/functions.php index 4c52b38..acf75f0 100644 --- a/functions.php +++ b/functions.php @@ -152,4 +152,6 @@ require get_template_directory() . '/inc/customizer.php'; /** * Load Jetpack compatibility file. */ -require get_template_directory() . '/inc/jetpack.php'; +if ( defined( 'JETPACK__VERSION' ) ) { + require get_template_directory() . '/inc/jetpack.php'; +}