uawdijnntqw1x1x1
IP : 216.73.217.174
Hostname : mailtech.lifestyleretreats.com
Kernel : Linux mailtech.lifestyleretreats.com 3.10.0-1160.119.1.vz7.224.4 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Disable Function : exec,passthru,shell_exec,system
OS : Linux
PATH:
/
home
/
lrindo5
/
pelican.lrindo.com
/
wp-content
/
themes
/
ize_master_theme
/
inc
/
setup-theme.php
/
/
<?php function setup_custom_field(){ if(function_exist('CFS')){ $ize_import = '[{"post_title":"Page Images","post_name":"page-images","cfs_extras":{"order":"0","context":"normal","hide_editor":"0"},"cfs_fields":[{"id":14,"name":"show_header_image","label":"Show Header Image","type":"true_false","notes":"","parent_id":0,"weight":0,"options":{"message":"Check this to show header image","required":"0"}},{"id":"1","name":"images","label":"Images","type":"loop","notes":"","parent_id":0,"weight":1,"options":{"row_display":"0","row_label":"Image","button_label":"Add an Image","limit_min":"0","limit_max":"10"}},{"id":"2","name":"image","label":"Image","type":"file","notes":"","parent_id":1,"weight":2,"options":{"file_type":"image","return_value":"id","required":"0"}},{"id":15,"name":"image_text","label":"Image Text","type":"text","notes":"Leave this empty to not showing any text into the header image, only worked on homepage.","parent_id":1,"weight":3,"options":{"default_value":"","required":"0"}}],"cfs_rules":{"post_types":{"operator":"==","values":["post","page","room","special_offer"]}}},{"post_title":"Room Fields","post_name":"room-fields","cfs_extras":{"order":"-1","context":"normal","hide_editor":"0"},"cfs_fields":[{"id":"3","name":"room_size","label":"Room Size","type":"text","notes":"*40sqm","parent_id":0,"weight":0,"options":{"default_value":"","required":"0"}},{"id":"9","name":"floor_plan","label":"Floor Plan","type":"file","notes":"","parent_id":0,"weight":1,"options":{"file_type":"image","return_value":"url","required":"0"}},{"id":"10","name":"gallery_select","label":"Gallery Select","type":"term","notes":"","parent_id":0,"weight":2,"options":{"taxonomies":["gallery_cat"],"limit_min":"","limit_max":""}},{"id":"6","name":"special_offer","label":"Special Offer","type":"wysiwyg","notes":"","parent_id":0,"weight":3,"options":{"formatting":"default","required":"0"}},{"id":"13","name":"booking_button","label":"Booking Button","type":"hyperlink","notes":"leave empty to not showing this button","parent_id":0,"weight":4,"options":{"format":"php"}},{"id":"4","name":"room_features","label":"Room Features","type":"loop","notes":"","parent_id":0,"weight":5,"options":{"row_display":"0","row_label":"Room Features","button_label":"Add New","limit_min":"","limit_max":""}},{"id":"11","name":"icon","label":"icon","type":"file","notes":"","parent_id":4,"weight":6,"options":{"file_type":"image","return_value":"id","required":"0"}},{"id":"12","name":"text","label":"text","type":"text","notes":"","parent_id":4,"weight":7,"options":{"default_value":"","required":"0"}},{"id":"5","name":"amenities","label":"Amenities","type":"loop","notes":"","parent_id":0,"weight":8,"options":{"row_display":"0","row_label":"Amenities Content","button_label":"Add New","limit_min":"","limit_max":""}},{"id":"7","name":"icon","label":"icon","type":"file","notes":"","parent_id":5,"weight":9,"options":{"file_type":"image","return_value":"id","required":"0"}},{"id":"8","name":"text","label":"text","type":"text","notes":"","parent_id":5,"weight":10,"options":{"default_value":"","required":"0"}}],"cfs_rules":{"post_types":{"operator":"==","values":["room"]}}},{"post_title":"special offer link","post_name":"special-offer-link","cfs_extras":{"order":"0","context":"normal","hide_editor":"0"},"cfs_fields":[{"id":"16","name":"special_offer_link","label":"Special Offer Link","type":"hyperlink","notes":"","parent_id":0,"weight":0,"options":{"format":"php"}}],"cfs_rules":{"post_types":{"operator":"==","values":["special_offer"]}}},{"post_title":"Location","post_name":"location","cfs_extras":{"order":"0","context":"normal","hide_editor":"0"},"cfs_fields":[{"id":17,"name":"place_name","label":"Place Name","type":"text","notes":"","parent_id":0,"weight":0,"options":{"default_value":"","required":"0"}},{"id":18,"name":"latitude","label":"Latitude","type":"text","notes":"","parent_id":0,"weight":1,"options":{"default_value":"","required":"0"}},{"id":19,"name":"longtitude","label":"longtitude","type":"text","notes":"","parent_id":0,"weight":2,"options":{"default_value":"","required":"0"}},{"id":20,"name":"place_description","label":"Place Description","type":"wysiwyg","notes":"","parent_id":0,"weight":3,"options":{"formatting":"default","required":"0"}},{"id":21,"name":"get_direction","label":"Get Direction Link","type":"text","notes":"","parent_id":0,"weight":4,"options":{"default_value":"","required":"0"}}],"cfs_rules":{"post_types":{"operator":"==","values":["location_custom"]}}},{"post_title":"gallery","post_name":"gallery","cfs_extras":{"order":"0","context":"normal","hide_editor":"0"},"cfs_fields":[{"id":"22","name":"alt_image","label":"alt","type":"text","notes":"","parent_id":0,"weight":0,"options":{"default_value":"","required":"0"}},{"id":"23","name":"description_image","label":"description","type":"textarea","notes":"","parent_id":0,"weight":1,"options":{"default_value":"","formatting":"auto_br","required":"0"}},{"id":"24","name":"type","label":"type","type":"select","notes":"","parent_id":0,"weight":2,"options":{"choices":{"image":"Image","video":"Video","html":"HTML"},"multiple":"0","select2":"0","required":"0"}},{"id":"25","name":"video_link","label":"Video Link","type":"text","notes":"make sure the video source is from youtube, just insert the link.\r\nexample : https:\/\/www.youtube.com\/watch?v=3tmd-ClpJxA","parent_id":0,"weight":3,"options":{"default_value":"","required":"0"}},{"id":"27","name":"video_thumbnail","label":"Video Thumbnail","type":"text","notes":"leave this empty, it will generate thumbnail automatically after this item is published","parent_id":0,"weight":4,"options":{"default_value":"","required":"0"}},{"id":28,"name":"id_video","label":"ID Video","type":"text","notes":"keep this empty, it will generate automatically","parent_id":0,"weight":5,"options":{"default_value":"","required":"0"}},{"id":"26","name":"html","label":"HTML","type":"textarea","notes":"you can insert html here, like iframe or custom html element.","parent_id":0,"weight":6,"options":{"default_value":"","formatting":"none","required":"0"}}],"cfs_rules":{"post_types":{"operator":"==","values":["ize_gallery"]}}}]'; $ize = json_decode( stripslashes( $ize_import, true ) ); $options = array( 'import_code' => $team ); global $cfs; $cfs->field_group->import( $options ); } }
/home/lrindo5/pelican.lrindo.com/wp-content/themes/ize_master_theme/inc/setup-theme.php