From 0e16078554b076cc470052d341ae2c7540f60cd2 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 24 Sep 2025 16:19:31 +0200 Subject: [PATCH] FEATURE Introducing social networks block --- .../acf-blocks/social-networks/block.json | 21 +++++++++++ .../social-networks/social-networks.php | 37 +++++++++++++++++++ plugins/carhop-blocks/index.php | 1 + 3 files changed, 59 insertions(+) create mode 100644 plugins/carhop-blocks/acf-blocks/social-networks/block.json create mode 100644 plugins/carhop-blocks/acf-blocks/social-networks/social-networks.php diff --git a/plugins/carhop-blocks/acf-blocks/social-networks/block.json b/plugins/carhop-blocks/acf-blocks/social-networks/block.json new file mode 100644 index 0000000..be5928d --- /dev/null +++ b/plugins/carhop-blocks/acf-blocks/social-networks/block.json @@ -0,0 +1,21 @@ +{ + "name": "acf/social-networks", + "title": "Réseaux sociaux", + "category": "carhop-blocks", + "multiple": false, + "icon": { + "foreground": "#136f63", + "src": "groups" + }, + "keywords": [ + "réseaux sociaux", + "facebook", + "youtube" + ], + "supports": {}, + "acf": { + "mode": "auto", + "renderTemplate": "social-networks.php" + }, + "align": "full" +} \ No newline at end of file diff --git a/plugins/carhop-blocks/acf-blocks/social-networks/social-networks.php b/plugins/carhop-blocks/acf-blocks/social-networks/social-networks.php new file mode 100644 index 0000000..2e8588e --- /dev/null +++ b/plugins/carhop-blocks/acf-blocks/social-networks/social-networks.php @@ -0,0 +1,37 @@ + + + +
+

Aucun réseau social configuré. Allez dans Réglages > Réseaux sociaux pour les configurer.

+
+