static function init() { $app_dir = 'inc'; self::$_dir = get_template_directory() . '/' . $app_dir . '/plugins/ot-custom'; self::$_uri = get_template_directory_uri() . '/' . $app_dir . '/plugins/ot-custom'; if (is_admin()) { self::load_fields(); } }
?> " class="form-control" value="<?php echo get_post_meta($post_id, 'address', true); ?> "> <div class="st_msg"><?php echo STUser_f::get_msg_html($validator->error('address'), 'danger'); ?> </div> </div> </div> <div class="col-md-12"> <?php if (class_exists('BTCustomOT')) { BTCustomOT::load_fields(); ot_type_bt_gmap_html(); } ?> </div> </div> </div> <div class="tab-pane fade " id="tab-hotel-details"> <div class="row"> <?php $taxonomies = get_object_taxonomies('st_hotel'); if (is_array($taxonomies) and !empty($taxonomies)) { foreach ($taxonomies as $key => $value) { ?> <div class="col-md-12"> <?php