Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(function_exists("register_field_group"))
- {
- register_field_group(array (
- 'id' => 'acf_prodotti-in-blog',
- 'title' => 'Prodotti in blog',
- 'fields' => array (
- array (
- 'key' => 'field_5a8ef9c0fa637',
- 'label' => 'descrizione',
- 'name' => 'descrizione',
- 'type' => 'textarea',
- 'default_value' => '',
- 'placeholder' => 'Inserisci la descrizione',
- 'maxlength' => '',
- 'rows' => '',
- 'formatting' => 'br',
- ),
- array (
- 'key' => 'field_5a8ef9d6fa638',
- 'label' => 'proprietà',
- 'name' => 'proprietà',
- 'type' => 'textarea',
- 'default_value' => '',
- 'placeholder' => '',
- 'maxlength' => '',
- 'rows' => '',
- 'formatting' => 'br',
- ),
- array (
- 'key' => 'field_5a8efc7d644ad',
- 'label' => 'url italiano',
- 'name' => 'url_italiano',
- 'type' => 'text',
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'formatting' => 'html',
- 'maxlength' => '',
- ),
- array (
- 'key' => 'field_5a8efca1644ae',
- 'label' => 'url inglese',
- 'name' => 'url_inglese',
- 'type' => 'text',
- 'default_value' => '',
- 'placeholder' => '',
- 'prepend' => '',
- 'append' => '',
- 'formatting' => 'html',
- 'maxlength' => '',
- ),
- array (
- 'key' => 'field_5a8efcb9644af',
- 'label' => 'immagine prodotto',
- 'name' => 'immagine_prodotto',
- 'type' => 'image',
- 'save_format' => 'object',
- 'preview_size' => 'thumbnail',
- 'library' => 'all',
- ),
- ),
- 'location' => array (
- array (
- array (
- 'param' => 'post_type',
- 'operator' => '==',
- 'value' => 'prodotto_in_blog',
- 'order_no' => 0,
- 'group_no' => 0,
- ),
- ),
- ),
- 'options' => array (
- 'position' => 'normal',
- 'layout' => 'no_box',
- 'hide_on_screen' => array (
- ),
- ),
- 'menu_order' => 0,
- ));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement