Support

Account

Home Forums Front-end Issues Front end not showing Reply To: Front end not showing

  • If i go to the extra fields en press export and select the groep i get the option export to php. I get this result.

    if(function_exists(“register_field_group”))
    {
    register_field_group(array (
    ‘id’ => ‘acf_binnen’,
    ‘title’ => ‘Binnen’,
    ‘fields’ => array (
    array (
    ‘key’ => ‘field_5329ae4ce9630’,
    ‘label’ => ‘Staat onderhoud’,
    ‘name’ => ‘staat_onderhoud’,
    ‘type’ => ‘select’,
    ‘choices’ => array (
    ‘Maak een keuze’ => ‘Maak een keuze’,
    ‘Slecht’ => ‘Slecht’,
    ‘Matig’ => ‘Matig’,
    ‘Goed’ => ‘Goed’,
    ‘Uitstekend’ => ‘Uitstekend’,
    ),
    ‘default_value’ => ”,
    ‘allow_null’ => 0,
    ‘multiple’ => 0,
    ),
    array (
    ‘key’ => ‘field_5329e46f1e3ae’,
    ‘label’ => ‘Test’,
    ‘name’ => ‘test’,
    ‘type’ => ‘text’,
    ‘default_value’ => ”,
    ‘placeholder’ => ”,
    ‘prepend’ => ”,
    ‘append’ => ”,
    ‘formatting’ => ‘html’,
    ‘maxlength’ => ”,
    ),
    ),
    ‘location’ => array (
    array (
    array (
    ‘param’ => ‘post_type’,
    ‘operator’ => ‘==’,
    ‘value’ => ‘listings’,
    ‘order_no’ => 0,
    ‘group_no’ => 0,
    ),
    ),
    array (
    array (
    ‘param’ => ‘post_type’,
    ‘operator’ => ‘==’,
    ‘value’ => ‘post’,
    ‘order_no’ => 0,
    ‘group_no’ => 1,
    ),
    ),
    array (
    array (
    ‘param’ => ‘post_type’,
    ‘operator’ => ‘==’,
    ‘value’ => ‘page’,
    ‘order_no’ => 0,
    ‘group_no’ => 2,
    ),
    ),
    ),
    ‘options’ => array (
    ‘position’ => ‘side’,
    ‘layout’ => ‘no_box’,
    ‘hide_on_screen’ => array (
    ),
    ),
    ‘menu_order’ => 0,
    ));
    }

    What should i do with this then?