Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
themes
/
kasuari
/
inc
/
function
:
meta-box.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php if(function_exists("register_field_group")) { register_field_group(array ( 'id' => 'acf_gallery-meta', 'title' => 'Gallery Meta', 'fields' => array ( array ( 'key' => 'field_52ddeb8a1f132', 'label' => 'Kasuari Gallery', 'name' => 'kasuari_gallery', 'type' => 'gallery', 'preview_size' => 'thumbnail', ), ), 'location' => array ( array ( array ( 'param' => 'post_format', 'operator' => '==', 'value' => 'gallery', 'order_no' => 0, 'group_no' => 0, ), ), ), 'options' => array ( 'position' => 'acf_after_title', 'layout' => 'default', 'hide_on_screen' => array ( ), ), 'menu_order' => 0, )); register_field_group(array ( 'id' => 'acf_video-format', 'title' => 'Video Format', 'fields' => array ( array ( 'key' => 'field_531178e127a32', 'label' => 'Video Url', 'name' => 'video_url', 'type' => 'text', 'instructions' => 'For Vimeo/Youtube and Some Of Video Provider that support oEmbed. Just add the url here', 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'formatting' => 'none', 'maxlength' => '', ), array ( 'key' => 'field_531178b427a31', 'label' => 'Video Embed', 'name' => 'video_embed', 'type' => 'textarea', 'instructions' => 'If you\'re more comfortable with just embed code. Paste in here', 'default_value' => '', 'placeholder' => '', 'maxlength' => '', 'formatting' => 'none', ), array ( 'key' => 'field_5311797127a33', 'label' => 'Video File', 'name' => 'video_file', 'type' => 'file', 'instructions' => 'If You prefer to upload your own video file. Upload Here', 'save_format' => 'url', 'library' => 'all', ), ), 'location' => array ( array ( array ( 'param' => 'post_format', 'operator' => '==', 'value' => 'video', 'order_no' => 0, 'group_no' => 0, ), ), ), 'options' => array ( 'position' => 'acf_after_title', 'layout' => 'default', 'hide_on_screen' => array ( ), ), 'menu_order' => 0, )); } if( function_exists('acf_add_local_field_group') ): acf_add_local_field_group(array ( 'key' => 'group_586f5d44b5bb6', 'title' => 'User Social Links', 'fields' => array ( array ( 'default_value' => '', 'placeholder' => '', 'key' => 'field_586f5e2397340', 'label' => 'Facebook', 'name' => 'facebook', 'type' => 'url', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), ), array ( 'default_value' => '', 'placeholder' => '', 'key' => 'field_586f5e3297342', 'label' => 'Twitter', 'name' => 'twitter', 'type' => 'url', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), ), array ( 'default_value' => '', 'placeholder' => '', 'key' => 'field_586f5e3397343', 'label' => 'Pinterest', 'name' => 'pinterest', 'type' => 'url', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), ), array ( 'default_value' => '', 'placeholder' => '', 'key' => 'field_586f5e3597344', 'label' => 'Instagram', 'name' => 'instagram', 'type' => 'url', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), ), array ( 'default_value' => '', 'placeholder' => '', 'key' => 'field_586f5e3797345', 'label' => 'Google+', 'name' => 'google_plus', 'type' => 'url', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), ), array ( 'default_value' => '', 'placeholder' => '', 'key' => 'field_586f5ea797346', 'label' => 'LinkedIn', 'name' => 'linkedin', 'type' => 'url', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), ), ), 'location' => array ( array ( array ( 'param' => 'user_role', 'operator' => '==', 'value' => 'all', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', 'active' => 1, 'description' => '', )); acf_add_local_field_group(array ( 'key' => 'group_58c7b9c7c54ac', 'title' => 'Header Choice', 'fields' => array ( array ( 'key' => 'field_58c7b9d20beeb', 'label' => 'Header Style Choice', 'name' => 'header_style_choice', 'type' => 'select', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array ( 'width' => '', 'class' => '', 'id' => '', ), 'choices' => array ( 'default' => 'Default Header', 'alternative' => 'Alternative Header', ), 'default_value' => array ( 0 => 'default', ), 'allow_null' => 0, 'multiple' => 0, 'ui' => 0, 'ajax' => 0, 'return_format' => 'value', 'placeholder' => '', ), ), 'location' => array ( array ( array ( 'param' => 'post_type', 'operator' => '==', 'value' => 'page', ), ), ), 'menu_order' => 0, 'position' => 'side', 'style' => 'default', 'label_placement' => 'top', 'instruction_placement' => 'label', 'hide_on_screen' => '', 'active' => 1, 'description' => '', )); endif;