HEX
Server: Apache
System: Linux webd004.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: frenchy (106757)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/frenchy/www/french-american.org/current/app/functions/acf-fields/theme-options.fields.php
<?php

if (function_exists('acf_add_local_field_group')) :

  acf_add_local_field_group(array(
    'key' => 'options_theme_key',
    'title' => 'Options du thème',
    'fields' => array(
      array(
        'key' => 'suivi_statistiques_key',
        'label' => 'Suivi &amp; statistiques',
        'name' => '',
        'type' => 'tab',
        'instructions' => '',
        'required' => 0,
        'conditional_logic' => 0,
        'wrapper' => array(
          'width' => '',
          'class' => '',
          'id' => '',
        ),
        'hide_admin' => 0,
        'placement' => 'top',
        'endpoint' => 0,
      ),
      array(
        'key' => 'outils_google_key',
        'label' => 'Outils Google',
        'name' => '',
        'type' => 'group',
        'instructions' => '',
        'required' => 0,
        'conditional_logic' => 0,
        'wrapper' => array(
          'width' => '',
          'class' => '',
          'id' => '',
        ),
        'hide_admin' => 0,
        'layout' => 'row',
        'sub_fields' => array(
          array(
            'key' => 'theme_option_ga_key',
            'label' => 'ID Google Analytics',
            'name' => 'theme_option_ga',
            'type' => 'text',
            'instructions' => '',
            'required' => 0,
            'conditional_logic' => 0,
            'wrapper' => array(
              'width' => '',
              'class' => '',
              'id' => '',
            ),
            'hide_admin' => 0,
            'default_value' => '',
            'placeholder' => '',
            'prepend' => '',
            'append' => '',
            'maxlength' => '',
          ),
          array(
            'key' => 'theme_option_gtm_key',
            'label' => 'ID Google Tag Manager',
            'name' => 'theme_option_gtm',
            'type' => 'text',
            'instructions' => '',
            'required' => 0,
            'conditional_logic' => 0,
            'wrapper' => array(
              'width' => '',
              'class' => '',
              'id' => '',
            ),
            'hide_admin' => 0,
            'default_value' => '',
            'placeholder' => '',
            'prepend' => '',
            'append' => '',
            'maxlength' => '',
          ),
        ),
      ),
      array(
        'key' => 'reseaux_sociaux_key',
        'label' => 'Réseaux sociaux',
        'name' => '',
        'type' => 'tab',
        'instructions' => '',
        'required' => 0,
        'conditional_logic' => 0,
        'wrapper' => array(
          'width' => '',
          'class' => '',
          'id' => '',
        ),
        'hide_admin' => 0,
        'placement' => 'top',
        'endpoint' => 0,
      ),
      array(
        'key' => 'url_reseaux_sociaux_key',
        'label' => 'URL des réseaux sociaux',
        'name' => '',
        'type' => 'group',
        'instructions' => '',
        'required' => 0,
        'conditional_logic' => 0,
        'wrapper' => array(
          'width' => '',
          'class' => '',
          'id' => '',
        ),
        'hide_admin' => 0,
        'layout' => 'row',
        'sub_fields' => array(
          array(
            'key' => 'theme_option_facebook_key',
            'label' => 'Facebook',
            'name' => 'theme_option_facebook',
            'type' => 'url',
            'instructions' => 'Merci de saisir l\'adresse du compte Facebook',
            'required' => 0,
            'conditional_logic' => 0,
            'wrapper' => array(
              'width' => '',
              'class' => '',
              'id' => '',
            ),
            'hide_admin' => 0,
            'default_value' => '',
            'placeholder' => '',
          ),
          array(
            'key' => 'theme_option_twitter_key',
            'label' => 'Twitter',
            'name' => 'theme_option_twitter',
            'type' => 'url',
            'instructions' => 'Merci de saisir l\'adresse du compte Twitter',
            'required' => 0,
            'conditional_logic' => 0,
            'wrapper' => array(
              'width' => '',
              'class' => '',
              'id' => '',
            ),
            'hide_admin' => 0,
            'default_value' => '',
            'placeholder' => '',
          ),
          array(
            'key' => 'theme_option_linkedin_key',
            'label' => 'LinkedIn',
            'name' => 'theme_option_linkedin',
            'type' => 'url',
            'instructions' => 'Merci de saisir l\'adresse du compte LinkedIn',
            'required' => 0,
            'conditional_logic' => 0,
            'wrapper' => array(
              'width' => '',
              'class' => '',
              'id' => '',
            ),
            'hide_admin' => 0,
            'default_value' => '',
            'placeholder' => '',
          ),
          array(
            'key' => 'theme_option_instagram_key',
            'label' => 'Instagram',
            'name' => 'theme_option_instagram',
            'type' => 'url',
            'instructions' => 'Merci de saisir l\'adresse du compte Instagram',
            'required' => 0,
            'conditional_logic' => 0,
            'wrapper' => array(
              'width' => '',
              'class' => '',
              'id' => '',
            ),
            'hide_admin' => 0,
            'default_value' => '',
            'placeholder' => '',
          ),
          array(
            'key' => 'theme_option_youtube_key',
            'label' => 'Youtube',
            'name' => 'theme_option_youtube',
            'type' => 'url',
            'instructions' => 'Merci de saisir l\'adresse du compte Youtube',
            'required' => 0,
            'conditional_logic' => 0,
            'wrapper' => array(
              'width' => '',
              'class' => '',
              'id' => '',
            ),
            'hide_admin' => 0,
            'default_value' => '',
            'placeholder' => '',
          ),
        ),
      ),
    ),
    'location' => array(
      array(
        array(
          'param' => 'options_page',
          'operator' => '==',
          'value' => 'theme-general-settings',
        ),
      ),
    ),
    'menu_order' => 0,
    'position' => 'normal',
    'style' => 'seamless',
    'label_placement' => 'top',
    'instruction_placement' => 'label',
    'hide_on_screen' => array(
      0 => 'permalink',
      1 => 'the_content',
      2 => 'excerpt',
      3 => 'discussion',
      4 => 'comments',
      5 => 'revisions',
      6 => 'slug',
      7 => 'author',
      8 => 'format',
      9 => 'page_attributes',
      10 => 'featured_image',
      11 => 'categories',
      12 => 'tags',
      13 => 'send-trackbacks',
    ),
    'active' => true,
    'description' => '',
  ));

endif;