Preview: config.php
Size: 7.20 KB
/home/nshryvcy/himaltourism.com/wp-content/themes/adventure-tours/config.php
<?php
/**
* Main application configuration file.
* Used to configurate set of services that available in the application.
*
* @author Themedelight
* @package Themedelight/AdventureTours
* @version 3.8.0
*/
return array(
'app' => array(
'AtApplication',
),
'register' => array(
'TdRegister',
array(
'data' => array(
'main_less_file' => '/assets/less/main.less',
'autoinit_services' => array(
'theme_customizer',
'image_manager',
'icons_manager',
'tour_search_form_fields',
),
),
),
),
'header_section' => array(
'AtHeaderSection',
),
'breadcrumbs' => array(
'TdBreadcrumbs',
array(
'show_on_home' => false,
'page_type_formats' => array(
'home' => esc_html__( 'Home', 'adventure-tours' ),
'category' => esc_html__( 'Category %s', 'adventure-tours' ),
'search' => esc_html__( 'Result search "%s"', 'adventure-tours' ),
'tag' => esc_html__( 'Tag', 'adventure-tours' ) . ' "%s"',
'author' => esc_html__( 'Author %s', 'adventure-tours' ),
'404' => esc_html__( 'Error 404', 'adventure-tours' ),
'format' => esc_html__( 'Format %s', 'adventure-tours' ),
),
),
),
'icons_manager' => array(
'TdFontIconsManager',
array(
'font_file_url' => PARENT_URL . '/assets/csslib/adventure-tours-icons.css',
'pattern' => '/\.(td-(?:\w+(?:-)?)+):before\s*{\s*content/',
'cache_key' => 'at-font-icons-list',
),
),
'image_manager' => array(
'TdImageManager',
array(
'sizes' => array(
'thumb_single' => array(
'width' => 1140,
'height' => 530, //mockup height is 460
'crop' => true,
),
'thumb_last_posts_widget' => array(
'width' => 60,
'height' => 60,
'crop' => true,
),
'thumb_gallery' => array(
'width' => 720,
'height' => 480,
'crop' => true,
),
'thumb_last_posts_shortcode' => array(
'width' => 1140,
'height' => 760,
'crop' => true,
),
// images for tours in list mode, ratio is 0.841666666667 ( 606/720 )
'thumb_tour_box' => array(
'width' => 720,
'height' => 606,
'crop' => true,
),
// images for tours in list mode, ratio is 0.841666666667 ( 212/252 )
'thumb_tour_box_small' => array(
'width' => 252,
'height' => 212,
'crop' => true,
),
// images for tours in grid mode, ratio is 0,666666 ( 480/720 )
'thumb_tour_listing' => array(
'width' => 720,
'height' => 480,
'crop' => true,
),
'thumb_tour_medium' => array(
'width' => 531,
'height' => 354,
'crop' => true,
),
'thumb_tour_listing_small' => array(
'width' => 360,
'height' => 240,
'crop' => true,
),
'thumb_tour_widget' => array(
'width' => 270,
'height' => 180,
'crop' => true,
),
),
),
), //'image_manager'
'theme_customizer' => array(
'AtThemeCustomizer',
),
'theme_updater' => array(
'TdThemeUpdater',
array(
'themeName' => 'Adventure Tours',
'themeId' => 'adventure-tours',
'cachePrefix' => 'adventure_tours',
'updatesFileUrl' => 'http://adventure-tours.themedelight.com/adventure-tours-versions.json',
),
),
'shortcodes_helper' => array(
'AtShortcodesHelperService',
),
'shortcodes_register' => array(
'TdShortcodesRegister',
),
'shortcodes_tiny_mce_integrator' => array(
'TdShortcodesTinyMCEIntegrator',
array(
'registerService' => '@shortcodes_register',
),
),
// Storage used by WC_Admin_Attributes_Extended class as a storage.
'product_attribute_icons_storage' => array(
'AtSqlStorage',
array(
'storage_key' => 'product_attribute_icon',
),
),
'tour_category_display_type_storage' => array(
'AtSqlStorage',
array(
'storage_key' => 'tour_cat_display_type',
),
),
'tour_category_images_storage' => array(
'AtSqlStorage',
array(
'storage_key' => 'tour_cat_thumb_id',
),
),
'tour_category_icons_storate' => array(
'AtSqlStorage',
array(
'storage_key' => 'tour_cat_icon',
),
),
'tour_category_header_sections_storage' => array(
'AtSqlStorage',
array(
'storage_key' => 'tour_cat_header_section',
),
),
'taxonomy_display_data' => array(
'AtTaxonomyDisplayTypes',
array(
'taxonomies' => array( 'tour_category' ),
'storage' => '@tour_category_display_type_storage',
'tableColumnId' => 'td_taxonomy_display_type',
'fieldLabel' => esc_html__( 'Display Mode', 'adventure-tours' ),
'postVariableFieldData' => 'td_taxonomy_display_type',
'selectOptions' => array(
'default' => esc_html__( 'Default', 'adventure-tours' ),
'products' => esc_html__( 'Tours', 'adventure-tours' ),
'subcategories' => esc_html__( 'Categories', 'adventure-tours' ),
'both' => esc_html__( 'Both', 'adventure-tours' ),
),
),
),
'taxonomy_images' => array(
'AtTaxonomyImages',
array(
'taxonomies' => array( 'tour_category' ),
'storage' => '@tour_category_images_storage',
'tableColumnId' => 'td_taxonomy_image',
'fieldLabel' => esc_html__( 'Image', 'adventure-tours' ),
'postVariableFieldData' => 'td_taxonomy_image',
'imagePlaceholderUrl' => PARENT_URL . '/assets/td/images/td-taxonomy-images-placeholder.png',
'buttonUploadImageLabel' => esc_html__( 'Upload/Add Image', 'adventure-tours' ),
),
),
'taxonomy_icons' => array(
'AtTaxonomyIcons',
array(
'taxonomies' => array( 'tour_category' ),
'storage' => '@tour_category_icons_storate',
'tableColumnId' => 'td_taxonomy_icons',
'fieldLabel' => esc_html__( 'Icon', 'adventure-tours' ),
'postVariableFieldData' => 'td_taxonomy_icon',
'iconSize' => '40px',
'selectOptionNoneLabel' => esc_html__( 'None', 'adventure-tours' ),
),
),
'taxonomy_header_sections' => array(
'AtTaxonomyHeaderSections',
array(
'taxonomies' => array( 'tour_category' ),
'storage' => '@tour_category_header_sections_storage',
'tableColumnId' => 'td_taxonomy_header_sections',
'fieldLabel' => esc_html__( 'Header Section', 'adventure-tours' ),
'postVariableFieldData' => 'td_taxonomy_header_section',
//'iconSize' => '40px',
'selectOptionNoneLabel' => esc_html__( 'None', 'adventure-tours' ),
),
),
'booking_form' => array(
'AtBookingForm',
array(
'calendar_show_left_tickets_format' => esc_html__( '%s ticket(s) left', 'adventure-tours' ),
'reset_variation_field_values_btn_title' => esc_html__( 'Clear', 'adventure-tours' ),
)
),
'tour_search_form_fields' => array(
'AtSearchFormFields',
array(
'date_filter_admin_label' => esc_html( _x( 'Date Filter', 'date filter fields', 'adventure-tours' ) ),
'date_filter_start_label' => esc_html( _x( 'Start', 'date filter fields', 'adventure-tours' ) ),
'date_filter_end_label' => esc_html( _x( 'End', 'date filter fields', 'adventure-tours' ) ),
'price_filter_admin_label' => esc_html( _x( 'Price Filter', 'price filter fields', 'adventure-tours' ) ),
'price_filter_min_label' => esc_html( _x( 'From', 'price filter fields', 'adventure-tours' ) ),
'price_filter_max_label' => esc_html( _x( 'To', 'price filter fields', 'adventure-tours' ) ),
)
),
'tour_booking_service' => array(
'AtTourBookingService',
),
'tour_special_price_service' => array(
'AtSpecialPriceRule'
),
'tour_badge_service' => array(
'AtBadgeService', array(
'count' => 3,
),
),
'wc_shortcodes_helper' => array(
'AtWoocommerceShortcodesHelper'
),
);
Directory Contents
Dirs: 6 × Files: 28