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.

+
+