diff --git a/wp-content/themes/dxw-security-2017/app/Posts/CustomFields.php b/wp-content/themes/dxw-security-2017/app/Posts/CustomFields.php index a05defa..c89e94c 100644 --- a/wp-content/themes/dxw-security-2017/app/Posts/CustomFields.php +++ b/wp-content/themes/dxw-security-2017/app/Posts/CustomFields.php @@ -319,6 +319,10 @@ public function addPageTemplatesFields() public function addHomePageFields() { + if (!function_exists('acf_add_local_field_group')) { + return; + } + acf_add_local_field_group([ 'key' => 'group_5971ca59db830', 'title' => 'Homepage services',