diff --git a/wp-content/themes/ccat/acf-json/group_abstract_builder.json b/wp-content/themes/ccat/acf-json/group_abstract_builder.json index e11d276..2785fe4 100644 --- a/wp-content/themes/ccat/acf-json/group_abstract_builder.json +++ b/wp-content/themes/ccat/acf-json/group_abstract_builder.json @@ -33,9 +33,7 @@ "toggle", "copy" ], - "acfe_flexible_remove_button": [ - "add" - ], + "acfe_flexible_remove_button": [], "acfe_flexible_modal_edit": { "acfe_flexible_modal_edit_enabled": "1", "acfe_flexible_modal_edit_size": "xlarge" @@ -161,5 +159,5 @@ "graphql_types": "", "acfe_meta": "", "acfe_note": "", - "modified": 1758715372 + "modified": 1758719135 } diff --git a/wp-content/themes/ccat/layouts/preview.php b/wp-content/themes/ccat/layouts/preview.php index 53b5b66..84b7d79 100644 --- a/wp-content/themes/ccat/layouts/preview.php +++ b/wp-content/themes/ccat/layouts/preview.php @@ -1,5 +1,11 @@ 'POST' ) ); -?> -
= $result['body'] ?>+$data = array( + 'layout' => get_row_layout(), +); +$result = wp_remote_post( $preview_url, array( 'body' => $data ) ); +if ( is_wp_error( $result ) ) { + echo '