Advertisement
Guest User

register-admin-options.php

a guest
Sep 22nd, 2017
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 140.04 KB | None | 0 0
  1. <?php
  2. global $avia_config;
  3.  
  4. //avia pages holds the data necessary for backend page creation
  5. $avia_pages = array(
  6.  
  7. array( 'slug' => 'avia', 'parent'=>'avia', 'icon'=>"new/spanner-screwdriver-7@3x.png" , 'title' => __('Theme Options', 'avia_framework')),
  8. array( 'slug' => 'layout', 'parent'=>'avia', 'icon'=>"new/window-within-7@3x.png", 'title' => __('General Layout', 'avia_framework')),
  9. array( 'slug' => 'styling', 'parent'=>'avia', 'icon'=>"new/color-palette-7@3x.png", 'title' => __('General Styling', 'avia_framework')),
  10. array( 'slug' => 'customizer', 'parent'=>'avia', 'icon'=>"new/magic-wand-7@3x.png", 'title' => __('Advanced Styling', 'avia_framework')),
  11. array( 'slug' => 'menu', 'parent'=>'avia', 'icon'=>"new/custom-menu@3x.png", 'title' => __('Main Menu', 'avia_framework')),
  12. array( 'slug' => 'header', 'parent'=>'avia', 'icon'=>"new/layout-arrange-02-7@3x.png", 'title' => __('Header', 'avia_framework')),
  13. array( 'slug' => 'sidebars', 'parent'=>'avia', 'icon'=>"new/layout-arrange-13-7@3x.png", 'title' => __('Sidebar Settings', 'avia_framework')),
  14. array( 'slug' => 'footer', 'parent'=>'avia', 'icon'=>"new/layout-reverse@3x.png", 'title' => __('Footer', 'avia_framework')),
  15. array( 'slug' => 'builder', 'parent'=>'avia', 'icon'=>"new/window-three-7@3x.png", 'title' => __('Layout Builder', 'avia_framework')),
  16. array( 'slug' => 'blog', 'parent'=>'avia', 'icon'=>"new/note-write-7@3x.png", 'title' => __('Blog Layout', 'avia_framework')),
  17. array( 'slug' => 'social', 'parent'=>'avia', 'icon'=>"new/circle-user-7@3x.png", 'title' => __('Social Profiles', 'avia_framework')),
  18. array( 'slug' => 'newsletter', 'parent'=>'avia', 'icon'=>"new/newspaper-7@3x.png", 'title' => __('Newsletter', 'avia_framework')),
  19. array( 'slug' => 'google', 'parent'=>'avia', 'icon'=>"new/paper-map-7@3x.png", 'title' => __('Google Services', 'avia_framework')),
  20. );
  21.  
  22. if(class_exists( 'woocommerce' ))
  23. {
  24. $avia_pages[] = array( 'slug' => 'shop', 'parent'=>'avia', 'icon'=>"new/shopping-cart-7@3x.png", 'title' => __('Shop Options','avia_framework') );
  25. }
  26.  
  27.  
  28. if(!current_theme_supports('avia_disable_import_export')){
  29. $avia_pages[] = array( 'slug' => 'demo', 'parent'=>'avia', 'icon'=>"new/window-up-7@3x.png", 'title' => __('Demo Import', 'avia_framework'));
  30. $avia_pages[] = array( 'slug' => 'upload', 'parent'=>'avia', 'icon'=>"new/connect-arrow-up-down-7@3x.png", 'title' => __('Import/Export', 'avia_framework'));
  31. }
  32.  
  33.  
  34.  
  35.  
  36.  
  37. //required for the general styling color schemes
  38. include('register-backend-styles.php');
  39.  
  40. //required for the general styling google fonts
  41. include('register-backend-google-fonts.php');
  42.  
  43. //required for the advanced styling wizard
  44. include('register-backend-advanced-styles.php');
  45.  
  46.  
  47. /*builder*/
  48.  
  49.  
  50. $avia_elements[] = array(
  51. "name" => __("Disable advance layout builder preview in backend", 'avia_framework'),
  52. "desc" => __("Check to disable the live preview of your advanced layout builder elements", 'avia_framework'),
  53. "id" => "preview_disable",
  54. "type" => "checkbox",
  55. "std" => "",
  56. "slug" => "builder");
  57.  
  58.  
  59. $avia_elements[] = array(
  60. "name" => __("Show element options for developers", 'avia_framework'),
  61. "desc" => __("If checked this will display developer options like custom CSS classes or IDs", 'avia_framework'),
  62. "id" => "developer_options",
  63. "type" => "checkbox",
  64. "std" => "",
  65. "slug" => "builder");
  66.  
  67.  
  68.  
  69. $loack_alb = "checkbox";
  70.  
  71. if(!current_user_can('switch_themes'))
  72. {
  73. $loack_alb = "hidden";
  74. }
  75.  
  76. $avia_elements[] = array( "slug" => "builder", "type" => "visual_group_start", "id" => "avia_lock_alb", "nodescription" => true);
  77.  
  78. $avia_elements[] = array(
  79. "name" => __("Lock advanced layout builder", 'avia_framework'),
  80. "desc" => __("This removes the ability to move or delete existing template builder elements, or add new ones, for everyone who is not an administrator. The content of an existing element can still be changed by everyone who can edit that entry.", 'avia_framework'),
  81. "id" => "lock_alb",
  82. "type" => $loack_alb,
  83. "std" => "",
  84. "slug" => "builder");
  85.  
  86.  
  87. $avia_elements[] = array(
  88. "name" => __("Lock advanced layout builder for admins as well?", 'avia_framework'),
  89. "desc" => __("This will lock the elements for all administrators including you, to prevent accidental changing of a page layout. In order to change a page layout later, you will need to uncheck this option first", 'avia_framework'),
  90. "id" => "lock_alb_for_admins",
  91. "type" => $loack_alb,
  92. "std" => "",
  93. "required" => array('lock_alb','{true}'),
  94. "slug" => "builder");
  95.  
  96. $avia_elements[] = array( "slug" => "builder", "type" => "visual_group_end", "id" => "avia_lock_alb_close", "nodescription" => true);
  97.  
  98.  
  99.  
  100. $avia_elements[] = array(
  101. "slug" => "builder",
  102. "name" => __("Automated Schema.org HTML Markup", 'avia_framework'),
  103. "desc" => __("The theme adds generic HTML schema markup to your template builder elements to provide additional context for search engines. If you want to add your own specific markup via plugins or custom HTML code, you can deactivate this setting", 'avia_framework'),
  104. "id" => "markup",
  105. "type" => "select",
  106. "std" => "",
  107. "no_first"=>true,
  108. "subtype" => array( __('Not activated', 'avia_framework') =>'inactive',
  109. __('Activated', 'avia_framework') =>'',
  110. ));
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122. /*menu*/
  123. $iconSpan = "<span class='pr-icons'>
  124. <img src='".AVIA_IMG_URL."icons/social_facebook.png' alt='' />
  125. <img src='".AVIA_IMG_URL."icons/social_twitter.png' alt='' />
  126. <img src='".AVIA_IMG_URL."icons/social_flickr.png' alt='' />
  127. </span>";
  128.  
  129. $frontendheader_label = __("A rough layout preview of the main menu", 'avia_framework');
  130.  
  131. $avia_elements[] = array(
  132. "slug" => "menu",
  133. "id" => "main_menu_preview",
  134. "type" => "target",
  135. "std" => "
  136. <style type='text/css'>
  137.  
  138. #avia_options_page #avia_main_menu_preview{background: #f8f8f8; padding: 30px;border-bottom: 1px solid #e5e5e5; margin-bottom: 25px;}
  139. #av-main-menu-preview-container{color:#999; border:1px solid #e1e1e1; padding:0px 45px; overflow:hidden; background-color:#fff; position: relative;}
  140.  
  141. #avia_options_page #pr-main-area{line-height:69px; overflow:hidden;}
  142.  
  143. .main-menu-wrap{float:right; height:70px; line-height:70px;}
  144.  
  145.  
  146. [data-av_set_global_tab_active='av_display_burger'] .av-header-area-preview-menu-only #av-menu-overlay{display:block;}
  147. [data-av_set_global_tab_active='av_display_burger'] .av-header-area-preview-menu-only #pr-burger-menu{display:block;}
  148. [data-av_set_global_tab_active='av_display_burger'] #pr-menu #pr-menu-inner{display:none;}
  149.  
  150.  
  151. #av-menu-overlay{position: absolute; left:31px; display:none; bottom: 31px; top: 54px; right: 31px; background: rgba(0,0,0,0.2); z-index: 1;}
  152. #av-menu-overlay .av-overlay-menu-item{display:block; padding:8px 20px; border-bottom: 1px solid #e1e1e1;}
  153. #av-menu-overlay .av-overlay-menu-item-sub{display:block; color:#999;}
  154. #av-menu-overlay-scroll{position:absolute; top:0; right:0; bottom:0; width:280px; background:#fff; padding-top:70px; color:#666;}
  155. [data-submenu_visibility*='av-submenu-hidden'] #av-menu-overlay .av-overlay-menu-item-sub{display:none;}
  156. [data-burger_size*='av-small-burger-icon'] #pr-burger-menu{ -ms-transform: scale(0.6); transform: scale(0.6);}
  157.  
  158.  
  159. [data-overlay_style='av-overlay-full'] #av-menu-overlay-scroll{background:transparent; color:#fff; width:100%; text-align: center;}
  160. [data-overlay_style='av-overlay-full'] #av-menu-overlay .av-overlay-menu-item{border:none; font-size:16px;}
  161. [data-overlay_style='av-overlay-full'] #av-menu-overlay{ background: rgba(0,0,0,0.8);}
  162. [data-av_set_global_tab_active='av_display_burger'] [data-overlay_style='av-overlay-full'] #pr-burger-menu span{border-color:#fff;}
  163.  
  164.  
  165. [data-overlay_style*='av-overlay-side-minimal'] #av-menu-overlay-scroll{display:table; height:100%;padding:0;}
  166. [data-overlay_style*='av-overlay-side-minimal'] #av-menu-overlay-scroll > *{display:table-cell; height:100%; vertical-align:middle;}
  167. [data-overlay_style*='av-overlay-side-minimal'] #av-menu-overlay .av-overlay-menu-item{border:none;}
  168.  
  169. </style>
  170. <div class='av-header-area-preview av-header-area-preview-menu-only' >
  171.  
  172. <div id='av-menu-overlay'>
  173. <div id='av-menu-overlay-scroll'>
  174. <div id='av-menu-overlay-scroll-inner'>
  175. <span class='av-overlay-menu-item'>Home</span>
  176. <span class='av-overlay-menu-item'>About</span>
  177. <span class='av-overlay-menu-item av-overlay-menu-item-sub'>- Team</span>
  178. <span class='av-overlay-menu-item av-overlay-menu-item-sub'>- History</span>
  179. <span class='av-overlay-menu-item'>Contact</span>
  180. </div>
  181. </div>
  182. </div>
  183.  
  184. <div id='pr-stretch-wrap' >
  185. <small class='live_bg_small'>{$frontendheader_label}</small>
  186. <div id='pr-header-style-wrap' >
  187. <div id='pr-phone-wrap' >
  188. <div id='pr-social-wrap' >
  189. <div id='pr-seconary-menu-wrap' >
  190. <div id='pr-menu-2nd'>{$iconSpan}<span class='pr-secondary-items'>Login | Signup | etc</span><span class='pr-phone-items'>Phone: 555-4432</span></div>
  191. <div id='avia_header_preview' >
  192. <div id='pr-main-area' >
  193. <img id='pr-logo' src='".AVIA_BASE_URL."images/layout/logo_modern.png' alt=''/>
  194. <div id='pr-main-icon'>{$iconSpan}</div>
  195. <div id='pr-menu'>
  196.  
  197.  
  198. <span id='pr-menu-inner'><span class='pr-menu-single pr-menu-single-first'>Home</span><span class='pr-menu-single'>About</span><span class='pr-menu-single'>Contact</span></span> <img id='search_icon' src='".AVIA_BASE_URL."images/layout/search.png' alt='' />
  199. <div id='pr-burger-menu'>
  200. <span class='burger-top'></span>
  201. <span class='burger-mid'></span>
  202. <span class='burger-low'></span>
  203. </div>
  204.  
  205. </div>
  206. </div>
  207. </div>
  208. </div>
  209. </div>
  210. </div>
  211. </div>
  212. <div id='pr-content-area'> Content / Slideshows / etc
  213. <div class='inner-content'><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. </p>
  214.  
  215. <p>Donec quam felis, ultricies nec, pellentesque eu, pretium sem.Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium sem.</p>
  216.  
  217. <p>Donec quam felis, ultricies nec, pellentesque eu, pretium sem.Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium sem.</p>
  218.  
  219. </div>
  220. </div>
  221. </div>
  222. </div>
  223. ",
  224. "nodescription" => true
  225. );
  226.  
  227. //START TAB CONTAINER
  228. $avia_elements[] = array( "slug" => "menu", "type" => "visual_group_start", "id" => "avia_tab1", "nodescription" => true, 'class'=>'avia_tab_container avia_set');
  229.  
  230. // Start TAB
  231. $avia_elements[] = array( "slug" => "menu", "type" => "visual_group_start", "id" => "avia_tab5", "nodescription" => true, 'class'=>'avia_tab avia_tab2','name'=>__('General', 'avia_framework'));
  232.  
  233.  
  234. $avia_elements[] = array(
  235. "slug" => "menu",
  236. "name" => __("Menu Items for Desktop", 'avia_framework'),
  237. "desc" => __("Choose how you want to display the menu items on desktop computers. If you choose to display the 'burger' icon on desktop computers it will also be used on tablets and mobile devices ", 'avia_framework'),
  238. "id" => "menu_display",
  239. "type" => "select",
  240. "std" => "",
  241. //"required" => array('header_layout','{contains}main_nav_header'),
  242. "target" => array(".av-header-area-preview::#pr-menu::set_class"),
  243. "no_first"=>true,
  244. "subtype" => array( __('Display as text', 'avia_framework') =>'',
  245. __('Display as icon', 'avia_framework') =>'burger_menu',
  246. ));
  247.  
  248. $avia_elements[] = array(
  249. "slug" => "menu",
  250. "name" => __("Menu Items for mobile", 'avia_framework'),
  251. "desc" => __("The mobile menu is usually displayed on smarthphone screensize only. If you have a lot of main menu items you might want to activate it for tablet screen size as well so it doesn't overlap the logo on tablets or small screens", 'avia_framework'),
  252. "id" => "header_mobile_activation",
  253. "type" => "select",
  254. "std" => "mobile_menu_phone",
  255. "required" => array('menu_display',''),
  256. "no_first"=>true,
  257. "subtype" => array( __('Activate only for Smartphones (browser width below 768px)', 'avia_framework') =>'mobile_menu_phone',
  258. __('Activate for Smartphones and Tablets (browser width below 990px)', 'avia_framework') =>'mobile_menu_tablet',
  259. ));
  260.  
  261. $avia_elements[] = array(
  262. "slug" => "menu",
  263. "name" => __("Separator between menu items", 'avia_framework'),
  264. "desc" => __("Choose if you want to display a border between menu items", 'avia_framework'),
  265. "id" => "header_menu_border",
  266. "type" => "select",
  267. "std" => "",
  268. "target" => array(".av-header-area-preview::#pr-menu-inner::set_class"),
  269. "no_first"=>true,
  270. "required" => array('menu_display',''),
  271. "subtype" => array( __('No separator', 'avia_framework') =>'',
  272. __('Small separator', 'avia_framework') =>'seperator_small_border',
  273. __('Large separator', 'avia_framework') =>'seperator_big_border',
  274. ));
  275.  
  276. $avia_elements[] = array(
  277. "name" => __("Append search icon to main menu", 'avia_framework'),
  278. "desc" => __("If enabled a search Icon will be appended to the main menu that allows the users to perform an 'AJAX' Search", 'avia_framework'),
  279. "id" => "header_searchicon",
  280. "type" => "checkbox",
  281. "std" => "true",
  282. "target" => array(".av-header-area-preview::#search_icon::set_class"),
  283. "slug" => "menu");
  284.  
  285. // END TAB
  286. $avia_elements[] = array( "slug" => "menu", "type" => "visual_group_end", "id" => "avia_tab5_end", "nodescription" => true);
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297. // Start TAB
  298. $avia_elements[] = array( "slug" => "menu", "type" => "visual_group_start", "id" => "avia_tab5", "nodescription" => true, 'class'=>'avia_tab avia_tab2','name'=>__('Burger/Mobile Menu', 'avia_framework'), "global_class" => 'av_display_burger');
  299.  
  300.  
  301. $avia_elements[] = array(
  302. "slug" => "menu",
  303. "name" => __("Menu Icon Submenu items", 'avia_framework'),
  304. "desc" => __("Choose how to display the submenu items of the icon menu", 'avia_framework'),
  305. "id" => "submenu_visibility",
  306. "type" => "select",
  307. "std" => "",
  308. "target" => array("#avia_main_menu_preview::.avia_control_container::set_data"),
  309. "no_first"=>true,
  310. "subtype" => array( __('Always display submenu items', 'avia_framework') =>'',
  311. __('Display submenu items on click', 'avia_framework') =>'av-submenu-hidden av-submenu-display-click',
  312. __('Display submenu items on hover', 'avia_framework') =>'av-submenu-hidden av-submenu-display-hover',
  313. ));
  314.  
  315.  
  316. $avia_elements[] = array(
  317. "slug" => "menu",
  318. "name" => __("Clone title menu items to submenu", 'avia_framework'),
  319. "desc" => __("Since you selected to display submenu items on click or on hover, the parent menu item does no longer navigate to the URL it contains, but toggles the visibility of its submenu items. If you want users to be able to open the parent menu URL the theme can create a clone of that item in the submenu", 'avia_framework'),
  320. "id" => "submenu_clone",
  321. "type" => "select",
  322. "std" => "",
  323. "no_first"=>true,
  324. "required" => array('submenu_visibility','{contains_array}av-submenu-display-click;av-submenu-display-hover'),
  325. "subtype" => array( __('Do not create a clone', 'avia_framework') =>'av-submenu-noclone',
  326. __('Create a clone for the title menu item', 'avia_framework') =>'av-submenu-clone',
  327. ));
  328.  
  329.  
  330. $avia_elements[] = array(
  331. "slug" => "menu",
  332. "name" => __("Menu Icon Style", 'avia_framework'),
  333. "desc" => __("Set the style of the 'Burger' Icon", 'avia_framework'),
  334. "id" => "burger_size",
  335. "type" => "select",
  336. "std" => "",
  337. "target" => array(".av-header-area-preview::#pr-stretch-wrap::set_data"),
  338. "no_first"=>true,
  339. "subtype" => array( __('Default', 'avia_framework') =>'',
  340. __('Small', 'avia_framework') =>'av-small-burger-icon',
  341. ));
  342.  
  343.  
  344. $avia_elements[] = array(
  345. "slug" => "menu",
  346. "name" => __("Menu Overlay Style", 'avia_framework'),
  347. "desc" => __("Set the style of the page overlay that appears when the burger menu is clicked", 'avia_framework'),
  348. "id" => "overlay_style",
  349. "type" => "select",
  350. "std" => "av-overlay-side av-overlay-side-classic",
  351. "target" => array("#avia_main_menu_preview::.avia_control_container::set_data"),
  352. "no_first"=>true,
  353. "subtype" => array( __('Full Page Overlay Menu', 'avia_framework') =>'av-overlay-full',
  354. __('Sidebar Flyout Menu (Classic)', 'avia_framework') =>'av-overlay-side av-overlay-side-classic',
  355. __('Sidebar Flyout Menu (Minimal)', 'avia_framework') =>'av-overlay-side av-overlay-side-minimal',
  356. ));
  357.  
  358.  
  359. // END TAB
  360. $avia_elements[] = array( "slug" => "menu", "type" => "visual_group_end", "id" => "avia_tab5_end", "nodescription" => true);
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374. // Start TAB
  375. $avia_elements[] = array( "slug" => "menu", "type" => "visual_group_start", "id" => "avia_tab5", "nodescription" => true, 'class'=>'avia_tab avia_tab2','name'=>__('Burger/Mobile Menu styling', 'avia_framework'), "global_class" => 'av_display_burger');
  376.  
  377.  
  378. $avia_elements[] = array(
  379. "slug" => "menu",
  380. "name" => __("Menu Icon Color", 'avia_framework'),
  381. "desc" => __("Set a custom color of the 'Burger' Icon. Leave empty to use the default menu color", 'avia_framework'),
  382. "id" => "burger_color",
  383. "type" => "colorpicker",
  384. "class" => "",
  385. "std" => ""
  386. );
  387.  
  388.  
  389. $avia_elements[] = array(
  390. "slug" => "menu",
  391. "name" => __("Flyout width", 'avia_framework'),
  392. "desc" => __("Set a custom width for the Flyout. Pixel and % values are allowed. Eg: 350px or 70%", 'avia_framework'),
  393. "id" => "burger_flyout_width",
  394. "type" => "text",
  395. "class" => "",
  396. "std" => "350px"
  397. );
  398.  
  399.  
  400.  
  401. $avia_elements[] = array( "name" => __("Advanced color and styling options",'avia_framework'),
  402. "desc" => __("You can edit more and advanced color and styling options for the overlay/slideout menu items in").
  403. " <a href='#goto_customizer'>".
  404. __("Advanced Styling",'avia_framework').
  405. "</a>",
  406. "id" => "overlay_description",
  407. "std" => "",
  408. "slug" => "menu",
  409. "type" => "heading",
  410. "nodescription"=>true);
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424. // END TAB
  425. $avia_elements[] = array( "slug" => "menu", "type" => "visual_group_end", "id" => "avia_tab5_end", "nodescription" => true);
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435. //END TAB CONTAINER
  436. $avia_elements[] = array( "slug" => "menu", "type" => "visual_group_end", "id" => "avia_tab_container_end", "nodescription" => true);
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455. /*google*/
  456.  
  457.  
  458.  
  459. $avia_elements[] = array(
  460. "slug" => "google",
  461. "name" => __("Google Analytics Tracking Code", 'avia_framework'),
  462. "desc" => __("Enter your Google analytics tracking Code here. It will automatically be added so google can track your visitors behavior.", 'avia_framework'),
  463. "id" => "analytics",
  464. "type" => "textarea"
  465. );
  466.  
  467. $avia_elements[] = array("slug" => "google", "type" => "visual_group_start", "id" => "avia_google_maps_group", "nodescription" => true);
  468.  
  469.  
  470. $google_link = "https://console.developers.google.com/flows/enableapi?apiid=maps_backend,geocoding_backend,directions_backend,distance_matrix_backend,elevation_backend,places_backend&keyType=CLIENT_SIDE&reusekey=true";
  471. $tutorial_link = "http://www.kriesi.at/documentation/enfold/how-to-register-a-google-maps-api-key/";
  472.  
  473.  
  474. $avia_elements[] = array( "name" => __("Google Maps", 'avia_framework'),
  475. "desc" => __("Google recently changed the way their map service works. New pages which want to use Google Maps need to register an API key for their website. Older pages should work fine without this API key. If the google map elements of this theme do not work properly you need to register a new API key.", 'avia_framework')."<br><a href='{$google_link}' target='_blank'>".__("Register an API Key", 'avia_framework')."</a> | <a target='_blank' href='{$tutorial_link}'>".__("Tutorial: How to create an API key", 'avia_framework')."</a>",
  476. "std" => "",
  477. "slug" => "google",
  478. "type" => "heading",
  479. "nodescription"=>true);
  480.  
  481.  
  482. $avia_elements[] = array(
  483. "slug" => "google",
  484. "name" => __("Enter a valid Google Maps API Key to use all map related theme functions", 'avia_framework'),
  485. "desc" => "",
  486. "id" => "gmap_api",
  487. "type" => "verification_field",
  488. "ajax" => "av_maps_api_check",
  489. "js_callback" => "av_maps_js_api_check",
  490. "class" => "av_full_description",
  491. "button-label" => __('Check API Key', 'avia_framework'),
  492. "button-relabel" => __('Check API Key', 'avia_framework'),
  493. "std" => ""
  494. );
  495.  
  496.  
  497. $avia_elements[] = array("slug" => "google", "type" => "visual_group_end", "id" => "avia_google_maps_group_end", "nodescription" => true);
  498.  
  499. /*newsletter*/
  500.  
  501. $avia_elements[] = array( "name" => __("Newsletter via Mailchimp", 'avia_framework'),
  502. "desc" => __("Mailchimp allows you to easily use newsletter functionality with this theme. In order to use the Newsletter features you need to create a Mailchimp account and enter your API key into the field below.", 'avia_framework')."<br/><br/><a href='https://admin.mailchimp.com/account/api' target='_blank'>".__("You can find your API key here", 'avia_framework')."</a>",
  503. "std" => "",
  504. "slug" => "newsletter",
  505. "type" => "heading",
  506. "nodescription"=>true);
  507.  
  508. $avia_elements[] = array(
  509. "slug" => "newsletter",
  510. "std" => "",
  511. "name" => __("Enter a valid Mailchimp API Key to use all newsletter related theme functions", 'avia_framework'),
  512. "help" => "",
  513. "desc" => false,
  514. "id" => "mailchimp_api",
  515. "type" => "verification_field",
  516. "ajax" => "av_mailchimp_check_ajax",
  517. "button-label" => __('Check API Key', 'avia_framework'),
  518. "button-relabel" => __('Check Key again & renew Lists', 'avia_framework')
  519. );
  520.  
  521.  
  522. /*shop*/
  523.  
  524. $avia_elements[] = array(
  525. "slug" => "shop",
  526. "name" => __("Header Shopping Cart Icon", 'avia_framework'),
  527. "desc" => __("You can choose the appearance of the cart icon here", 'avia_framework'),
  528. "id" => "cart_icon",
  529. "type" => "select",
  530. "std" => "",
  531. "no_first"=>true,
  532. "subtype" => array( __('Display Floating on the side, but only once product was added to the cart', 'avia_framework') =>'',
  533. __('Always Display floating on the side', 'avia_framework') =>'always_display',
  534. __('Always Display attached to the main menu', 'avia_framework') =>'always_display_menu',
  535. ));
  536.  
  537.  
  538. $avia_elements[] = array(
  539. "slug" => "shop",
  540. "name" => __("Product layout on overview pages", 'avia_framework'),
  541. "desc" => __("You can choose the appearance of your products here", 'avia_framework'),
  542. "id" => "product_layout",
  543. "type" => "select",
  544. "std" => "",
  545. "no_first"=>true,
  546. "subtype" => array( __('Default', 'avia_framework') =>'',
  547. __('Default without buttons', 'avia_framework') =>'no_button',
  548. __('Minimal (no borders or buttons)', 'avia_framework') =>'minimal',
  549. __('Minimal Overlay with centered text', 'avia_framework') =>'minimal-overlay',
  550. ));
  551.  
  552. $avia_elements[] = array(
  553. "slug" => "shop",
  554. "name" => __("Product gallery", 'avia_framework'),
  555. "desc" => __("You can choose the appearance of your product gallery here", 'avia_framework'),
  556. "id" => "product_gallery",
  557. "type" => "select",
  558. "std" => "",
  559. "no_first"=>true,
  560. "subtype" => array( __('Default enfold product gallery', 'avia_framework') =>'',
  561. __('WooCommerce 3.0 product gallery', 'avia_framework') =>'wc_30_gallery',
  562. ));
  563.  
  564. $avia_elements[] = array(
  565. "slug" => "shop",
  566. "name" => __("Main Shop Page Banner", 'avia_framework'),
  567. "desc" => __("You can choose to display a parallax banner with description on the shop page", 'avia_framework'),
  568. "id" => "shop_banner",
  569. "type" => "select",
  570. "std" => "",
  571. "no_first"=>true,
  572. "subtype" => array( __('No, display no banner', 'avia_framework') =>'',
  573. __('Yes, display a banner image', 'avia_framework') =>'av-active-shop-banner',
  574. ));
  575.  
  576.  
  577.  
  578.  
  579.  
  580. $avia_elements[] = array(
  581. "slug" => "shop",
  582. "name" => __("Shop Banner Image", 'avia_framework'),
  583. "desc" => __("Upload a large banner image which will be displayed as a background to the shop description", 'avia_framework'),
  584. "id" => "shop_banner_image",
  585. "type" => "upload",
  586. "required" => array('shop_banner','{contains}av-active-shop-banner'),
  587. "label" => __("Use Image as banner", 'avia_framework'));
  588.  
  589. $avia_elements[] = array(
  590. "slug" => "shop",
  591. "name" => __("Shop Banner Image Color Overlay", 'avia_framework'),
  592. "desc" => __("Set a color to display a overlay above the banner image.", 'avia_framework'),
  593. "id" => "shop_banner_overlay_color",
  594. "type" => "colorpicker",
  595. "required" => array('shop_banner','{contains}av-active-shop-banner'),
  596. "class" => "av_2columns av_col_1",
  597. "std" => "#000000"
  598. );
  599.  
  600. $avia_elements[] = array(
  601. "slug" => "shop",
  602. "required" => array('shop_banner','{contains}av-active-shop-banner'),
  603. "class" => "av_2columns av_col_2",
  604. "name" => __("Overlay Opacity", 'avia_framework'),
  605. "desc" => __("Select the opacity of your colored banner overlay", 'avia_framework'),
  606. "id" => "shop_banner_overlay_opacity",
  607. "type" => "select",
  608. "std" => "0.5",
  609. "no_first"=>true,
  610. "subtype" => array(
  611. '0.1' =>'0.1',
  612. '0.2' =>'0.2',
  613. '0.3' =>'0.3',
  614. '0.4' =>'0.4',
  615. '0.5' =>'0.5',
  616. '0.6' =>'0.6',
  617. '0.7' =>'0.7',
  618. '0.8' =>'0.8',
  619. '0.9' =>'0.9',
  620. '1' =>'1',
  621.  
  622. ));
  623.  
  624.  
  625. $avia_elements[] = array(
  626. "slug" => "shop",
  627. "name" => __("Shop Description", 'avia_framework'),
  628. "desc" => __("Enter a short description or welcome note for your default Shop Page", 'avia_framework'),
  629. "id" => "shop_banner_message",
  630. "type" => "textarea",
  631. "required" => array('shop_banner','{contains}av-active-shop-banner'),
  632. "class" => "av_2columns av_col_1",
  633. );
  634.  
  635. $avia_elements[] = array(
  636. "slug" => "shop",
  637. "name" => __("Shop Description Color", 'avia_framework'),
  638. "desc" => __("Select the color of your shop description", 'avia_framework'),
  639. "id" => "shop_banner_message_color",
  640. "type" => "colorpicker",
  641. "required" => array('shop_banner','{contains}av-active-shop-banner'),
  642. "class" => "av_2columns av_col_2",
  643. "std" => "#ffffff"
  644. );
  645.  
  646. $avia_elements[] = array(
  647. "slug" => "shop",
  648. "name" => __("Enable Banner for product category pages", 'avia_framework'),
  649. "desc" => __("You can enable the shop banner for all categories as well. You can also set individual banners by editing the category", 'avia_framework'),
  650. "id" => "shop_banner_global",
  651. "type" => "checkbox",
  652. "required" => array('shop_banner','{contains}av-active-shop-banner'),
  653. "std" => false,
  654. );
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661. /*layout*/
  662.  
  663.  
  664.  
  665. $frontend_label = __("A rough preview of the frontend.", 'avia_framework');
  666.  
  667. $avia_elements[] = array(
  668. "slug" => "layout",
  669. "id" => "default_layout_target",
  670. "type" => "target",
  671. "std" => "
  672. <style type='text/css'>
  673. .avprev-layout-container, .avprev-layout-container *{
  674. -moz-box-sizing: border-box;
  675. -webkit-box-sizing: border-box;
  676. box-sizing: border-box;
  677. }
  678. #boxed .avprev-layout-container{ padding:0 23px; border:1px solid #e1e1e1; background-color: #555;}
  679. #av-framed-box .avprev-layout-container{ padding:23px; border:1px solid #e1e1e1; background-color: #555;}
  680. .avprev-layout-container-inner{border:none; overflow: hidden;}
  681. .avprev-layout-container-inner{border: 1px solid #e1e1e1; background:#fff;}
  682. .avprev-layout-content-container{overflow:hidden; margin:0 auto; position:relative;}
  683. .avprev-layout-container-sizer{margin:0 auto; position:relative; z-index:5;}
  684. .avprev-layout-content-container .avprev-layout-container-sizer{display:table;}
  685. .avprev-layout-content-container .avprev-layout-container-sizer .av-cell{display:table-cell; padding: 20px;}
  686. .avprev-layout-content-container .avprev-layout-container-sizer:after{ background: #F8F8F8; position: absolute; top: 0; left: 99%; width: 100%; height: 100%; content: ''; z-index:1;}
  687. .avprev-layout-header{border-bottom:1px solid #e1e1e1; padding:20px; overflow: hidden;}
  688. .avprev-layout-slider{border-bottom:1px solid #e1e1e1; padding:30px 20px; background:#3B740F url('".AVIA_IMG_URL."layout/diagonal-bold-light.png') top left repeat; color:#fff;}
  689. .avprev-layout-content{border-right:1px solid #e1e1e1; width:73%; }
  690. .avprev-layout-sidebar{border-left:1px solid #e1e1e1; background:#f8f8f8; left:-1px; position:relative; min-height:141px;}
  691. .avprev-layout-menu-description{float:left;}
  692. .avprev-layout-menu{float:right; color:#999;}
  693.  
  694.  
  695. #header_right .avprev-layout-header{border-left:1px solid #e1e1e1; width:130px; float:right; border-bottom:none;}
  696. #header_left .avprev-layout-header{border-right:1px solid #e1e1e1; width:130px; float:left; border-bottom:none;}
  697.  
  698. #header_right .avprev-layout-content-container{border-right:1px solid #e1e1e1; right:-1px;}
  699. #header_left .avprev-layout-content-container{border-left:1px solid #e1e1e1; left:-1px;}
  700.  
  701. #header_left .avprev-layout-menu, #header_right .avprev-layout-menu{float:none; padding-top:23px; clear:both; }
  702. #header_left .avprev-layout-divider, #header_right .avprev-layout-divider{display:none;}
  703. #header_left .avprev-layout-menuitem, #header_right .avprev-layout-menuitem{display:block; border-bottom:1px dashed #e1e1e1; padding:3px;}
  704. #header_left .avprev-layout-menuitem-first, #header_right .avprev-layout-menuitem-first{border-top:1px dashed #e1e1e1;}
  705. #header_left .avprev-layout-header .avprev-layout-container-sizer, #header_right .avprev-layout-header .avprev-layout-container-sizer{width:100%!important;}
  706.  
  707.  
  708. .avprev-layout-container-widget{display:none; border:1px solid #e1e1e1; padding:7px; font-size:12px; margin-top:5px; text-align:center;}
  709. .avprev-layout-container-social{margin-top:5px; text-align:center;}
  710. .av-active .pr-icons{display:block; }
  711.  
  712. #header_left .avprev-layout-container-widget.av-active, #header_right .avprev-layout-container-widget.av-active{display:block;}
  713. #header_left .avprev-layout-container-social.av-active, #header_right .avprev-layout-container-widget.av-social{display:block;}
  714.  
  715. #av-framed-box .avprev-layout-container-inner{border:none;}
  716. #boxed .avprev-layout-container-inner{border:none;}
  717.  
  718. </style>
  719.  
  720. <small class='live_bg_small'>{$frontend_label}</small>
  721. <div class='avprev-layout-container'>
  722. <div class='avprev-layout-container-inner'>
  723. <div class='avprev-layout-header'>
  724. <div class='avprev-layout-container-sizer'>
  725. <strong class='avprev-layout-menu-description'>Logo + Main Menu Area</strong>
  726. <div class='avprev-layout-menu'>
  727. <span class='avprev-layout-menuitem avprev-layout-menuitem-first'>Home</span>
  728. <span class='avprev-layout-divider'>|</span>
  729. <span class='avprev-layout-menuitem'>About</span>
  730. <span class='avprev-layout-divider'>|</span>
  731. <span class='avprev-layout-menuitem'>Contact</span>
  732. </div>
  733. </div>
  734.  
  735. <div class='avprev-layout-container-social'>
  736. {$iconSpan}
  737. </div>
  738.  
  739. <div class='avprev-layout-container-widget'>
  740. <strong>Widgets</strong>
  741. </div>
  742.  
  743. </div>
  744.  
  745. <div class='avprev-layout-content-container'>
  746. <div class='avprev-layout-slider'>
  747. <strong>Fullwidth Area (eg: Fullwidth Slideshow)</strong>
  748. </div>
  749.  
  750. <div class='avprev-layout-container-sizer'>
  751. <div class='avprev-layout-content av-cell'><strong>Content Area</strong><p>This is the content area. The content area holds all your blog entries, pages, products etc</p></div>
  752. <div class='avprev-layout-sidebar av-cell'><strong>Sidebar</strong><p>This area holds all your sidebar widgets</p>
  753. </div>
  754. </div>
  755. </div>
  756.  
  757. </div>
  758. </div>
  759.  
  760.  
  761. ",
  762. "nodescription" => true
  763. );
  764.  
  765. //START TAB CONTAINER
  766. $avia_elements[] = array( "slug" => "layout", "type" => "visual_group_start", "id" => "avia_tab_layout1", "nodescription" => true, 'class'=>'avia_tab_container avia_set');
  767.  
  768. $avia_elements[] = array( "slug" => "layout", "type" => "visual_group_start", "id" => "avia_tab_layout5", "nodescription" => true, 'class'=>'avia_tab avia_tab2','name'=>__('Layout', 'avia_framework'));
  769.  
  770. $avia_elements[] = array(
  771. "slug" => "layout",
  772. "name" => __("Use stretched or boxed layout?", 'avia_framework'),
  773. "desc" => __("The stretched layout expands from the left side of the viewport to the right.", 'avia_framework'),
  774. "id" => "color-body_style",
  775. "type" => "select",
  776. "std" => "stretched",
  777. "class" => "av_2columns av_col_1",
  778. "no_first"=>true,
  779. "target" => array("default_slideshow_target, #avia_default_layout_target::.avia_control_container::set_id"),
  780. "subtype" => array( __('Stretched layout' , 'avia_framework') => 'stretched',
  781. __('Boxed Layout' , 'avia_framework') => 'boxed',
  782. __('Fixed Frame' , 'avia_framework') => 'av-framed-box'
  783. )
  784. );
  785.  
  786. $numbers = array();
  787. for($i = 1; $i <= 75; $i++)
  788. {
  789. $numbers[$i."px"] = $i;
  790. }
  791.  
  792. $avia_elements[] = array(
  793. "slug" => "layout",
  794. "name" => __("Frame Width", 'avia_framework'),
  795. "desc" => __("Modify the frame color by changing the Body Background in",'avia_framework').
  796. " <a href='#goto_styling'>".
  797. __("General Styling",'avia_framework').
  798. "</a>",
  799. "id" => "color-frame_width",
  800. "type" => "select",
  801. "std" => "20",
  802. "class" => "av_2columns av_col_2",
  803. "required" => array('color-body_style','{contains}framed'),
  804. "no_first"=>true,
  805. "subtype" => $numbers
  806. );
  807.  
  808.  
  809.  
  810.  
  811. $avia_elements[] = array(
  812. "slug" => "layout",
  813. "name" => __("Logo and Main Menu", 'avia_framework'),
  814. "desc" => __("You can place your logo and main menu at the top of your site or within a sidebar", 'avia_framework'),
  815. "id" => "header_position",
  816. "type" => "select",
  817. "std" => "header_top",
  818. "class" => "av_2columns av_col_2",
  819. "target" => array("default_layout_target, #avia_default_slideshow_target::.avprev-layout-container, .avprev-design-container::set_id_single"),
  820. "no_first"=>true,
  821. "subtype" => array( __('Top Header', 'avia_framework') =>'header_top',
  822. __('Left Sidebar', 'avia_framework') =>'header_left header_sidebar',
  823. __('Right Sidebar', 'avia_framework') =>'header_right header_sidebar',
  824. ));
  825.  
  826.  
  827. $avia_elements[] = array(
  828. "slug" => "layout",
  829. "name" => __("Content Alignment", 'avia_framework'),
  830. "desc" => __("If the window width exceeds the maximum content width, where do you want to place your content", 'avia_framework'),
  831. "id" => "layout_align_content",
  832. "type" => "select",
  833. "std" => "content_align_center",
  834. "class" => "av_2columns av_col_1",
  835. "required" => array('header_position','{contains}header_sidebar'),
  836. "no_first"=>true,
  837. "subtype" => array( __('Center Content', 'avia_framework') =>'content_align_center',
  838. __('Position at the Left', 'avia_framework') =>'content_align_left',
  839. __('Position at the Right', 'avia_framework') =>'content_align_right',
  840. ));
  841.  
  842.  
  843.  
  844. $avia_elements[] = array(
  845. "slug" => "layout",
  846. "name" => __("Sticky Sidebar menu", 'avia_framework'),
  847. "desc" => __("You can choose if you want a sticky sidebar that does not scroll with the content", 'avia_framework'),
  848. "id" => "sidebarmenu_sticky",
  849. "type" => "select",
  850. "std" => "conditional_sticky",
  851. "class" => "av_2columns av_col_2",
  852. "required" => array('header_position','{contains}header_left'),
  853. "no_first"=>true,
  854. "subtype" => array( __('Sticky if Sidebar is smaller than the screen height, scroll otherwise', 'avia_framework') =>'conditional_sticky',
  855. __('Always Sticky', 'avia_framework') =>'always_sticky',
  856. __('Never Sticky', 'avia_framework') =>'never_sticky',
  857. ));
  858.  
  859.  
  860.  
  861.  
  862.  
  863. $avia_elements[] = array(
  864. "slug" => "layout",
  865. "name" => __("Main Menu Sidebar", 'avia_framework'),
  866. "desc" => __("You can choose to use the main menu area to also display widget areas", 'avia_framework'),
  867. "id" => "sidebarmenu_widgets",
  868. "type" => "select_sidebar",
  869. "std" => "",
  870. "no_first"=>true,
  871. "required" => array('header_position','{contains}header_sidebar'),
  872. "target" => array("default_layout_target::.avprev-layout-container-widget::set_active"),
  873. "exclude" => array(), /*eg: 'Displayed Everywhere'*/
  874. "additions" => array('No widgets' => "", /* 'Display Widgets by page logic' => "av-auto-widget-logic", */ 'Display a specific Widget Area'=> '%result%'),
  875. );
  876.  
  877.  
  878.  
  879. $avia_elements[] = array(
  880. "name" =>
  881. __("Display social icons below main menu? (You can set your social icons at", 'avia_framework').
  882. " <a href='#goto_social'>".
  883. __("Social Profiles", 'avia_framework').
  884. "</a>)"
  885. ,
  886. "desc" => __("Check to display", 'avia_framework'),
  887. "id" => "sidebarmenu_social",
  888. "type" => "checkbox",
  889. "std" => "",
  890. "slug" => "layout",
  891. "target" => array("default_layout_target::.avprev-layout-container-social::set_active"),
  892. "required" => array('header_position','{contains}header_sidebar'),
  893. );
  894.  
  895.  
  896.  
  897. // END TAB
  898. $avia_elements[] = array( "slug" => "layout", "type" => "visual_group_end", "id" => "avia_tab5ewwe_end", "nodescription" => true);
  899. $avia_elements[] = array( "slug" => "layout", "type" => "visual_group_start", "id" => "avia_tab5wewe", "nodescription" => true, 'class'=>'avia_tab avia_tab2','name'=>__('Dimensions', 'avia_framework'));
  900. // START TAB
  901.  
  902.  
  903. $avia_elements[] = array(
  904. "name" => __("Responsive Site", 'avia_framework'),
  905. "desc" => __("If enabled the size of your website will adapt and change the layout to fit smaller screens, like tablets or mobile phones", 'avia_framework'),
  906. "id" => "responsive_active",
  907. "type" => "checkbox",
  908. "std" => "enabled",
  909. "slug" => "layout",
  910. );
  911.  
  912. $avia_elements[] = array(
  913. "slug" => "layout",
  914. "name" => __("Maximum Container width", 'avia_framework'),
  915. "desc" => __("Enter the maximum content width for your site. Pixel and % are allowed eg: 1130px, 1310px, 100% ", 'avia_framework'),
  916. "id" => "responsive_size",
  917. "type" => "text",
  918. "std" => "1310px",
  919. "required" => array('responsive_active','{contains}enabled'),
  920. );
  921.  
  922.  
  923.  
  924. $avia_elements[] = array(
  925. "slug" => "layout",
  926. "name" => __("Content | Sidebar Ratio", 'avia_framework'),
  927. "desc" => __("Here you can choose the width of your content and sidebar. First Number indicates the content width, second number indicates sidebar width.", 'avia_framework') ."<br/><strong>".__("Note:", 'avia_framework') ."</strong> ".
  928. __( "If you want to disable sidebars you can do so in the", 'avia_framework').
  929. " <a href='#goto_sidebars'>".
  930. __( "Sidebar Settings", 'avia_framework').
  931. "</a>",
  932. "id" => "content_width",
  933. "target" => array("default_layout_target::.avprev-layout-content::width"),
  934. "type" => "select",
  935. "std" => "73",
  936. "no_first"=>true,
  937. "subtype" => array(
  938. '80% | 20%' =>'80',
  939. '79% | 21%' =>'79',
  940. '78% | 22%' =>'78',
  941. '77% | 23%' =>'77',
  942. '76% | 24%' =>'76',
  943. '75% | 25%' =>'75',
  944. '74% | 26%' =>'74',
  945. '73% | 27%' =>'73',
  946. '72% | 28%' =>'72',
  947. '71% | 29%' =>'71',
  948.  
  949. '70% | 30%' =>'70',
  950. '69% | 31%' =>'69',
  951. '68% | 32%' =>'68',
  952. '67% | 33%' =>'67',
  953. '66% | 34%' =>'66',
  954. '65% | 35%' =>'65',
  955. '64% | 36%' =>'64',
  956. '63% | 37%' =>'63',
  957. '62% | 38%' =>'62',
  958. '61% | 39%' =>'61',
  959.  
  960. '60% | 40%' =>'60',
  961. '59% | 41%' =>'59',
  962. '58% | 42%' =>'58',
  963. '57% | 43%' =>'57',
  964. '56% | 44%' =>'56',
  965. '55% | 45%' =>'55',
  966. '54% | 46%' =>'54',
  967. '53% | 47%' =>'53',
  968. '52% | 48%' =>'52',
  969. '51% | 49%' =>'51',
  970. '50% | 50%' =>'50',
  971.  
  972. ));
  973.  
  974. $numbers = array();
  975. for($i = 100; $i >= 50; $i--)
  976. {
  977. $numbers[$i."%"] = $i;
  978. }
  979.  
  980. $avia_elements[] = array(
  981. "slug" => "layout",
  982. "name" => __("Content + Sidebar width", 'avia_framework'),
  983. "desc" => __("Here you can enter the combined width of content and sidebar", 'avia_framework'),
  984. "id" => "combined_width",
  985. "target" => array("default_layout_target::.avprev-layout-container-sizer::width"),
  986. "type" => "select",
  987. "std" => "100",
  988. "no_first"=>true,
  989. "subtype" => $numbers
  990. );
  991.  
  992.  
  993. // END TAB
  994. $avia_elements[] = array( "slug" => "layout", "type" => "visual_group_end", "id" => "avia_tab4543_end", "nodescription" => true);
  995.  
  996.  
  997. //END TAB CONTAINER
  998. $avia_elements[] = array( "slug" => "layout", "type" => "visual_group_end", "id" => "avia_tab_container_end2", "nodescription" => true);
  999.  
  1000.  
  1001. /*Frontpage Settings*/
  1002.  
  1003.  
  1004. if(is_child_theme()){
  1005. $avia_elements[] = array(
  1006. "slug" => "upload",
  1007. "name" => __("Import Settings from your Parent Theme", 'avia_framework'),
  1008. "desc" => __("We have detected that you are using a Child Theme. That's Great!. If you want to, we can import the settings of your Parent theme to your Child theme. Please be aware that this will overwrite your current child theme settings.", 'avia_framework'),
  1009. "id" => "parent_setting_import",
  1010. "type" => "parent_setting_import");
  1011. }
  1012.  
  1013.  
  1014. $avia_elements[] = array(
  1015. "slug" => "upload",
  1016. "name" => __("Export Theme Settings File", 'avia_framework'),
  1017. "desc" => __("Click the button to generate and download a config file which contains the theme settings. You can use the config file to import the theme settings on another sever.", 'avia_framework'),
  1018. "id" => "theme_settings_export",
  1019. "type" => "theme_settings_export");
  1020.  
  1021. $avia_elements[] = array(
  1022. "slug" => "upload",
  1023. "name" => __("Import Theme Settings File", 'avia_framework'),
  1024. "desc" => __("Upload a theme configuration file here. Note that the configuration file settings will overwrite your current configuration and you can't restore the current configuration afterwards.", 'avia_framework'),
  1025. "id" => "config_file_upload",
  1026. "title" => __("Upload Theme Settings File", 'avia_framework'),
  1027. "button" => __("Insert Settings File", 'avia_framework'),
  1028. "trigger" => "av_config_file_insert",
  1029. // "fopen_check" => "true",
  1030. "std" => "",
  1031. "file_extension" => "txt",
  1032. "file_type" => "text/plain",
  1033. "type" => "file_upload");
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040. $avia_elements[] = array(
  1041. "slug" => "upload",
  1042. "name" => __("Iconfont Manager", 'avia_framework'),
  1043. "desc" => __("You can upload additional Iconfont Packages generated with", 'avia_framework') . " <a href='http://fontello.com/' target='_blank'>Fontello</a> ".
  1044. __("or use monocolored icon sets from", 'avia_framework') . " <a href='http://www.flaticon.com/' target='_blank'>Flaticon</a>. ".
  1045. __("Those icons can then be used in your Layout Builder.", 'avia_framework') ."<br/><br/>".
  1046. __("The 'Default Font' can't be deleted.", 'avia_framework') ."<br/><br/>".
  1047. __("Make sure to delete any fonts that you are not using, to keep the loading time for your visitors low", 'avia_framework'),
  1048. "id" => "iconfont_upload",
  1049. "title" => __("Upload/Select Fontello Font Zip", 'avia_framework'),
  1050. "button" => __("Insert Zip File", 'avia_framework'),
  1051. "trigger" => "av_fontello_zip_insert",
  1052. // "fopen_check" => "true",
  1053. "std" => "",
  1054. "type" => "file_upload",
  1055. "file_extension" => "zip", //used to check if user can upload this file type
  1056. "file_type" => "application/octet-stream, application/zip", //used for javascript gallery to display file types
  1057. );
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065. $avia_elements[] = array(
  1066. "slug" => "avia",
  1067. "name" => __("Frontpage Settings", 'avia_framework'),
  1068. "desc" => __("Select which page to display on your Frontpage. If left blank the Blog will be displayed", 'avia_framework'),
  1069. "id" => "frontpage",
  1070. "type" => "select",
  1071. "subtype" => 'page');
  1072.  
  1073. $avia_elements[] = array(
  1074. "slug" => "avia",
  1075. "name" => __("And where do you want to display the Blog?", 'avia_framework'),
  1076. "desc" => __("Select which page to display as your Blog Page. If left blank no blog will be displayed", 'avia_framework'),
  1077. "id" => "blogpage",
  1078. "type" => "select",
  1079. "subtype" => 'page',
  1080. "required" => array('frontpage','{true}')
  1081. );
  1082.  
  1083. $avia_elements[] = array(
  1084. "slug" => "avia",
  1085. "name" => __("Logo", 'avia_framework'),
  1086. "desc" => __("Upload a logo image, or enter the URL or ID of an image if its already uploaded. The themes default logo gets applied if the input field is left blank", 'avia_framework')."<br/><br/>".__("Logo Dimension: 340px * 156px (if your logo is larger you might need to change the Header size in your", 'avia_framework').
  1087. " <a href='#goto_header'>".
  1088. __( "Header Settings", 'avia_framework').
  1089. "</a>",
  1090. "id" => "logo",
  1091. "type" => "upload",
  1092. "label" => __("Use Image as logo", 'avia_framework'));
  1093.  
  1094. $avia_elements[] = array(
  1095. "slug" => "avia",
  1096. "name" => __("Favicon", 'avia_framework'),
  1097. "desc" => __("Specify a favicon for your site.", 'avia_framework')." <br/>".__("Accepted formats: .ico, .png, .gif", 'avia_framework')." <br/><br/>".
  1098. __("What is a", 'avia_framework').
  1099. " <a target='_blank' href='http://en.wikipedia.org/wiki/Favicon'>".
  1100. __( "favicon", 'avia_framework').
  1101. "?</a>",
  1102. "id" => "favicon",
  1103. "type" => "upload",
  1104. "label" => __("Use Image as Favicon", 'avia_framework'));
  1105.  
  1106.  
  1107. $avia_elements[] = array( "slug" => "avia", "type" => "visual_group_start", "id" => "avia_preload", "nodescription" => true);
  1108.  
  1109. $avia_elements[] = array(
  1110. "slug" => "avia",
  1111. "name" => __("Page Preloading", 'avia_framework'),
  1112. "desc" => __("Show a preloader when opening a page on your site.", 'avia_framework'),
  1113. "id" => "preloader",
  1114. "type" => "checkbox",
  1115. "std" => false,
  1116. );
  1117.  
  1118. $avia_elements[] = array(
  1119. "slug" => "avia",
  1120. "name" => __("Page Transitions", 'avia_framework'),
  1121. "desc" => __("Smooth page transition when navigating from one page to the next. Please disable if this causes problems with plugins when navigating ajax or otherwise dynamical created content", 'avia_framework'),
  1122. "id" => "preloader_transitions",
  1123. "type" => "checkbox",
  1124. "std" => 'preloader_transitions',
  1125. "required" => array("preloader",'preloader'),
  1126. );
  1127.  
  1128. $avia_elements[] = array(
  1129. "slug" => "avia",
  1130. "name" => __("Custom Logo for preloader", 'avia_framework'),
  1131. "desc" => __("Upload an optional logo image for your preloader page", 'avia_framework'),
  1132. "id" => "preloader_logo",
  1133. "type" => "upload",
  1134. "required" => array("preloader",'preloader'),
  1135. "label" => __("Use Image as logo", 'avia_framework'));
  1136.  
  1137. $avia_elements[] = array( "slug" => "avia", "type" => "visual_group_end", "id" => "avia_preload_end", "nodescription" => true);
  1138.  
  1139.  
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145. $avia_elements[] = array(
  1146. "name" => __("Lightbox Modal Window", 'avia_framework'),
  1147. "desc" => __("Check to enable the default lightbox that opens once you click a link to an image. Uncheck only if you want to use your own modal window plugin", 'avia_framework'),
  1148. "id" => "lightbox_active",
  1149. "type" => "checkbox",
  1150. "std" => "true",
  1151. "slug" => "avia");
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160. $avia_elements[] = array(
  1161. "slug" => "styling",
  1162. "name" => __("Select a predefined color scheme", 'avia_framework'),
  1163. "desc" => __("Choose a predefined color scheme here. You can edit the settings of the scheme below then.", 'avia_framework'),
  1164. "id" => "color_scheme",
  1165. "type" => "link_controller",
  1166. "std" => "Blue",
  1167. "class" => "link_controller_list",
  1168. "subtype" => $styles);
  1169.  
  1170.  
  1171.  
  1172.  
  1173. $avia_elements[] = array(
  1174. "slug" => "customizer",
  1175. "name" => __("Here you can select a number of different elements and change their default styling", 'avia_framework'),
  1176. "desc" => __("If a value is left empty or set to default then it will not be changed from the value defined in your CSS files", 'avia_framework')."<br/><br/><strong>".
  1177. __("Attention", 'avia_framework').": </strong>".
  1178. __("This feature is in active BETA! We will constantly add new elements to customize and need your help: If you got any suggestions on what to add please post them here:", 'avia_framework').
  1179. " <a target='_blank' href='http://www.kriesi.at/support/enfold-feature-requests/'>".
  1180. __("Enfold Feature Requests", 'avia_framework').
  1181. "</a><br/><br/>"
  1182. ,
  1183. "id" => "advanced_styling",
  1184. "type" => "styling_wizard",
  1185. "order" => array(
  1186. __("HTML Tags",'avia_framework'),
  1187. __("Headings",'avia_framework'),
  1188. __("Main Menu",'avia_framework'),
  1189. __("Main Menu (Icon)",'avia_framework'),
  1190. __("Misc",'avia_framework')),
  1191. "std" => "",
  1192. "class" => "",
  1193. "elements" => $advanced);
  1194.  
  1195.  
  1196.  
  1197.  
  1198. /*Styling Settings*/
  1199. $avia_elements[] = array(
  1200. "slug" => "styling",
  1201. "id" => "default_slideshow_target",
  1202. "type" => "target",
  1203. "std" => "
  1204. <style type='text/css'>
  1205.  
  1206. #boxed .live_bg_wrap{ padding:0 23px; border:1px solid #e1e1e1; background-position: top center;}
  1207. #av-framed-box .live_bg_wrap{ padding:23px; border:1px solid #e1e1e1; background-position: top center;}
  1208. .live_bg_small{font-size:10px; color:#999; height: 23px; display: block;}
  1209. .live_bg_wrap{ padding: 0; background:#f8f8f8; overflow:hidden; background-position: top center;}
  1210. .live_bg_wrap div{overflow:hidden; position:relative;}
  1211. #avia_options_page .live_bg_wrap h3{margin: 0 0 5px 0 ; color:inherit; font-size:25px;}
  1212. #avia_options_page .live_bg_wrap .main_h3{font-weight:bold; font-size:25px; }
  1213. .border{border:1px solid; border-bottom-style:none; border-bottom-width:0; padding:13px; width:100%;}
  1214. #av-framed-box .border{}
  1215.  
  1216. .live_header_color {position: relative;width: 100%;left: }
  1217. .bg2{border:1px solid; margin:4px; display:block; float:right; padding:15px; }
  1218. .content_p{display:block; float:left; width: 100%;}
  1219. .live-socket_color{font-size:11px;}
  1220. .live-footer_color a{text-decoration:none;}
  1221. .live-socket_color a{text-decoration:none; position:absolute; top:28%; right:13px;}
  1222.  
  1223. #avia_preview .webfont_google_webfont{ font-weight:normal; }
  1224. .webfont_default_font{ font-weight:normal; font-size:13px; line-height:1.7em;}
  1225.  
  1226. div .link_controller_list a{ width:113px; font-size:13px;}
  1227. .avia_half{width: 50%; float:left; min-height:210px;}
  1228. .avia_half .bg2{float:none; margin-left:0;}
  1229. .avia_half_2{border-left:none; padding-left:14px;}
  1230. #av-framed-box #header_left .avia_half { width: 179px; height:250px;}
  1231. .live-slideshow_color{text-align:center;}
  1232. .text_small_outside{position:relative; top:-15px; display:block; left: 10px;}
  1233.  
  1234. #header_left .live-header_color{ float:left; width:30%; min-height: 424px; border-bottom:1px solid; border-right: none;}
  1235. #header_right .live-header_color{float:right; width:30%; min-height: 424px; border-bottom:1px solid; border-left: none;}
  1236. #header_left .live-header_color .bg2,
  1237. #header_right .live-header_color .bg2,
  1238. #header_right .av_header_block_1,
  1239. #header_left .av_header_block_1{
  1240. float:none;
  1241. width:100%;
  1242. }
  1243. .av-sub-logo-area{overflow:hidden;}
  1244.  
  1245. #boxed #header_left .live-header_color, #boxed #header_right .live-header_color{min-height: 424px; }
  1246. #header_right .avia_half, #header_left .avia_half{min-height: 250px;}
  1247. #boxed .live-socket_color{border-bottom:1px solid;}
  1248. .av_header_block_1{width:70%; float:left;}
  1249. .live-header_color .bg2{width:30%; margin: 15px 0 0 0;}
  1250. #av-framed-box .live-socket_color.border{border-bottom-style:solid; border-bottom-width:1px;}
  1251. </style>
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257. <small class='live_bg_small'>{$frontend_label}</small>
  1258.  
  1259. <div id='avia_preview' class='live_bg_wrap webfont_default_font'>
  1260. <div class='avprev-design-container'>
  1261. <!--<small class='text_small_outside'>Next Event: in 10 hours 5 minutes.</small>-->
  1262.  
  1263.  
  1264. <div class='live-header_color border'>
  1265. <div class='av_header_block_1'>
  1266. <h3 class='heading webfont_google_webfont'>Logo Area Heading</h3>
  1267. <span class='text'>Active Menu item | </span>
  1268. <span class='meta'>Inactive Menu item</span><br/>
  1269. <a class='a_link' href='#'>custom text link</a>
  1270. <a class='an_activelink' href='#'>hovered link</a>
  1271. </div>
  1272. <div class='bg2'>Highlight Background + Border Color</div>
  1273. </div>
  1274.  
  1275. <div class='av-sub-logo-area'>
  1276.  
  1277.  
  1278.  
  1279. <div class='live-main_color border avia_half'>
  1280. <h3 class='webfont_google_webfont main_h3 heading'>Main Content heading</h3>
  1281. <p class='content_p'>This is default content with a default heading. Font color, headings and link colors can be choosen below. <br/>
  1282. <a class='a_link' href='#'>A link</a>
  1283. <a class='an_activelink' href='#'>A hovered link</a>
  1284. <span class='meta'>Secondary Font</span>
  1285.  
  1286. </p>
  1287.  
  1288. <div class='bg2'>Highlight Background + Border Color</div>
  1289. </div>
  1290.  
  1291.  
  1292.  
  1293. <div class='live-alternate_color border avia_half avia_half_2'>
  1294. <h3 class='webfont_google_webfont main_h3 heading'>Alternate Content Area</h3>
  1295. <p class='content_p'>This is content of an alternate content area. Choose font color, headings and link colors below. <br/>
  1296. <a class='a_link' href='#'>A link</a>
  1297. <a class='an_activelink' href='#'>A hovered link</a>
  1298. <span class='meta'>Secondary Font</span>
  1299.  
  1300. </p>
  1301.  
  1302. <div class='bg2'>Highlight Background + Border Color</div>
  1303. </div>
  1304.  
  1305. <div class='live-footer_color border'>
  1306. <h3 class='webfont_google_webfont heading'>Demo heading (Footer)</h3>
  1307. <p>This is text on the footer background</p>
  1308. <a class='a_link' href='#'>Link | Link 2</a>
  1309. <span class='meta'> | Secondary Font</span>
  1310.  
  1311. </div>
  1312.  
  1313. <div class='live-socket_color border'>Socket Text <a class='a_link' href='#'>Link | Link 2</a>
  1314. <span class='meta'> | Secondary Font</span>
  1315.  
  1316. </div>
  1317. </div>
  1318. </div>
  1319. </div>
  1320.  
  1321. ",
  1322. "nodescription" => true
  1323. );
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329. $avia_elements[] = array( "slug" => "styling", "type" => "visual_group_start", "id" => "avia_tab1", "nodescription" => true, 'class'=>'avia_tab_container avia_set');
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335. //create color sets for #header, Main Content, Secondary Content, Footer, Socket, Slideshow
  1336.  
  1337. $colorsets = $avia_config['color_sets'];
  1338. $iterator = 1;
  1339.  
  1340. foreach($colorsets as $set_key => $set_value)
  1341. {
  1342. $iterator ++;
  1343.  
  1344. $avia_elements[] = array( "slug" => "styling", "type" => "visual_group_start", "id" => "avia_tab".$iterator, "nodescription" => true, 'class'=>'avia_tab avia_tab'.$iterator,'name'=>$set_value);
  1345.  
  1346. $avia_elements[] = array(
  1347. "slug" => "styling",
  1348. "name" => $set_value ." ". __("background color", 'avia_framework'),
  1349. "id" => "colorset-$set_key-bg",
  1350. "type" => "colorpicker",
  1351. "class" => "av_2columns av_col_1",
  1352. "std" => "#ffffff",
  1353. "desc" => __("Default Background color", 'avia_framework'),
  1354. "target" => array("default_slideshow_target::.live-$set_key::background-color"),
  1355. );
  1356.  
  1357. $avia_elements[] = array(
  1358. "slug" => "styling",
  1359. "name" => __("Alternate Background color", 'avia_framework'),
  1360. "desc" => __("Alternate Background for menu hover, tables etc", 'avia_framework'),
  1361. "id" => "colorset-$set_key-bg2",
  1362. "type" => "colorpicker",
  1363. "class" => "av_2columns av_col_2",
  1364. "std" => "#f8f8f8",
  1365. "target" => array("default_slideshow_target::.live-$set_key .bg2::background-color"),
  1366. );
  1367.  
  1368. $avia_elements[] = array(
  1369. "slug" => "styling",
  1370. "name" => __("Primary color", 'avia_framework'),
  1371. "desc" => __("Font color for links, dropcaps and other elements", 'avia_framework'),
  1372. "id" => "colorset-$set_key-primary",
  1373. "type" => "colorpicker",
  1374. "class" => "av_2columns av_col_1",
  1375. "std" => "#719430",
  1376. "target" => array("default_slideshow_target::.live-$set_key .a_link, .live-$set_key-wrap-top::color,border-color"),
  1377. );
  1378.  
  1379.  
  1380. $avia_elements[] = array(
  1381. "slug" => "styling",
  1382. "name" => __("Highlight color", 'avia_framework'),
  1383. "desc" => __("Secondary color for link and button hover, etc", 'avia_framework')."<br/>",
  1384. "id" => "colorset-$set_key-secondary",
  1385. "type" => "colorpicker",
  1386. "class" => "av_2columns av_col_2",
  1387. "std" => "#8bba34",
  1388. "target" => "default_slideshow_target::.live-$set_key .an_activelink::color",
  1389. );
  1390.  
  1391.  
  1392. $avia_elements[] = array(
  1393. "slug" => "styling",
  1394. "name" => $set_value." ". __("font color", 'avia_framework'),
  1395. "id" => "colorset-$set_key-color",
  1396. "type" => "colorpicker",
  1397. "class" => "av_2columns av_col_1",
  1398. "std" => "#719430",
  1399. "target" => array("default_slideshow_target::.live-$set_key::color"),
  1400. );
  1401.  
  1402. $avia_elements[] = array(
  1403. "slug" => "styling",
  1404. "name" => $set_value." ". __("secondary font color", 'avia_framework'),
  1405. "id" => "colorset-$set_key-meta",
  1406. "type" => "colorpicker",
  1407. "class" => "av_2columns av_col_2",
  1408. "std" => "#719430",
  1409. "target" => array("default_slideshow_target::.live-$set_key .meta::color"),
  1410. );
  1411.  
  1412. $avia_elements[] = array(
  1413. "slug" => "styling",
  1414. "name" => $set_value." ". __("Heading color", 'avia_framework'),
  1415. "id" => "colorset-$set_key-heading",
  1416. "type" => "colorpicker",
  1417. "class" => "av_2columns av_col_1",
  1418. "std" => "#666666",
  1419. "target" => array("default_slideshow_target::.live-$set_key .heading::color"),
  1420. );
  1421.  
  1422.  
  1423. $avia_elements[] = array(
  1424. "slug" => "styling",
  1425. "name" => __("Border colors", 'avia_framework'),
  1426. "id" => "colorset-$set_key-border",
  1427. "type" => "colorpicker",
  1428. "class" => "av_2columns av_col_2",
  1429. "std" => "#e1e1e1",
  1430. "target" => array("default_slideshow_target::.live-$set_key.border, .live-$set_key .bg2::border-color"),
  1431. );
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438. $avia_elements[] = array( "slug" => "styling", "type" => "hr", "id" => "hr".$set_key, "nodescription" => true);
  1439.  
  1440. $avia_elements[] = array(
  1441. "slug" => "styling",
  1442. "id" => "colorset-$set_key-img",
  1443. "name" => __("Background Image", 'avia_framework'),
  1444. "desc" => __("The background image of your", 'avia_framework')." ".$set_value."<br/>",
  1445. "type" => "select",
  1446. "subtype" => array(__('No Background Image', 'avia_framework')=>'',__('Upload custom image', 'avia_framework')=>'custom'),
  1447. "std" => "",
  1448. "no_first"=>true,
  1449. "class" => "av_2columns av_col_1",
  1450. "target" => array("default_slideshow_target::.live-$set_key::background-image"),
  1451. "folder" => "images/background-images/",
  1452. "folderlabel" => "",
  1453. "group" => "Select predefined pattern",
  1454. );
  1455.  
  1456.  
  1457. $avia_elements[] = array(
  1458. "slug" => "styling",
  1459. "name" => __("Custom Background Image", 'avia_framework'),
  1460. "desc" => __("Upload a BG image for your", 'avia_framework')." ".$set_value."<br/>",
  1461. "id" => "colorset-$set_key-customimage",
  1462. "type" => "upload",
  1463. "std" => "",
  1464. "class" => "set_blank_on_hide av_2columns av_col_2",
  1465. "label" => __("Use Image", 'avia_framework'),
  1466. "required" => array("colorset-$set_key-img",'custom'),
  1467. "target" => array("default_slideshow_target::.live-$set_key::background-image"),
  1468. );
  1469.  
  1470.  
  1471. $avia_elements[] = array(
  1472. "slug" => "styling",
  1473. "name" => __("Position of the image", 'avia_framework'),
  1474. "desc" => "",
  1475. "id" => "colorset-$set_key-pos",
  1476. "type" => "select",
  1477. "std" => "top left",
  1478. "no_first"=>true,
  1479. "class" => "av_2columns av_col_1",
  1480. "required" => array("colorset-$set_key-img",'{true}'),
  1481. "target" => array("default_slideshow_target::.live-$set_key::background-position"),
  1482. "subtype" => array(
  1483. __('Top Left', 'avia_framework') =>'top left',
  1484. __('Top Center', 'avia_framework') =>'top center',
  1485. __( 'Top Right', 'avia_framework') =>'top right',
  1486. __('Bottom Left', 'avia_framework') =>'bottom left',
  1487. __('Bottom Center', 'avia_framework') =>'bottom center',
  1488. __( 'Bottom Right', 'avia_framework') =>'bottom right',
  1489. __( 'Center Left ', 'avia_framework') =>'center left',
  1490. __('Center Center', 'avia_framework') =>'center center',
  1491. __( 'Center Right', 'avia_framework') =>'center right'));
  1492.  
  1493. $avia_elements[] = array(
  1494. "slug" => "styling",
  1495. "name" => __("Repeat", 'avia_framework'),
  1496. "desc" => "",
  1497. "id" => "colorset-$set_key-repeat",
  1498. "type" => "select",
  1499. "std" => "no-repeat",
  1500. "class" => "av_2columns av_col_2",
  1501. "no_first"=>true,
  1502. "required" => array("colorset-$set_key-img",'{true}'),
  1503. "target" => array("default_slideshow_target::.live-$set_key::background-repeat"),
  1504. "subtype" => array(
  1505. __('no repeat', 'avia_framework') =>'no-repeat',
  1506. __('Repeat', 'avia_framework') =>'repeat',
  1507. __('Tile Horizontally', 'avia_framework') =>'repeat-x',
  1508. __('Tile Vertically', 'avia_framework') =>'repeat-y',
  1509. /* __('Stretch Fullscreen', 'avia_framework')=>'fullscreen' */
  1510. ));
  1511. $avia_elements[] = array(
  1512. "slug" => "styling",
  1513. "name" => __("Attachment", 'avia_framework'),
  1514. "desc" => "",
  1515. "id" => "colorset-$set_key-attach",
  1516. "type" => "select",
  1517. "std" => "scroll",
  1518. "class" => "av_2columns av_col_1",
  1519. "no_first"=>true,
  1520. "required" => array("colorset-$set_key-img",'{true}'),
  1521. "target" => array("default_slideshow_target::.live-$set_key::background-attachment"),
  1522. "subtype" => array(__('Scroll', 'avia_framework') =>'scroll',__('Fixed', 'avia_framework') =>'fixed'));
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530. $avia_elements[] = array( "slug" => "styling", "type" => "visual_group_end", "id" => "avia_tab_end".$iterator, "nodescription" => true);
  1531. }
  1532.  
  1533.  
  1534.  
  1535.  
  1536. $avia_elements[] = array( "slug" => "styling", "type" => "visual_group_start", "id" => "avia_tab54", "nodescription" => true, 'class'=>'avia_tab avia_tab2','name'=>__('Body background', 'avia_framework'),
  1537. "required" => array("color-body_style",'{contains}box'),
  1538. "inactive" => __("These options are only available if you select the 'boxed' or 'framed' layout. Your currently have a different layout selected", 'avia_framework'). "<br/><br/>".
  1539. __("You can change that setting",'avia_framework').
  1540. " <a href='#goto_layout'>".
  1541. __("at General Layout",'avia_framework').
  1542. "</a>");
  1543.  
  1544. $avia_elements[] = array(
  1545. "slug" => "styling",
  1546. "name" => __("Body Background color", 'avia_framework'),
  1547. "desc" => __("Background color for your site", 'avia_framework').
  1548. "<br/>".
  1549. __("This is the color that is displayed behind your boxed content area", 'avia_framework'),
  1550. "id" => "color-body_color",
  1551. "type" => "colorpicker",
  1552. "std" => "#eeeeee",
  1553. /* "class" => "av_2columns av_col_2", */
  1554. "target" => array("default_slideshow_target::.live_bg_wrap::background-color"),
  1555. );
  1556.  
  1557.  
  1558.  
  1559. $avia_elements[] = array(
  1560. "slug" => "styling",
  1561. "id" => "color-body_img",
  1562. "name" => __("Background Image", 'avia_framework'),
  1563. "desc" => __("The background image of your Body", 'avia_framework')."<br/><br/>",
  1564. "type" => "select",
  1565. "subtype" => array(__('No Background Image', 'avia_framework')=>'',__('Upload custom image', 'avia_framework')=>'custom'),
  1566. "std" => "",
  1567. "no_first"=>true,
  1568. "class" => "av_2columns av_col_1 set_blank_on_hide",
  1569. "target" => array("default_slideshow_target::.live_bg_wrap::background-image"),
  1570. "folder" => "images/background-images/",
  1571. "folderlabel" => "",
  1572. "required" => array("color-body_style",'boxed'),
  1573. "group" => "Select predefined pattern",
  1574.  
  1575. );
  1576.  
  1577.  
  1578. $avia_elements[] = array(
  1579. "slug" => "styling",
  1580. "name" => __("Custom Background Image", 'avia_framework'),
  1581. "desc" => __("Upload a BG image for your Body", 'avia_framework')."<br/><br/>",
  1582. "id" => "color-body_customimage",
  1583. "type" => "upload",
  1584. "std" => "",
  1585. "class" => "set_blank_on_hide av_2columns av_col_2",
  1586. "label" => __("Use Image", 'avia_framework'),
  1587. "required" => array("color-body_img",'custom'),
  1588. "target" => array("default_slideshow_target::.live_bg_wrap::background-image"),
  1589. );
  1590.  
  1591.  
  1592. $avia_elements[] = array(
  1593. "slug" => "styling",
  1594. "name" => __("Position of the image", 'avia_framework'),
  1595. "desc" => "",
  1596. "id" => "color-body_pos",
  1597. "type" => "select",
  1598. "std" => "top left",
  1599. "no_first"=>true,
  1600. "class" => "av_2columns av_col_1",
  1601. "required" => array("color-body_img",'{true}'),
  1602. "target" => array("default_slideshow_target::.live_bg_wrap::background-position"),
  1603. "subtype" => array(
  1604. __('Top Left', 'avia_framework') =>'top left',
  1605. __('Top Center', 'avia_framework') =>'top center',
  1606. __( 'Top Right', 'avia_framework') =>'top right',
  1607. __('Bottom Left', 'avia_framework') =>'bottom left',
  1608. __('Bottom Center', 'avia_framework') =>'bottom center',
  1609. __( 'Bottom Right', 'avia_framework') =>'bottom right',
  1610. __( 'Center Left ', 'avia_framework') =>'center left',
  1611. __('Center Center', 'avia_framework') =>'center center',
  1612. __( 'Center Right', 'avia_framework') =>'center right'));
  1613.  
  1614. $avia_elements[] = array(
  1615. "slug" => "styling",
  1616. "name" => __("Repeat", 'avia_framework'),
  1617. "desc" => "",
  1618. "id" => "color-body_repeat",
  1619. "type" => "select",
  1620. "std" => "no-repeat",
  1621. "class" => "av_2columns av_col_2",
  1622. "no_first"=>true,
  1623. "required" => array("color-body_img",'{true}'),
  1624. "target" => array("default_slideshow_target::.live_bg_wrap::background-repeat"),
  1625. "subtype" => array(
  1626. __('no repeat', 'avia_framework')=>'no-repeat',
  1627. __('Repeat', 'avia_framework')=>'repeat',
  1628. __('Tile Horizontally', 'avia_framework')=>'repeat-x',
  1629. __('Tile Vertically', 'avia_framework')=>'repeat-y',
  1630. __('Stretch Fullscreen', 'avia_framework')=>'fullscreen'));
  1631.  
  1632. $avia_elements[] = array(
  1633. "slug" => "styling",
  1634. "name" => __("Attachment", 'avia_framework'),
  1635. "desc" => "",
  1636. "id" => "color-body_attach",
  1637. "type" => "select",
  1638. "std" => "scroll",
  1639. "class" => "av_2columns av_col_1",
  1640. "no_first"=>true,
  1641. "required" => array("color-body_img",'{true}'),
  1642. "target" => array("default_slideshow_target::.live_bg_wrap::background-attachment"),
  1643. "subtype" => array(__('Scroll', 'avia_framework')=>'scroll',__('Fixed', 'avia_framework')=>'fixed'));
  1644.  
  1645.  
  1646. $avia_elements[] = array( "slug" => "styling", "type" => "visual_group_end", "id" => "avia_tab5_end", "nodescription" => true);
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.  
  1656.  
  1657. $avia_elements[] = array( "slug" => "styling", "type" => "visual_group_start", "id" => "avia_tab6", "nodescription" => true, 'class'=>'avia_tab avia_tab2','name'=>__('Fonts', 'avia_framework'));
  1658.  
  1659.  
  1660. $avia_elements[] = array( "name" => __("Heading Font", 'avia_framework'),
  1661. "slug" => "styling",
  1662. "desc" => __("The Font heading utilizes google fonts and allows you to use a wide range of custom fonts for your headings", 'avia_framework'),
  1663. "id" => "google_webfont",
  1664. "type" => "select",
  1665. "no_first" => true,
  1666. "class" => "av_2columns av_col_1",
  1667. "onchange" => "avia_add_google_font",
  1668. "std" => "Open Sans",
  1669. "subtype" => $google_fonts);
  1670.  
  1671. $avia_elements[] = array( "name" => __("Defines the Font for your body text", 'avia_framework'),
  1672. "slug" => "styling",
  1673. "desc" => __("Choose between web safe fonts (faster rendering) and google webkit fonts (more unqiue)", 'avia_framework')."<br/>",
  1674. "id" => "default_font",
  1675. "type" => "select",
  1676. "no_first" => true,
  1677. "class" => "av_2columns av_col_2",
  1678. "onchange" => "avia_add_google_font",
  1679. "std" => "Helvetica-Neue,Helvetica-websave",
  1680. "subtype" => apply_filters('avf_google_content_font', array( __('Web save fonts', 'avia_framework') => array(
  1681. 'Arial'=>'Arial-websave',
  1682. 'Georgia'=>'Georgia-websave',
  1683. 'Verdana'=>'Verdana-websave',
  1684. 'Helvetica'=>'Helvetica-websave',
  1685. 'Helvetica Neue'=>'Helvetica-Neue,Helvetica-websave',
  1686. 'Lucida'=>'"Lucida-Sans",-"Lucida-Grande",-"Lucida-Sans-Unicode-websave"'),
  1687.  
  1688. __('Google fonts', 'avia_framework') => array(
  1689. 'Arimo'=>'Arimo',
  1690. 'Cardo'=>'Cardo',
  1691. 'Droid Sans'=>'Droid Sans',
  1692. 'Droid Serif'=>'Droid Serif',
  1693. 'Kameron'=>'Kameron',
  1694. 'Maven Pro'=>'Maven Pro',
  1695. 'Open Sans'=>'Open Sans:400,600',
  1696. 'Lato'=>'Lato:300,400,700',
  1697. 'Lora'=>'Lora',
  1698.  
  1699. ))));
  1700.  
  1701.  
  1702. $avia_elements[] = array(
  1703. "slug" => "styling",
  1704. "name" => __("Default content font size", 'avia_framework'),
  1705. "desc" => __("The default font size for your content (eg: blog post content)", 'avia_framework'),
  1706. "id" => "color-default_font_size",
  1707. "type" => "select",
  1708. "std" => "",
  1709. "no_first"=>true,
  1710. "subtype" => array(
  1711. __('Theme Default (13px)', 'avia_framework')=>'',
  1712. '11px' =>'11px',
  1713. '12px' =>'12px',
  1714. '13px' =>'13px',
  1715. '14px' =>'14px',
  1716. '15px' =>'15px',
  1717. '16px' =>'16px',
  1718. '17px' =>'17px',
  1719. '18px' =>'18px',
  1720. '19px' =>'19px',
  1721. '20px' =>'20px',
  1722. '21px' =>'21px',
  1723. '22px' =>'22px',
  1724. '23px' =>'23px',
  1725. '24px' =>'24px',
  1726. '25px' =>'25px',
  1727. ));
  1728.  
  1729.  
  1730. $avia_elements[] = array( "slug" => "styling", "type" => "visual_group_end", "id" => "avia_tabwe6_end", "nodescription" => true);
  1731.  
  1732.  
  1733. $avia_elements[] = array( "slug" => "styling", "type" => "visual_group_end", "id" => "avia_tab_container_end", "nodescription" => true);
  1734.  
  1735.  
  1736. $avia_elements[] = array(
  1737. "slug" => "styling",
  1738. "name" => __("Quick CSS", 'avia_framework'),
  1739. "desc" => __("Just want to do some quick CSS changes? Enter them here, they will be applied to the theme. If you need to change major portions of the theme please use the custom.css file", 'avia_framework').
  1740. " <a target='_blank' href='http://www.kriesi.at/documentation/enfold/using-a-child-theme/'>".
  1741. __("or the Enfold Child theme.","avia_framework").
  1742. "</a>"
  1743. ,
  1744. "id" => "quick_css",
  1745. "type" => "textarea"
  1746. );
  1747.  
  1748.  
  1749.  
  1750.  
  1751. /*Sidebar*/
  1752.  
  1753.  
  1754.  
  1755.  
  1756. $avia_elements[] = array(
  1757. "slug" => "sidebars",
  1758. "name" => __("Sidebar on Archive Pages", 'avia_framework'),
  1759. "desc" => __("Choose the archive sidebar position here. This setting will be applied to all archive pages", 'avia_framework'),
  1760. "id" => "archive_layout",
  1761. "type" => "select",
  1762. "std" => "sidebar_right",
  1763. "no_first"=>true,
  1764. "subtype" => array( __('left sidebar', 'avia_framework') =>'sidebar_left',
  1765. __('right sidebar', 'avia_framework') =>'sidebar_right',
  1766. __('no sidebar', 'avia_framework') =>'fullsize'
  1767. ));
  1768.  
  1769.  
  1770.  
  1771.  
  1772. $avia_elements[] = array(
  1773. "slug" => "sidebars",
  1774. "name" => __("Sidebar on Blog Page", 'avia_framework'),
  1775. "desc" => __("Choose the blog sidebar position here. This setting will be applied to the blog page", 'avia_framework'),
  1776. "id" => "blog_layout",
  1777. "type" => "select",
  1778. "std" => "sidebar_right",
  1779. "no_first"=>true,
  1780. "subtype" => array( __('left sidebar', 'avia_framework') =>'sidebar_left',
  1781. __('right sidebar', 'avia_framework') =>'sidebar_right',
  1782. __('no sidebar', 'avia_framework') =>'fullsize'
  1783. ));
  1784.  
  1785.  
  1786.  
  1787.  
  1788. $avia_elements[] = array(
  1789. "slug" => "sidebars",
  1790. "name" => __("Sidebar on Single Post Entries", 'avia_framework'),
  1791. "desc" => __("Choose the blog post sidebar position here. This setting will be applied to single blog posts", 'avia_framework'),
  1792. "id" => "single_layout",
  1793. "type" => "select",
  1794. "std" => "sidebar_right",
  1795. "no_first"=>true,
  1796. "subtype" => array( __('left sidebar', 'avia_framework') =>'sidebar_left',
  1797. __('right sidebar', 'avia_framework') =>'sidebar_right',
  1798. __('no sidebar', 'avia_framework') =>'fullsize'
  1799. ));
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807. $avia_elements[] = array(
  1808. "slug" => "sidebars",
  1809. "name" => __("Sidebar on Pages", 'avia_framework'),
  1810. "desc" => __("Choose the default page layout here. You can change the setting of each individual page when editing that page", 'avia_framework'),
  1811. "id" => "page_layout",
  1812. "type" => "select",
  1813. "std" => "sidebar_right",
  1814. "no_first"=>true,
  1815. "subtype" => array( __('left sidebar', 'avia_framework') =>'sidebar_left',
  1816. __('right sidebar', 'avia_framework') =>'sidebar_right',
  1817. __('no sidebar', 'avia_framework') =>'fullsize'
  1818. ));
  1819.  
  1820.  
  1821. $avia_elements[] = array(
  1822. "slug" => "sidebars",
  1823. "name" => __("Sidebar on Smartphones", 'avia_framework'),
  1824. "desc" => __("Show sidebar on smartphones (Sidebar is displayed then below the actual content)", 'avia_framework'),
  1825. "id" => "smartphones_sidebar",
  1826. "type" => "checkbox",
  1827. "std" => "",
  1828. "no_first"=>true,
  1829. "subtype" => array( __('Hide sidebar on smartphones', 'avia_framework') =>'',
  1830. __('Show sidebar on smartphones', 'avia_framework') =>'smartphones_sidebar_visible'
  1831. ));
  1832.  
  1833.  
  1834. $avia_elements[] = array(
  1835. "slug" => "sidebars",
  1836. "name" => __("Page Sidebar navigation", 'avia_framework'),
  1837. "desc" => __("Display a sidebar navigation for all nested subpages of a page automatically?", 'avia_framework'),
  1838. "id" => "page_nesting_nav",
  1839. "type" => "checkbox",
  1840. "std" => "true",
  1841. "no_first"=>true,
  1842. "subtype" => array( __('Display sidebar navigation', 'avia_framework') =>'true',
  1843. __("Don't display Sidebar navigation", 'avia_framework') => ""
  1844. ));
  1845. $avia_elements[] = array(
  1846. "slug" => "sidebars",
  1847. "name" => __("Sidebar Separator Styling", 'avia_framework'),
  1848. "desc" => __("Do you want to separate the sidebar from your main content with a border?", 'avia_framework'),
  1849. "id" => "sidebar_styling",
  1850. "type" => "select",
  1851. "std" => "",
  1852. "no_first"=>true,
  1853. "subtype" => array( __('With Border', 'avia_framework') =>'',
  1854. __('No Border', 'avia_framework') =>'no_sidebar_border',
  1855. ));
  1856.  
  1857. $avia_elements[] = array( "name" => __("Create new Sidebar Widget Areas", 'avia_framework'),
  1858. "desc" => __("The theme supports the creation of custom widget areas. Simply open your", 'avia_framework') . " <a target='_blank' href='".admin_url('widgets.php')."'>".__('Widgets Page', 'avia_framework')."</a> ".
  1859. __("and add a new Sidebar Area. Afterwards you can choose to display this Widget Area in the Edit Page Screen.", 'avia_framework'),
  1860. "id" => "widgetdescription",
  1861. "std" => "",
  1862. "slug" => "sidebars",
  1863. "type" => "heading",
  1864. "nodescription"=>true);
  1865.  
  1866.  
  1867.  
  1868. /*Header Layout Settings*/
  1869.  
  1870.  
  1871. $avia_elements[] = array( "slug" => "header",
  1872. "type" => "visual_group_start",
  1873. "id" => "header_conditional",
  1874. "nodescription" => true,
  1875. "required" => array('header_position','{contains}header_top'),
  1876. "inactive" => __("These options are only available if you select a layout that has a main menu positioned at the top. You currently have your main menu placed in a sidebar",'avia_framework') ."<br/><br/>".
  1877. __("You can change that setting",'avia_framework').
  1878. " <a href='#goto_layout'>".
  1879. __("at General Layout",'avia_framework').
  1880. "</a>");
  1881.  
  1882.  
  1883.  
  1884.  
  1885. $frontendheader_label = __("A rough layout preview of the header area", 'avia_framework');
  1886.  
  1887. $avia_elements[] = array(
  1888. "slug" => "header",
  1889. "id" => "default_header_target",
  1890. "type" => "target",
  1891. "std" => "
  1892. <style type='text/css'>
  1893.  
  1894. #avia_options_page #avia_default_header_target{background: #f8f8f8;border: none;padding: 30px;border-bottom: 1px solid #e5e5e5; margin-bottom: 25px;}
  1895. #avia_header_preview{color:#999; border:1px solid #e1e1e1; padding:0px 45px; overflow:hidden; background-color:#fff; position: relative;}
  1896.  
  1897. #avia_options_page #pr-main-area{line-height:69px; overflow:hidden;}
  1898. #pr-menu{float:right; font-size:12px; line-height: inherit;}
  1899.  
  1900. #pr-menu .pr-menu-single{display:inline-block; padding:0px 7px; position:relative; }
  1901. #pr-menu .main_nav_header .pr-menu-single{padding:20px 7px;}
  1902.  
  1903. #pr-menu-inner.seperator_small_border .pr-menu-single{display:inline; border-right: 1px solid #e1e1e1; padding:0px 7px;}
  1904. #pr-menu-inner.seperator_big_border .pr-menu-single{ border-right: 1px solid #e1e1e1; width: 80px; text-align: center; padding: 25px 7px;}
  1905. #pr-menu-inner.seperator_big_border .pr-menu-single-first{border-left:1px solid #e1e1e1;}
  1906.  
  1907.  
  1908. .bottom_nav_header #pr-menu-inner.seperator_big_border .pr-menu-single{padding: 9px 7px;}
  1909.  
  1910. #pr-logo{ max-width: 150px; max-height: 70px; float:left;}
  1911. #avia_header_preview.large #pr-logo{ max-width: 215px; max-height: 115px; padding-top:0px;}
  1912. #avia_header_preview.large .main_nav_header #pr-menu-inner.seperator_big_border .pr-menu-single{padding: 48px 7px;}
  1913. #avia_options_page #avia_header_preview.large #pr-main-area{line-height:15px;}
  1914.  
  1915. #search_icon{opacity:0.3; margin-left: 10px; top:26px; position:relative; display:none; z-index:10; height:16px;}
  1916. #search_icon.header_searchicon{display:inline; top:4px;}
  1917. #pr-content-area{display:block; clear:both; padding:15px 45px; overflow:hidden; background-color:#fcfcfc; text-align:center; border:1px solid #e1e1e1; border-top:none;}
  1918. .logo_right #pr-logo{float:right}
  1919. .logo_center{text-align:center;}
  1920. .logo_center #pr-logo{float:none}
  1921. .menu_left #pr-menu{float:left}
  1922. #avia_options_page .bottom_nav_header#pr-main-area{line-height: 1em;}
  1923. .bottom_nav_header #pr-menu{float:none; clear:both; line-height:36px; }
  1924. .top_nav_header div#pr-menu { position: absolute; top: -1px; width: 100%; left: 0; }
  1925. .top_nav_header#pr-main-area{margin-top:40px;}
  1926. .bottom_nav_header #pr-menu:before { content: ''; border-top: 1px solid #e1e1e1; width: 150%; position:absolute; height: 1px; left: -50px;}
  1927. .top_nav_header #pr-menu:before{ top: 36px; }
  1928. .minimal_header .top_nav_header #pr-menu:before{opacity:0;}
  1929. .minimal_header_shadow .top_nav_header #pr-menu:before{opacity:1; box-shadow: 0 1px 3px 0px rgba(0,0,0,0.1); }
  1930.  
  1931.  
  1932. #pr-menu-2nd{height: 28px; color:#aaa; border:1px solid #e1e1e1; padding:5px 45px; overflow:hidden; background-color:#f8f8f8; border-bottom:none; display:none; font-size:11px;}
  1933. .extra_header_active #pr-menu-2nd{display:block;}
  1934. .pr-secondary-items{display:none;}
  1935. .secondary_left .pr-secondary-items, .secondary_right .pr-secondary-items{display:block; float:left; margin:0 10px 0 0;}
  1936. .secondary_right .pr-secondary-items{float:right; margin:0 0 0 10px;}
  1937.  
  1938. .pr-icons{opacity:0.3; display:none; position:relative; top:1px;}
  1939. .icon_active_left.extra_header_active #pr-menu-2nd .pr-icons{display:block; float:left; margin:0 10px 0 0;}
  1940. .icon_active_right.extra_header_active #pr-menu-2nd .pr-icons{display:block; float:right; margin:0 0 0 10px ;}
  1941.  
  1942. .icon_active_main #pr-main-icon{float:right; position:relative; line-height:inherit;}
  1943. .icon_active_main #pr-main-icon .pr-icons{display:block; top: 3px; margin: 0 0 0 17px; line-height:inherit; width:66px;}
  1944. .icon_active_main .logo_right #pr-main-icon {left: 211px; float: left; width: 0px;}
  1945. .icon_active_main .logo_right #pr-main-icon {left: 211px; float: left; width: 0px;}
  1946. .icon_active_main .large .logo_right #pr-main-icon {left:-55px;}
  1947.  
  1948. .icon_active_main .bottom_nav_header #pr-main-icon{top:23px;}
  1949. .icon_active_main .large #pr-main-icon{top:46px;}
  1950.  
  1951. .icon_active_main .logo_right.bottom_nav_header #pr-main-icon{float:left; left:-17px;}
  1952. .icon_active_main .logo_center.bottom_nav_header #pr-main-icon{float: right; top: 0px; position: absolute; right: 24px;}
  1953. .icon_active_main .large .logo_center.bottom_nav_header #pr-main-icon{top: 29px;}
  1954. .icon_active_main .logo_center.bottom_nav_header #pr-main-icon .pr-icons{margin:0; top:35px;}
  1955. .icon_active_main .large .logo_center.bottom_nav_header #pr-main-icon .pr-icons { top: 23px; }
  1956.  
  1957. .pr-phone-items{display:none;}
  1958. .phone_active_left .pr-phone-items{display:block; float:left;}
  1959. .phone_active_right .pr-phone-items{display:block; float:right;}
  1960.  
  1961. .header_stretch #avia_header_preview, .header_stretch #pr-menu-2nd{ padding-left: 15px; padding-right: 15px; }
  1962. .header_stretch .icon_active_main .logo_right.menu_left #pr-main-icon {left:-193px;}
  1963.  
  1964. .inner-content{color:#999; text-align: justify; }
  1965.  
  1966. #pr-breadcrumb{line-height:23px; color:#aaa; border:1px solid #e1e1e1; padding:5px 45px; overflow:hidden; background-color:#f8f8f8; border-top:none; font-size:16px;}
  1967. #pr-breadcrumb .some-breadcrumb{float:right; font-size:11px; line-height:23px;}
  1968. #pr-breadcrumb.title_bar .some-breadcrumb, #pr-breadcrumb.hidden_title_bar{ display:none; }
  1969.  
  1970. .pr-menu-single.pr-menu-single-first:after {
  1971. content: '';
  1972. width: 90%;
  1973. height: 1px;
  1974. border-bottom: 2px solid #9cc2df;
  1975. display: block;
  1976. top: 85%;
  1977. left: 7%;
  1978. position: absolute;
  1979. }
  1980.  
  1981. .burger_menu #pr-menu-inner{
  1982. display:none;
  1983. }
  1984.  
  1985. #pr-burger-menu{
  1986. display: none;
  1987. height: 40px;
  1988. width: 30px;
  1989. margin-top: 17px;
  1990. margin-left:20px;
  1991. float: right;
  1992. position: relative;
  1993. z-index:10;
  1994. }
  1995.  
  1996. #avia_header_preview.large #pr-burger-menu{margin-top: 39px;}
  1997.  
  1998. #pr-burger-menu span{
  1999. display:block;
  2000. border-top:4px solid #aaa;
  2001. margin-top: 6px;
  2002. }
  2003.  
  2004. .main_nav_header .burger_menu #pr-burger-menu{
  2005. display:block;
  2006. }
  2007.  
  2008. .seperator_small_border .pr-menu-single.pr-menu-single-first:after { top: 145%; }
  2009. .seperator_big_border .pr-menu-single.pr-menu-single-first:after { top: 98%; left: 0; width: 100%;}
  2010. .bottom_nav_header .pr-menu-single.pr-menu-single-first:after { top: 92%; left: 0%; width:100%; }
  2011.  
  2012. .minimal_header .pr-menu-single.pr-menu-single-first:after{display:none;}
  2013. .minimal_header #avia_header_preview{border-bottom:none;}
  2014. .minimal_header_shadow #avia_header_preview { box-shadow: 0 2px 8px 0px rgba(0,0,0,0.1); }
  2015.  
  2016. .bottom_nav_header #search_icon.header_searchicon{float:right; top: 10px;}
  2017. .burger_menu #pr-burger-menu{display:block;}
  2018. #avia_header_preview .bottom_nav_header #pr-burger-menu{ margin:0; float:left; }
  2019. .top_nav_header #search_icon, .top_nav_header #pr-burger-menu{margin:0px 10px;}
  2020.  
  2021. </style>
  2022. <div class='av-header-area-preview' >
  2023. <div id='pr-stretch-wrap' >
  2024. <small class='live_bg_small'>{$frontendheader_label}</small>
  2025. <div id='pr-header-style-wrap' >
  2026. <div id='pr-phone-wrap' >
  2027. <div id='pr-social-wrap' >
  2028. <div id='pr-seconary-menu-wrap' >
  2029. <div id='pr-menu-2nd'>{$iconSpan}<span class='pr-secondary-items'>Login | Signup | etc</span><span class='pr-phone-items'>Phone: 555-4432</span></div>
  2030. <div id='avia_header_preview' >
  2031. <div id='pr-main-area' >
  2032. <img id='pr-logo' src='".AVIA_BASE_URL."images/layout/logo_modern.png' alt=''/>
  2033. <div id='pr-main-icon'>{$iconSpan}</div>
  2034. <div id='pr-menu'>
  2035.  
  2036.  
  2037. <span id='pr-menu-inner'><span class='pr-menu-single pr-menu-single-first'>Home</span><span class='pr-menu-single'>About</span><span class='pr-menu-single'>Contact</span></span> <img id='search_icon' src='".AVIA_BASE_URL."images/layout/search.png' alt='' />
  2038. <div id='pr-burger-menu'>
  2039. <span class='burger-top'></span>
  2040. <span class='burger-mid'></span>
  2041. <span class='burger-low'></span>
  2042. </div>
  2043.  
  2044. </div>
  2045. </div>
  2046. </div>
  2047. </div>
  2048. </div>
  2049. </div>
  2050. </div>
  2051. <div id='pr-breadcrumb'>Some Title <span class='some-breadcrumb'>Home &#187; Admin &#187; Header </span></div>
  2052. <div id='pr-content-area'> Content / Slideshows / etc
  2053. <div class='inner-content'>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium sem.</div>
  2054. </div>
  2055. </div>
  2056. </div>
  2057. ",
  2058. "nodescription" => true
  2059. );
  2060.  
  2061. //START TAB CONTAINER
  2062. $avia_elements[] = array( "slug" => "header", "type" => "visual_group_start", "id" => "avia_tab1", "nodescription" => true, 'class'=>'avia_tab_container avia_set');
  2063. $avia_elements[] = array( "slug" => "header", "type" => "visual_group_start", "id" => "avia_tab5", "nodescription" => true, 'class'=>'avia_tab avia_tab2','name'=>__('Header layout', 'avia_framework'));
  2064. // START TAB
  2065.  
  2066. $avia_elements[] = array(
  2067. "slug" => "header",
  2068. "name" => __("Menu and Logo Position", 'avia_framework'),
  2069. "desc" => __("You can choose various different logo and main menu positions here", 'avia_framework'),
  2070. "id" => "header_layout",
  2071. "type" => "select",
  2072. "std" => "",
  2073. "class" => "av_2columns av_col_1",
  2074. "no_first"=>true,
  2075. "target" => array(".av-header-area-preview::#pr-main-area::set_class"),
  2076. "subtype" => array( __('Logo left, Menu right', 'avia_framework') =>'logo_left main_nav_header menu_right',
  2077. __('Logo right, Menu Left', 'avia_framework') =>'logo_right main_nav_header menu_left',
  2078. __('Logo left, Menu below', 'avia_framework') =>'logo_left bottom_nav_header menu_left',
  2079. __('Logo right, Menu below', 'avia_framework') =>'logo_right bottom_nav_header menu_center',
  2080. __('Logo center, Menu below', 'avia_framework') =>'logo_center bottom_nav_header menu_right',
  2081. __('Logo center, Menu above', 'avia_framework') =>'logo_center bottom_nav_header top_nav_header menu_center',
  2082. ));
  2083.  
  2084. $avia_elements[] = array(
  2085. "slug" => "header",
  2086. "name" => __("Header Size", 'avia_framework'),
  2087. "desc" => __("Choose a predefined header size. You can also apply a custom height to the header", 'avia_framework'),
  2088. "id" => "header_size",
  2089. "type" => "select",
  2090. "std" => "",
  2091. "class" => "av_2columns av_col_2",
  2092. "target" => array(".av-header-area-preview::#avia_header_preview::set_class"),
  2093. "no_first"=>true,
  2094. "subtype" => array( __('slim', 'avia_framework') =>'slim',
  2095. __('large', 'avia_framework') =>'large',
  2096. __('custom pixel value', 'avia_framework') =>'custom',
  2097. ));
  2098.  
  2099.  
  2100. $customsize = array();
  2101. for ($x=45; $x<=300; $x++){ $customsize[$x.'px'] = $x; }
  2102.  
  2103. $avia_elements[] = array(
  2104. "slug" => "header",
  2105. "name" => __("Header Custom Height", 'avia_framework'),
  2106. "desc" => __("Choose a custom height in pixels (wont be reflected in the preview above, only on your actual page)", 'avia_framework'),
  2107. "id" => "header_custom_size",
  2108. "type" => "select",
  2109. "std" => "150",
  2110. "required" => array('header_size','custom'),
  2111. "no_first"=>true,
  2112. "subtype" => $customsize);
  2113.  
  2114.  
  2115. $avia_elements[] = array(
  2116. "slug" => "header",
  2117. "name" => __("Header Style", 'avia_framework'),
  2118. "desc" => __("Choose which header style you want to use", 'avia_framework'),
  2119. "id" => "header_style",
  2120. "type" => "select",
  2121. "std" => "",
  2122. "target" => array(".av-header-area-preview::#pr-header-style-wrap::set_class"),
  2123. "no_first"=>true,
  2124. "subtype" => array( __('Default (with borders, active menu indicator and slightly transparent)', 'avia_framework') =>'',
  2125. __('Minimal (no borders, indicators or transparency)', 'avia_framework') =>'minimal_header',
  2126. __('Minimal with drop shadow (no borders, indicators or transparency)', 'avia_framework') =>'minimal_header minimal_header_shadow',
  2127. ));
  2128.  
  2129.  
  2130.  
  2131.  
  2132. $avia_elements[] = array(
  2133. "slug" => "header",
  2134. "name" => __("Header Title and Breadcrumbs", 'avia_framework'),
  2135. "desc" => __("Choose if and how you want to display the Title and Breadcrumb of your page. This option can be overwritten when writing/editing a page", 'avia_framework'),
  2136. "id" => "header_title_bar",
  2137. "type" => "select",
  2138. "std" => "title_bar_breadcrumb",
  2139. "target" => array(".av-header-area-preview::#pr-breadcrumb::set_class"),
  2140. "no_first"=>true,
  2141. "subtype" => array( __('Display title and breadcrumbs', 'avia_framework') =>'title_bar_breadcrumb',
  2142. __('Display only title', 'avia_framework') =>'title_bar',
  2143. __('Display only breadcrumbs', 'avia_framework') =>'breadcrumbs_only',
  2144. __('Hide both', 'avia_framework') =>'hidden_title_bar',
  2145. ));
  2146.  
  2147.  
  2148.  
  2149. // END TAB
  2150. $avia_elements[] = array( "slug" => "header", "type" => "visual_group_end", "id" => "avia_tab5_end", "nodescription" => true);
  2151. $avia_elements[] = array( "slug" => "header", "type" => "visual_group_start", "id" => "avia_tab5", "nodescription" => true, 'class'=>'avia_tab avia_tab2','name'=>__('Header behavior', 'avia_framework'));
  2152. // START TAB
  2153.  
  2154. $avia_elements[] = array(
  2155. "name" => __("Sticky Header", 'avia_framework'),
  2156. "desc" => __("If checked the header will stick to the top of your site if user scrolls down (ignored on smartphones)", 'avia_framework'),
  2157. "id" => "header_sticky",
  2158. "type" => "checkbox",
  2159. "std" => "true",
  2160. "slug" => "header");
  2161.  
  2162. $avia_elements[] = array(
  2163. "name" => __("Shrinking Header", 'avia_framework'),
  2164. "desc" => __("If checked the sticky header will shrink once the user scrolls down (ignored on smartphones + tablets)", 'avia_framework'),
  2165. "id" => "header_shrinking",
  2166. "type" => "checkbox",
  2167. "std" => "true",
  2168. "required" => array('header_sticky','header_sticky'),
  2169. "slug" => "header");
  2170.  
  2171. $avia_elements[] = array(
  2172. "name" => __("Unstick topbar", 'avia_framework'),
  2173. "desc" => __("If checked the small top bar above the header with social icons, secondary menu and extra information will no longer stick to the top", 'avia_framework'),
  2174. "id" => "header_unstick_top",
  2175. "type" => "checkbox",
  2176. "std" => "",
  2177. "required" => array('header_sticky','header_sticky'),
  2178. "slug" => "header");
  2179.  
  2180.  
  2181. $avia_elements[] = array(
  2182. "name" => __("Let logo and menu position adapt to browser window", 'avia_framework'),
  2183. "desc" => __("If checked the elements in your header will always be placed at the browser window edge, instead of matching the content width", 'avia_framework'),
  2184. "id" => "header_stretch",
  2185. "type" => "checkbox",
  2186. "std" => "",
  2187. "target" => array(".av-header-area-preview::#pr-stretch-wrap::set_class"),
  2188. "slug" => "header");
  2189.  
  2190. // END TAB
  2191. $avia_elements[] = array( "slug" => "header", "type" => "visual_group_end", "id" => "avia_tab5_end", "nodescription" => true);
  2192.  
  2193.  
  2194. $avia_elements[] = array( "slug" => "header", "type" => "visual_group_start", "id" => "avia_tab5", "nodescription" => true, 'class'=>'avia_tab avia_tab2','name'=>__('Extra Elements', 'avia_framework'));
  2195. // START TAB
  2196.  
  2197.  
  2198. $avia_elements[] = array(
  2199. "slug" => "header",
  2200. "name" => __("Header Social Icons", 'avia_framework'),
  2201. "desc" => __("Choose if and where to display social icons. You can define the icons at", 'avia_framework').
  2202. " <a href='#goto_social'>".
  2203. __("Social Profiles","avia_framework").
  2204. "</a>"
  2205. ,
  2206. "id" => "header_social",
  2207. "type" => "select",
  2208. "std" => "",
  2209. "class" => "av_2columns av_col_1",
  2210. "target" => array(".av-header-area-preview::#pr-social-wrap::set_class"),
  2211. "no_first"=>true,
  2212. "subtype" => array( __('No social Icons', 'avia_framework') =>'',
  2213. __('Display in top bar at the left', 'avia_framework') =>'icon_active_left extra_header_active',
  2214. __('Display in top bar at the right', 'avia_framework') =>'icon_active_right extra_header_active',
  2215. __('Display in main header area', 'avia_framework') =>'icon_active_main',
  2216. ));
  2217.  
  2218. $avia_elements[] = array(
  2219. "slug" => "header",
  2220. "name" => __("Header Secondary Menu", 'avia_framework'),
  2221. "desc" => __("Choose if you want to display a secondary menu and where to display it", 'avia_framework'),
  2222. "id" => "header_secondary_menu",
  2223. "type" => "select",
  2224. "std" => "",
  2225. "class" => "av_2columns av_col_2",
  2226. "target" => array(".av-header-area-preview::#pr-seconary-menu-wrap::set_class"),
  2227. "no_first"=>true,
  2228. "subtype" => array( __('No Secondary Menu', 'avia_framework') =>'',
  2229. __('Secondary Menu in top bar at the left', 'avia_framework') =>'secondary_left extra_header_active',
  2230. __('Secondary Menu in top bar at the right', 'avia_framework') =>'secondary_right extra_header_active',
  2231. ));
  2232.  
  2233. $avia_elements[] = array(
  2234. "slug" => "header",
  2235. "name" => __("Header Phone Number/Extra Info", 'avia_framework'),
  2236. "desc" => __("Choose if you want to display an additional phone number or some extra info in your header", 'avia_framework'),
  2237. "id" => "header_phone_active",
  2238. "type" => "select",
  2239. "std" => "",
  2240. "class" => "av_2columns av_col_1",
  2241. "target" => array(".av-header-area-preview::#pr-phone-wrap::set_class"),
  2242. "no_first"=>true,
  2243. "subtype" => array( __('No Phone Number/Extra Info', 'avia_framework') =>'',
  2244. __('Display in top bar at the left', 'avia_framework') =>'phone_active_left extra_header_active',
  2245. __('Display in top bar at the right', 'avia_framework') =>'phone_active_right extra_header_active',
  2246. ));
  2247.  
  2248. $avia_elements[] = array(
  2249. "name" => __("Phone Number or small info text", 'avia_framework'),
  2250. "desc" => __("Add the text that should be displayed in your header here", 'avia_framework'),
  2251. "id" => "phone",
  2252. "type" => "text",
  2253. "std" => "",
  2254. "class" => "av_2columns av_col_2",
  2255. "required" => array('header_phone_active','{contains}phone_active'),
  2256. "slug" => "header");
  2257.  
  2258.  
  2259.  
  2260.  
  2261.  
  2262. // END TAB
  2263. $avia_elements[] = array( "slug" => "header", "type" => "visual_group_end", "id" => "avia_tab5_end", "nodescription" => true);
  2264. $avia_elements[] = array( "slug" => "header", "type" => "visual_group_start", "id" => "avia_tab5", "nodescription" => true, 'class'=>'avia_tab avia_tab2','name'=>__('Transparency Options', 'avia_framework'));
  2265. // START TAB
  2266. $avia_elements[] = array( "name" => __("What is header transparency",'avia_framework'),
  2267. "desc" => __("When creating/editing a page you can select to have the header be transparent and display the content (usually a fullwidth slideshow or a fullwidth image) beneath. In those cases you will usually need a different Logo and Main Menu color which can be set here.",'avia_framework')."<br/><a class='av-modal-image' href='".get_template_directory_uri()."/images/framework-helper/header_transparency.jpg'>".__('(Show example Screenshot)','avia_framework')."</a>",
  2268. "id" => "transparency_description",
  2269. "std" => "",
  2270. "slug" => "header",
  2271. "type" => "heading",
  2272. "nodescription"=>true);
  2273.  
  2274.  
  2275. $avia_elements[] = array(
  2276. "slug" => "header",
  2277. "name" => __("Transparency Logo", 'avia_framework'),
  2278. "desc" => __("Upload a logo image, or enter the URL or ID of an image if its already uploaded. (Leave empty to use the default logo)", 'avia_framework'),
  2279. "id" => "header_replacement_logo",
  2280. "type" => "upload",
  2281. "label" => __("Use Image as logo", 'avia_framework'));
  2282.  
  2283.  
  2284. $avia_elements[] = array(
  2285. "slug" => "header",
  2286. "name" => __("Transparency menu color", 'avia_framework'),
  2287. "desc" => __("Menu color for transparent header (Leave empty to use the default color)", 'avia_framework'),
  2288. "id" => "header_replacement_menu",
  2289. "type" => "colorpicker",
  2290. "std" => ""
  2291. );
  2292.  
  2293. // END TAB
  2294. $avia_elements[] = array( "slug" => "header", "type" => "visual_group_end", "id" => "avia_tab5_end", "nodescription" => true);
  2295.  
  2296.  
  2297.  
  2298. //END TAB CONTAINER
  2299. $avia_elements[] = array( "slug" => "header", "type" => "visual_group_end", "id" => "avia_tab_container_end", "nodescription" => true);
  2300.  
  2301.  
  2302. // close conditional
  2303. $avia_elements[] = array( "slug" => "header", "type" => "visual_group_end", "id" => "header_conditional_close", "nodescription" => true);
  2304.  
  2305.  
  2306. /*social settings*/
  2307.  
  2308. $avia_elements[] = array( "name" => __("Your social profiles", 'avia_framework'),
  2309. "desc" => __("You can enter links to your social profiles here. Afterwards you can choose where to display them by activating them in the respective area", 'avia_framework') ." (". __("e.g:", 'avia_framework') . " <a href='#goto_layout'>". __("General Layout", 'avia_framework') . "</a>, <a href='#goto_header'>". __("Header", 'avia_framework') . "</a>, <a href='#goto_footer'>". __("Footer", 'avia_framework') . "</a> )",
  2310. "id" => "socialdescription",
  2311. "std" => "",
  2312. "slug" => "social",
  2313. "type" => "heading",
  2314. "nodescription"=>true);
  2315.  
  2316.  
  2317.  
  2318. $avia_elements[] = array(
  2319. "type" => "group",
  2320. "id" => "social_icons",
  2321. "slug" => "social",
  2322. "linktext" => "+",
  2323. "deletetext" => "×",
  2324. "blank" => true,
  2325. "nodescription" => true,
  2326. "std" => array(
  2327. array('social_icon'=>'twitter', 'social_icon_link'=>'http://twitter.com/kriesi'),
  2328. array('social_icon'=>'dribbble', 'social_icon_link'=>'http://dribbble.com/kriesi'),
  2329. ),
  2330. 'subelements' => array(
  2331.  
  2332. array(
  2333. "name" => __("Social Icon", 'avia_framework'),
  2334. "desc" => "",
  2335. "id" => "social_icon",
  2336. "type" => "select",
  2337. "slug" => "sidebar",
  2338. "class" => "av_2columns av_col_1",
  2339. "subtype" => apply_filters('avf_social_icons_options', array(
  2340.  
  2341. '500px' => 'five_100_px',
  2342. 'Behance' => 'behance',
  2343. 'Dribbble' => 'dribbble',
  2344. 'Facebook' => 'facebook',
  2345. 'Flickr' => 'flickr',
  2346. 'Google Plus' => 'gplus',
  2347. 'Instagram' => 'instagram',
  2348. 'LinkedIn' => 'linkedin',
  2349. 'Pinterest' => 'pinterest',
  2350. 'Reddit' => 'reddit',
  2351. 'Skype' => 'skype',
  2352. 'Soundcloud'=> 'soundcloud',
  2353. 'Tumblr' => 'tumblr',
  2354. 'Twitter' => 'twitter',
  2355. 'Vimeo' => 'vimeo',
  2356. 'Vk' => 'vk',
  2357. 'Xing' => 'xing',
  2358. 'YouTube' => 'youtube',
  2359. __('Special: RSS (add RSS URL, leave blank if you want to use default WordPress RSS feed)', 'avia_framework') => 'rss',
  2360. __('Special: Email Icon (add your own URL to link to a contact form)', 'avia_framework') => 'mail',
  2361.  
  2362. ))),
  2363.  
  2364. array(
  2365. "name" => __("Social Icon URL:", 'avia_framework'),
  2366. "desc" => "",
  2367. "id" => "social_icon_link",
  2368. "type" => "text",
  2369. "slug" => "sidebar",
  2370. "class" => "av_2columns av_col_2"),
  2371. )
  2372. );
  2373.  
  2374.  
  2375.  
  2376.  
  2377. /*footer settings*/
  2378.  
  2379.  
  2380. $avia_elements[] = array(
  2381. "slug" => "footer",
  2382. "name" => __("Default Footer Widgets & Socket Settings", 'avia_framework'),
  2383. "desc" => __("Do you want to display the footer widgets & footer socket?", 'avia_framework'),
  2384. "id" => "display_widgets_socket",
  2385. "type" => "select",
  2386. "std" => "all",
  2387. "no_first" => true,
  2388. "subtype" => array(
  2389. __('Display the footer widgets & socket', 'avia_framework') =>'all',
  2390. __('Display only the footer widgets (no socket)', 'avia_framework') =>'nosocket',
  2391. __('Display only the socket (no footer widgets)', 'avia_framework') =>'nofooterwidgets',
  2392. __("Don't display the socket & footer widgets", 'avia_framework') =>'nofooterarea'
  2393. )
  2394. );
  2395.  
  2396.  
  2397.  
  2398.  
  2399. $avia_elements[] = array(
  2400. "slug" => "footer",
  2401. "name" => __("Footer Columns", 'avia_framework'),
  2402. "desc" => __("How many columns should be displayed in your footer", 'avia_framework'),
  2403. "id" => "footer_columns",
  2404. "type" => "select",
  2405. "std" => "4",
  2406. "subtype" => array(
  2407. __('1', 'avia_framework') =>'1',
  2408. __('2', 'avia_framework') =>'2',
  2409. __('3', 'avia_framework') =>'3',
  2410. __('4', 'avia_framework') =>'4',
  2411. __('5', 'avia_framework') =>'5'));
  2412.  
  2413. $avia_elements[] = array(
  2414. "slug" => "footer",
  2415. "name" => __("Copyright", 'avia_framework'),
  2416. "desc" => __("Add a custom copyright text at the bottom of your site. eg:", 'avia_framework')."<br/><strong>&copy; ".__('Copyright','avia_framework')." - ".get_bloginfo('name')."</strong>",
  2417. "id" => "copyright",
  2418. "type" => "text",
  2419. "std" => ""
  2420.  
  2421. );
  2422.  
  2423.  
  2424. $avia_elements[] = array(
  2425. "name" => __("Social Icons", 'avia_framework'),
  2426. "desc" => __("Check to display the social icons defined in", 'avia_framework').
  2427. " <a href='#goto_social'>".
  2428. __("Social Profiles", 'avia_framework').
  2429. "</a> ".
  2430. __("in your socket", 'avia_framework'),
  2431. "id" => "footer_social",
  2432. "type" => "checkbox",
  2433. "std" => "",
  2434. "slug" => "footer");
  2435.  
  2436.  
  2437.  
  2438. /*blog settings*/
  2439.  
  2440. $avia_elements[] = array(
  2441. "slug" => "blog",
  2442. "name" => __("Blog Styling", 'avia_framework' ),
  2443. "desc" => __("Choose the blog styling here.", 'avia_framework' ),
  2444. "id" => "blog_global_style",
  2445. "type" => "select",
  2446. "std" => "",
  2447. "no_first"=>true,
  2448. "subtype" => array(
  2449. __( 'Default (Business)', 'avia_framework' ) =>'',
  2450. __( 'Elegant', 'avia_framework' ) =>'elegant-blog',
  2451. __( 'Modern Business', 'avia_framework' ) =>'elegant-blog modern-blog',
  2452. ));
  2453.  
  2454.  
  2455.  
  2456.  
  2457. $avia_elements[] = array(
  2458. "slug" => "blog",
  2459. "name" => __("Blog Layout", 'avia_framework' ),
  2460. "desc" => __("Choose the default blog layout here.", 'avia_framework' )."<br/><br/>".__("You can either choose a predefined layout or build your own blog layout with the advanced layout editor", 'avia_framework' ),
  2461. "id" => "blog_style",
  2462. "type" => "select",
  2463. "std" => "single-small",
  2464. "no_first"=>true,
  2465. "subtype" => array(
  2466. __( 'Multi Author Blog (displays Gravatar of the article author beside the entry and feature images above)', 'avia_framework' ) =>'multi-big',
  2467. __( 'Single Author, small preview Pic (no author picture is displayed, feature image is small)', 'avia_framework' ) =>'single-small',
  2468. __( 'Single Author, big preview Pic (no author picture is displayed, feature image is big)', 'avia_framework' ) =>'single-big',
  2469. __( 'Grid Layout', 'avia_framework' ) =>'blog-grid',
  2470. __( 'Use the advance layout editor to build your own blog layout (simply edit the page you have chosen in Enfold->Theme Options as a blog page)', 'avia_framework') =>'custom',
  2471. ));
  2472.  
  2473.  
  2474.  
  2475. $avia_elements[] = array("slug" => "blog", "type" => "visual_group_start", "id" => "avia_share_links_start", "nodescription" => true);
  2476.  
  2477. $avia_elements[] = array( "name" => __("Single Post Options", 'avia_framework'),
  2478. "desc" => __("Here you can set options that affect your single blog post layout", 'avia_framework'),
  2479. "id" => "widgetdescription",
  2480. "std" => "",
  2481. "slug" => "blog",
  2482. "type" => "heading",
  2483. "nodescription"=>true);
  2484.  
  2485. $avia_elements[] = array(
  2486. "name" => __("Disable the post navigation", 'avia_framework'),
  2487. "desc" => __("Check to disable the post navigation that links to the next/previous post on single entries ", 'avia_framework'),
  2488. "id" => "disable_post_nav",
  2489. "type" => "checkbox",
  2490. "std" => "",
  2491. "slug" => "blog");
  2492.  
  2493. $avia_elements[] = array(
  2494. "slug" => "blog",
  2495. "name" => __("Single Post Style", 'avia_framework'),
  2496. "desc" => __("Choose the single post style here.", 'avia_framework'),
  2497. "id" => "single_post_style",
  2498. "type" => "select",
  2499. "std" => "single-big",
  2500. "no_first"=>true,
  2501. "subtype" => array( __('Single post with small preview image (featured image)', 'avia_framework') =>'single-small',
  2502. __('Single post with big preview image (featured image)', 'avia_framework') =>'single-big',
  2503. __('Multi Author Blog (displays Gravatar of the article author beside the entry and feature images above)', 'avia_framework') =>'multi-big'
  2504. ));
  2505.  
  2506.  
  2507.  
  2508. $avia_elements[] = array(
  2509. "slug" => "blog",
  2510. "name" => __("Related Entries", 'avia_framework'),
  2511. "desc" => __("Choose if and how you want to display your related entries. (Related entries are based on tags. If a post does not have any tags then no related entries will be shown)", 'avia_framework'),
  2512. "id" => "single_post_related_entries",
  2513. "type" => "select",
  2514. "std" => "av-related-style-tooltip",
  2515. "no_first"=>true,
  2516. "subtype" => array( __('Show Thumnails and display post title by tooltip', 'avia_framework') =>'av-related-style-tooltip',
  2517. __('Show Thumbnail and post title by default', 'avia_framework') =>'av-related-style-full',
  2518. __('Disable related entries', 'avia_framework') =>'disabled'
  2519. ));
  2520.  
  2521.  
  2522.  
  2523.  
  2524.  
  2525. $avia_elements[] = array( "name" => __("Blog meta elements", 'avia_framework'),
  2526. "desc" => __("You can choose to hide some of the default Blog elements here:", 'avia_framework'),
  2527. "id" => "widgetdescription",
  2528. "std" => "",
  2529. "slug" => "blog",
  2530. "type" => "heading",
  2531. "nodescription"=>true);
  2532.  
  2533.  
  2534. $avia_elements[] = array(
  2535. "name" => __("Blog Post Author", 'avia_framework'),
  2536. "desc" => __("Check to display", 'avia_framework'),
  2537. "id" => "blog-meta-author",
  2538. "type" => "checkbox",
  2539. "std" => "true",
  2540. "class" => "av_3col av_col_1",
  2541. "slug" => "blog");
  2542.  
  2543.  
  2544. $avia_elements[] = array(
  2545. "name" => __("Blog Post Comment Count", 'avia_framework'),
  2546. "desc" => __("Check to display", 'avia_framework'),
  2547. "id" => "blog-meta-comments",
  2548. "type" => "checkbox",
  2549. "std" => "true",
  2550. "class" => "av_3col av_col_2",
  2551. "slug" => "blog");
  2552.  
  2553. $avia_elements[] = array(
  2554. "name" => __("Blog Post Category", 'avia_framework'),
  2555. "desc" => __("Check to display", 'avia_framework'),
  2556. "id" => "blog-meta-category",
  2557. "type" => "checkbox",
  2558. "std" => "true",
  2559. "class" => "av_3col av_col_2",
  2560. "slug" => "blog");
  2561.  
  2562.  
  2563.  
  2564. $avia_elements[] = array(
  2565. "name" => __("Blog Post Date", 'avia_framework'),
  2566. "desc" => __("Check to display", 'avia_framework'),
  2567. "id" => "blog-meta-date",
  2568. "type" => "checkbox",
  2569. "std" => "true",
  2570. "class" => "av_3col av_col_1",
  2571. "slug" => "blog");
  2572.  
  2573.  
  2574. $avia_elements[] = array(
  2575. "name" => __("Blog Post Allowed HTML Tags", 'avia_framework'),
  2576. "desc" => __("Check to display", 'avia_framework'),
  2577. "id" => "blog-meta-html-info",
  2578. "type" => "checkbox",
  2579. "std" => "true",
  2580. "class" => "av_3col av_col_2",
  2581. "slug" => "blog");
  2582.  
  2583. $avia_elements[] = array(
  2584. "name" => __("Blog Post Tags", 'avia_framework'),
  2585. "desc" => __("Check to display", 'avia_framework'),
  2586. "id" => "blog-meta-tag",
  2587. "type" => "checkbox",
  2588. "std" => "true",
  2589. "class" => "av_3col av_col_3",
  2590. "slug" => "blog");
  2591.  
  2592.  
  2593.  
  2594.  
  2595. $avia_elements[] = array("slug" => "blog", "type" => "visual_group_end", "id" => "avia_share_links_start", "nodescription" => true);
  2596.  
  2597. $avia_elements[] = array("slug" => "blog", "type" => "visual_group_start", "id" => "avia_share_links_start", "nodescription" => true);
  2598.  
  2599. $avia_elements[] = array( "name" => __("Share links at the bottom of your blog post", 'avia_framework'),
  2600. "desc" => __("The theme allows you to display share links to various social networks at the bottom of your blog posts. Check which links you want to display:", 'avia_framework'),
  2601. "id" => "widgetdescription",
  2602. "std" => "",
  2603. "slug" => "blog",
  2604. "type" => "heading",
  2605. "nodescription"=>true);
  2606.  
  2607.  
  2608. $avia_elements[] = array(
  2609. "name" => __("Facebook link", 'avia_framework'),
  2610. "desc" => __("Check to display", 'avia_framework'),
  2611. "id" => "share_facebook",
  2612. "type" => "checkbox",
  2613. "std" => "true",
  2614. "class" => "av_3col av_col_1",
  2615. "slug" => "blog");
  2616.  
  2617.  
  2618. $avia_elements[] = array(
  2619. "name" => __("Twitter link", 'avia_framework'),
  2620. "desc" => __("Check to display", 'avia_framework'),
  2621. "id" => "share_twitter",
  2622. "type" => "checkbox",
  2623. "std" => "true",
  2624. "class" => "av_3col av_col_2",
  2625. "slug" => "blog");
  2626.  
  2627. $avia_elements[] = array(
  2628. "name" => __("Pinterest link ", 'avia_framework'),
  2629. "desc" => __("Check to display", 'avia_framework'),
  2630. "id" => "share_pinterest",
  2631. "type" => "checkbox",
  2632. "std" => "true",
  2633. "class" => "av_3col av_col_2",
  2634. "slug" => "blog");
  2635.  
  2636.  
  2637.  
  2638.  
  2639. $avia_elements[] = array(
  2640. "name" => __("Google Plus link", 'avia_framework'),
  2641. "desc" => __("Check to display", 'avia_framework'),
  2642. "id" => "share_gplus",
  2643. "type" => "checkbox",
  2644. "std" => "true",
  2645. "class" => "av_3col av_col_1",
  2646. "slug" => "blog");
  2647.  
  2648.  
  2649. $avia_elements[] = array(
  2650. "name" => __("Reddit link", 'avia_framework'),
  2651. "desc" => __("Check to display", 'avia_framework'),
  2652. "id" => "share_reddit",
  2653. "type" => "checkbox",
  2654. "std" => "true",
  2655. "class" => "av_3col av_col_2",
  2656. "slug" => "blog");
  2657.  
  2658. $avia_elements[] = array(
  2659. "name" => __("Linkedin link ", 'avia_framework'),
  2660. "desc" => __("Check to display", 'avia_framework'),
  2661. "id" => "share_linkedin",
  2662. "type" => "checkbox",
  2663. "std" => "true",
  2664. "class" => "av_3col av_col_2",
  2665. "slug" => "blog");
  2666.  
  2667.  
  2668. $avia_elements[] = array(
  2669. "name" => __("Tumblr link", 'avia_framework'),
  2670. "desc" => __("Check to display", 'avia_framework'),
  2671. "id" => "share_tumblr",
  2672. "type" => "checkbox",
  2673. "std" => "true",
  2674. "class" => "av_3col av_col_1",
  2675. "slug" => "blog");
  2676.  
  2677. $avia_elements[] = array(
  2678. "name" => __("VK link", 'avia_framework'),
  2679. "desc" => __("Check to display", 'avia_framework'),
  2680. "id" => "share_vk",
  2681. "type" => "checkbox",
  2682. "std" => "true",
  2683. "class" => "av_3col av_col_2",
  2684. "slug" => "blog");
  2685.  
  2686.  
  2687. $avia_elements[] = array(
  2688. "name" => __("Email link", 'avia_framework'),
  2689. "desc" => __("Check to display", 'avia_framework'),
  2690. "id" => "share_mail",
  2691. "type" => "checkbox",
  2692. "std" => "true",
  2693. "class" => "av_3col av_col_2",
  2694. "slug" => "blog");
  2695.  
  2696.  
  2697.  
  2698.  
  2699.  
  2700.  
  2701.  
  2702. $avia_elements[] = array("slug" => "blog", "type" => "visual_group_end", "id" => "avia_share_links_end", "nodescription" => true);
  2703.  
  2704.  
  2705.  
  2706.  
  2707. $avia_elements[] = array( "name" => __("Import demo files", 'avia_framework'),
  2708. "desc" => __("If you are new to wordpress or have problems creating posts or pages that look like the Theme Demo you can import dummy posts and pages here that will definitely help to understand how those tasks are done.", 'avia_framework')."<br/><br/><strong class='av-text-notice'>".
  2709. __("Notice: If you want to completely remove a demo installation after importing it, you can use a plugin like", 'avia_framework')." <a target='_blank' href='https://wordpress.org/plugins/wordpress-reset/'>WordPress Reset</a></strong>"
  2710. ,
  2711. "id" => "widgetdescription",
  2712. "std" => "",
  2713. "slug" => "demo",
  2714. "type" => "heading",
  2715. "nodescription"=>true);
  2716.  
  2717.  
  2718. if(!current_theme_supports('avia_disable_dummy_import')){
  2719.  
  2720.  
  2721. $what_get = __("What you get:", 'avia_framework');
  2722. $online_demo = __("Online Demo", 'avia_framework');
  2723.  
  2724. $avia_elements[] = array(
  2725. "slug" => "demo",
  2726. "name" => __("Import: Default Demo", 'avia_framework'),
  2727. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold/' target='_blank'>{$online_demo}</a></strong></p>"
  2728. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  2729. ."<li><a href='http://woocommerce.com/?ref=84' target='_blank'>WooCommerce</a> ".__("(for shop functionality)", 'avia_framework')."</li>"
  2730. ."<li><a href='https://wordpress.org/plugins/bbpress/' target='_blank'>BBPress</a> ".__("(for forum functionality)", 'avia_framework')."</li>"
  2731. ."</ul>"
  2732. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  2733. ."<li>".__("A few", 'avia_framework')."</li>"
  2734. ."</ul>",
  2735. "id" => "import",
  2736. "type" => "import",
  2737. "image" => "includes/admin/demo_files/demo_images/default.jpg"
  2738. );
  2739.  
  2740.  
  2741. $avia_elements[] = array(
  2742. "slug" => "demo",
  2743. "name" => __("Import: Enfold 2017", 'avia_framework'),
  2744. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-2017/' target='_blank'>{$online_demo}</a></strong></p>"
  2745. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  2746. ."<li><a href='http://woocommerce.com/?ref=84' target='_blank'>WooCommerce</a> ".__("(for shop functionality)", 'avia_framework')."</li>"
  2747. ."<li><a href='https://wordpress.org/plugins/bbpress/' target='_blank'>BBPress</a> ".__("(for forum functionality)", 'avia_framework')."</li>"
  2748. ."</ul>"
  2749. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  2750. ."<li>".__("All", 'avia_framework')."</li>"
  2751. ."</ul>",
  2752. 'files' => "/includes/admin/demo_files/enfold-2017",
  2753. "id" => "import",
  2754. "type" => "import",
  2755. "image" => "includes/admin/demo_files/demo_images/enfold-2017.jpg"
  2756. );
  2757.  
  2758.  
  2759. $avia_elements[] = array(
  2760. "slug" => "demo",
  2761. "name" => __("Import: Small Business - Flat Demo", 'avia_framework'),
  2762. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-business-flat/' target='_blank'>{$online_demo}</a></strong></p>"
  2763. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  2764. ."<li>".__("None", 'avia_framework')."</li>"
  2765. ."</ul>"
  2766. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  2767. ."<li>".__("All", 'avia_framework')."</li>"
  2768. ."</ul>",
  2769. 'files' => "/includes/admin/demo_files/business-flat",
  2770. "id" => "import",
  2771. "type" => "import",
  2772. "image" => "includes/admin/demo_files/demo_images/business-flat.jpg"
  2773. );
  2774.  
  2775. $avia_elements[] = array(
  2776. "slug" => "demo",
  2777. "name" => __("Import: Startup Business Demo", 'avia_framework'),
  2778. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-startup/' target='_blank'>{$online_demo}</a></strong></p>"
  2779. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  2780. ."<li>".__("None", 'avia_framework')."</li>"
  2781. ."</ul>"
  2782. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  2783. ."<li>".__("All", 'avia_framework')."</li>"
  2784. ."</ul>",
  2785. 'files' => "/includes/admin/demo_files/startup",
  2786. "id" => "import",
  2787. "type" => "import",
  2788. "image" => "includes/admin/demo_files/demo_images/startup.jpg"
  2789. );
  2790.  
  2791.  
  2792. $avia_elements[] = array(
  2793. "slug" => "demo",
  2794. "name" => __("Import: One Page Portfolio Demo", 'avia_framework'),
  2795. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-one-page-portfolio/' target='_blank'>{$online_demo}</a></strong></p>"
  2796. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  2797. ."<li>".__("None", 'avia_framework')."</li>"
  2798. ."</ul>"
  2799. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  2800. ."<li>".__("All", 'avia_framework')."</li>"
  2801. ."</ul>",
  2802. 'files' => "/includes/admin/demo_files/portfolio-one-page",
  2803. "id" => "import",
  2804. "type" => "import",
  2805. "image" => "includes/admin/demo_files/demo_images/one-page-portfolio.jpg"
  2806. );
  2807.  
  2808.  
  2809. $avia_elements[] = array(
  2810. "slug" => "demo",
  2811. "name" => __("Import: Minimal Portfolio Demo", 'avia_framework'),
  2812. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-minimal-portfolio/' target='_blank'>{$online_demo}</a></strong></p>"
  2813. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  2814. ."<li>".__("None", 'avia_framework')."</li>"
  2815. ."</ul>"
  2816. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  2817. ."<li>".__("All", 'avia_framework')."</li>"
  2818. ."</ul>",
  2819. 'files' => "/includes/admin/demo_files/portfolio-minimal",
  2820. "id" => "import",
  2821. "type" => "import",
  2822. "image" => "includes/admin/demo_files/demo_images/portfolio-minimal.jpg"
  2823. );
  2824.  
  2825.  
  2826.  
  2827.  
  2828. $avia_elements[] = array(
  2829. "slug" => "demo",
  2830. "name" => __("Import: Photography Portfolio Demo", 'avia_framework'),
  2831. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-photography/' target='_blank'>{$online_demo}</a></strong></p>"
  2832. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  2833. ."<li><a href='http://woocommerce.com/?ref=84' target='_blank'>WooCommerce</a> ".__("(if you want to sell photos online)", 'avia_framework')."</li>"
  2834. ."</ul>"
  2835. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  2836. ."<li>".__("All", 'avia_framework')."</li>"
  2837. ."</ul>",
  2838. 'files' => "/includes/admin/demo_files/photography",
  2839. "id" => "import",
  2840. "type" => "import",
  2841. "image" => "includes/admin/demo_files/demo_images/photography.jpg"
  2842. );
  2843.  
  2844. $avia_elements[] = array(
  2845. "slug" => "demo",
  2846. "name" => __("Import: Minimal Photography Demo", 'avia_framework'),
  2847. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-minimal-photography/' target='_blank'>{$online_demo}</a></strong></p>"
  2848. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  2849. ."<li>".__("None", 'avia_framework')."</li>"
  2850. ."</ul>"
  2851. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  2852. ."<li>".__("All", 'avia_framework')."</li>"
  2853. ."</ul>",
  2854. 'files' => "/includes/admin/demo_files/minimal-photography",
  2855. "id" => "import",
  2856. "type" => "import",
  2857. "image" => "includes/admin/demo_files/demo_images/minimal-photography.jpg"
  2858. );
  2859.  
  2860.  
  2861. $avia_elements[] = array(
  2862. "slug" => "demo",
  2863. "name" => __("Import: Dark Photography Demo", 'avia_framework'),
  2864. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-dark-photography/' target='_blank'>{$online_demo}</a></strong></p>"
  2865. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  2866. ."<li>".__("None", 'avia_framework')."</li>"
  2867. ."</ul>"
  2868. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  2869. ."<li>".__("All", 'avia_framework')."</li>"
  2870. ."</ul>",
  2871. 'files' => "/includes/admin/demo_files/dark-photography",
  2872. "id" => "import",
  2873. "type" => "import",
  2874. "image" => "includes/admin/demo_files/demo_images/dark-photography.jpg"
  2875. );
  2876.  
  2877.  
  2878.  
  2879.  
  2880.  
  2881. $avia_elements[] = array(
  2882. "slug" => "demo",
  2883. "name" => __("Import: Creative Studio Demo", 'avia_framework'),
  2884. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-creative-studio/' target='_blank'>{$online_demo}</a></strong></p>"
  2885. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  2886. ."<li>".__("None", 'avia_framework')."</li>"
  2887. ."</ul>"
  2888. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  2889. ."<li>".__("All", 'avia_framework')."</li>"
  2890. ."</ul>",
  2891. 'files' => "/includes/admin/demo_files/creative-studio",
  2892. "id" => "import",
  2893. "type" => "import",
  2894. "image" => "includes/admin/demo_files/demo_images/creative-studio.jpg"
  2895. );
  2896.  
  2897.  
  2898.  
  2899.  
  2900.  
  2901.  
  2902. $avia_elements[] = array(
  2903. "slug" => "demo",
  2904. "name" => __("Import: Medical Demo", 'avia_framework'),
  2905. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-medical/' target='_blank'>{$online_demo}</a></strong></p>"
  2906. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  2907. ."<li>".__("None", 'avia_framework')."</li>"
  2908. ."</ul>"
  2909. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  2910. ."<li>".__("All", 'avia_framework')."</li>"
  2911. ."</ul>",
  2912. 'files' => "/includes/admin/demo_files/medical",
  2913. "id" => "import",
  2914. "type" => "import",
  2915. "image" => "includes/admin/demo_files/demo_images/medical.jpg"
  2916. );
  2917.  
  2918.  
  2919.  
  2920. $avia_elements[] = array(
  2921. "slug" => "demo",
  2922. "name" => __("Import: Shop Demo", 'avia_framework'),
  2923. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-shop/' target='_blank'>{$online_demo}</a></strong></p>"
  2924. ."<h4 class='av-before-plugins'>".__("Required Plugins:", 'avia_framework')."</h4><ul>"
  2925. ."<li><a href='http://woocommerce.com/?ref=84' target='_blank'>WooCommerce</a> ".__("(needs to be active to install the demo)", 'avia_framework')."</li>"
  2926. ."</ul>"
  2927. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  2928. ."<li>".__("All", 'avia_framework')."</li>"
  2929. ."</ul>",
  2930. 'files' => "/includes/admin/demo_files/shop",
  2931. "id" => "import",
  2932. "type" => "import",
  2933. "exists" => array("WooCommerce",__("The WooCommerce Plugin is currently not active. Please install and activate it, then reload this page in order to be able to import this demo", 'avia_framework')),
  2934. "image" => "includes/admin/demo_files/demo_images/shop.jpg"
  2935. );
  2936.  
  2937.  
  2938.  
  2939.  
  2940.  
  2941.  
  2942. $avia_elements[] = array(
  2943. "slug" => "demo",
  2944. "name" => __("Import: Restaurant Demo", 'avia_framework'),
  2945. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-restaurant/' target='_blank'>{$online_demo}</a></strong></p>"
  2946. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  2947. ."<li><a href='http://woocommerce.com/?ref=84' target='_blank'>WooCommerce</a> ".__("(if you want to provide online ordering and delivery)", 'avia_framework')."</li>"
  2948. ."</ul>"
  2949. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  2950. ."<li>".__("All", 'avia_framework')."</li>"
  2951. ."</ul>",
  2952. 'files' => "/includes/admin/demo_files/restaurant",
  2953. "id" => "import",
  2954. "type" => "import",
  2955. "image" => "includes/admin/demo_files/demo_images/restaurant.jpg"
  2956. );
  2957.  
  2958. $avia_elements[] = array(
  2959. "slug" => "demo",
  2960. "name" => __("Import: Restaurant One Page Demo", 'avia_framework'),
  2961. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-restaurant-one-page/' target='_blank'>{$online_demo}</a></strong></p>"
  2962. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  2963. ."<li><a href='http://woocommerce.com/?ref=84' target='_blank'>WooCommerce</a> ".__("(if you want to provide online ordering and delivery)", 'avia_framework')."</li>"
  2964. ."</ul>"
  2965. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  2966. ."<li>".__("All", 'avia_framework')."</li>"
  2967. ."</ul>",
  2968. 'files' => "/includes/admin/demo_files/restaurant-one-page",
  2969. "id" => "import",
  2970. "type" => "import",
  2971. "image" => "includes/admin/demo_files/demo_images/restaurant-onepage.jpg"
  2972. );
  2973.  
  2974. $avia_elements[] = array(
  2975. "slug" => "demo",
  2976. "name" => __("Import: One Page Wedding Demo", 'avia_framework'),
  2977. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-wedding/' target='_blank'>{$online_demo}</a></strong></p>"
  2978. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  2979. ."<li>".__("None", 'avia_framework')."</li>"
  2980. ."</ul>"
  2981. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  2982. ."<li>".__("All", 'avia_framework')."</li>"
  2983. ."</ul>",
  2984. 'files' => "/includes/admin/demo_files/wedding",
  2985. "id" => "import",
  2986. "type" => "import",
  2987. "image" => "includes/admin/demo_files/demo_images/wedding.jpg"
  2988. );
  2989.  
  2990. $avia_elements[] = array(
  2991. "slug" => "demo",
  2992. "name" => __("Import: Construction Demo", 'avia_framework'),
  2993. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-construction/' target='_blank'>{$online_demo}</a></strong></p>"
  2994. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  2995. ."<li>".__("None", 'avia_framework')."</li>"
  2996. ."</ul>"
  2997. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  2998. ."<li>".__("All", 'avia_framework')."</li>"
  2999. ."</ul>",
  3000. 'files' => "/includes/admin/demo_files/construction",
  3001. "id" => "import",
  3002. "type" => "import",
  3003. "image" => "includes/admin/demo_files/demo_images/construction.jpg"
  3004. );
  3005.  
  3006.  
  3007.  
  3008. $avia_elements[] = array(
  3009. "slug" => "demo",
  3010. "name" => __("Import: Church Demo", 'avia_framework'),
  3011. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-church/' target='_blank'>{$online_demo}</a></strong></p>"
  3012. ."<h4 class='av-before-plugins'>".__("Required Plugins:", 'avia_framework')."</h4><ul>"
  3013. ."<li><a href='https://wordpress.org/plugins/the-events-calendar/' target='_blank'>The Events Calendar</a> "
  3014. .__("(needs to be active to install the demo)", 'avia_framework')."</li>"
  3015. ."<li>or <a href='http://mbsy.co/6cr37' target='_blank'>The Events Calendar PRO</a></li>"
  3016. ."</ul>"
  3017. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  3018. ."<li>".__("All", 'avia_framework')."</li>"
  3019. ."</ul>",
  3020.  
  3021. 'files' => "/includes/admin/demo_files/church",
  3022. "id" => "import",
  3023. "type" => "import",
  3024. "exists" => array("Tribe__Events__Main",__("The Events Calendar Plugin is currently not active. Please install and activate it, then reload this page in order to be able to import this demo", 'avia_framework')),
  3025. "image" => "includes/admin/demo_files/demo_images/church.jpg"
  3026. );
  3027.  
  3028.  
  3029. $avia_elements[] = array(
  3030. "slug" => "demo",
  3031. "name" => __("Import: Simple Blog Demo", 'avia_framework'),
  3032. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-blog/' target='_blank'>{$online_demo}</a></strong></p>"
  3033. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  3034. ."<li>".__("None", 'avia_framework')."</li>"
  3035. ."</ul>"
  3036. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  3037. ."<li>".__("All", 'avia_framework')."</li>"
  3038. ."</ul>",
  3039. 'files' => "/includes/admin/demo_files/blog",
  3040. "id" => "import",
  3041. "type" => "import",
  3042. "image" => "includes/admin/demo_files/demo_images/blog.jpg"
  3043. );
  3044.  
  3045.  
  3046.  
  3047. $avia_elements[] = array(
  3048. "slug" => "demo",
  3049. "name" => __("Import: Lifestyle Blog Demo", 'avia_framework'),
  3050. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-lifestyle-blog/' target='_blank'>{$online_demo}</a></strong></p>"
  3051. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  3052. ."<li>".__("None", 'avia_framework')."</li>"
  3053. ."</ul>"
  3054. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  3055. ."<li>".__("All", 'avia_framework')."</li>"
  3056. ."</ul>",
  3057. 'files' => "/includes/admin/demo_files/blog-lifestyle",
  3058. "id" => "import",
  3059. "type" => "import",
  3060. "image" => "includes/admin/demo_files/demo_images/blog-lifestyle.jpg"
  3061. );
  3062.  
  3063.  
  3064. $avia_elements[] = array(
  3065. "slug" => "demo",
  3066. "name" => __("Import: 'Coming Soon' Demo", 'avia_framework'),
  3067. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-coming-soon/' target='_blank'>{$online_demo}</a></strong></p>"
  3068. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  3069. ."<li>".__("None", 'avia_framework')."</li>"
  3070. ."</ul>"
  3071. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  3072. ."<li>".__("All", 'avia_framework')."</li>"
  3073. ."</ul>",
  3074. 'files' => "/includes/admin/demo_files/coming_soon",
  3075. "id" => "import",
  3076. "type" => "import",
  3077. "image" => "includes/admin/demo_files/demo_images/coming-soon.jpg"
  3078. );
  3079.  
  3080.  
  3081. $avia_elements[] = array(
  3082. "slug" => "demo",
  3083. "name" => __("Import: 'Landin Page' Demo", 'avia_framework'),
  3084. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-landing-page/' target='_blank'>{$online_demo}</a></strong></p>"
  3085. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  3086. ."<li>".__("None", 'avia_framework')."</li>"
  3087. ."</ul>"
  3088. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  3089. ."<li>".__("All", 'avia_framework')."</li>"
  3090. ."</ul>",
  3091. 'files' => "/includes/admin/demo_files/landing",
  3092. "id" => "import",
  3093. "type" => "import",
  3094. "image" => "includes/admin/demo_files/demo_images/landing.jpg"
  3095. );
  3096.  
  3097.  
  3098. $avia_elements[] = array(
  3099. "slug" => "demo",
  3100. "name" => __("Import: Travel Demo", 'avia_framework'),
  3101. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-travel/' target='_blank'>{$online_demo}</a></strong></p>"
  3102. ."<h4 class='av-before-plugins'>".__("Required Plugins:", 'avia_framework')."</h4><ul>"
  3103. ."<li><a href='http://woocommerce.com/?ref=84' target='_blank'>WooCommerce</a> ".__("(needs to be active to install the demo)", 'avia_framework')."</li>"
  3104. ."</ul>"
  3105. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  3106. ."<li><a href='https://woocommerce.com/products/woocommerce-bookings/?ref=84' target='_blank'>WooCommerce Bookings</a> ".__("(needs to be active to allow date based bookings)", 'avia_framework')."</li>"
  3107. ."</ul>"
  3108. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  3109. ."<li>".__("All", 'avia_framework')."</li>"
  3110. ."</ul>",
  3111. 'files' => "/includes/admin/demo_files/travel",
  3112. "id" => "import",
  3113. "type" => "import",
  3114. "exists" => array("WooCommerce",__("The WooCommerce Plugin is currently not active. Please install and activate it, then reload this page in order to be able to import this demo", 'avia_framework')),
  3115. "image" => "includes/admin/demo_files/demo_images/travel.jpg"
  3116. );
  3117.  
  3118.  
  3119. $avia_elements[] = array(
  3120. "slug" => "demo",
  3121. "name" => __("Import: Hotel Demo", 'avia_framework'),
  3122. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-hotel/' target='_blank'>{$online_demo}</a></strong></p>"
  3123. ."<h4 class='av-before-plugins'>".__("Required Plugins:", 'avia_framework')."</h4><ul>"
  3124. ."<li><a href='http://woocommerce.com/?ref=84' target='_blank'>WooCommerce</a> ".__("(needs to be active to install the demo)", 'avia_framework')."</li>"
  3125. ."</ul>"
  3126. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  3127. ."<li><a href='https://woocommerce.com/products/woocommerce-bookings/?ref=84' target='_blank'>WooCommerce Bookings</a> ".__("(needs to be active to allow date based bookings)", 'avia_framework')."</li>"
  3128. ."</ul>"
  3129. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  3130. ."<li>".__("All", 'avia_framework')."</li>"
  3131. ."</ul>",
  3132. 'files' => "/includes/admin/demo_files/hotel",
  3133. "id" => "import",
  3134. "type" => "import",
  3135. "exists" => array("WooCommerce",__("The WooCommerce Plugin is currently not active. Please install and activate it, then reload this page in order to be able to import this demo", 'avia_framework')),
  3136. "image" => "includes/admin/demo_files/demo_images/hotel.jpg"
  3137. );
  3138.  
  3139.  
  3140. $avia_elements[] = array(
  3141. "slug" => "demo",
  3142. "name" => __("Import: Spa Demo", 'avia_framework'),
  3143. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-spa/' target='_blank'>{$online_demo}</a></strong></p>"
  3144. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  3145. ."<li><a href='http://woocommerce.com/?ref=84' target='_blank'>WooCommerce</a></li>"
  3146. ."<li><a href='https://woocommerce.com/products/woocommerce-bookings/?ref=84' target='_blank'>WooCommerce Bookings</a> ".__("(needs to be active to allow date based bookings)", 'avia_framework')."</li>"
  3147. ."</ul>"
  3148. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  3149. ."<li>".__("All", 'avia_framework')."</li>"
  3150. ."</ul>",
  3151. 'files' => "/includes/admin/demo_files/spa",
  3152. "id" => "import",
  3153. "type" => "import",
  3154. "image" => "includes/admin/demo_files/demo_images/spa.jpg"
  3155. );
  3156.  
  3157. $avia_elements[] = array(
  3158. "slug" => "demo",
  3159. "name" => __("Import: Consulting Demo", 'avia_framework'),
  3160. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-consulting/' target='_blank'>{$online_demo}</a></strong></p>"
  3161. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  3162. ."<li>".__("None", 'avia_framework')."</li>"
  3163. ."</ul>"
  3164. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  3165. ."<li>".__("All", 'avia_framework')."</li>"
  3166. ."</ul>",
  3167. 'files' => "/includes/admin/demo_files/consulting",
  3168. "id" => "import",
  3169. "type" => "import",
  3170. "image" => "includes/admin/demo_files/demo_images/consulting.jpg"
  3171. );
  3172.  
  3173.  
  3174. $avia_elements[] = array(
  3175. "slug" => "demo",
  3176. "name" => __("Import: Résumé Demo", 'avia_framework'),
  3177. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-resume/' target='_blank'>{$online_demo}</a></strong></p>"
  3178. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  3179. ."<li>".__("None", 'avia_framework')."</li>"
  3180. ."</ul>"
  3181. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  3182. ."<li>".__("All", 'avia_framework')."</li>"
  3183. ."</ul>",
  3184. 'files' => "/includes/admin/demo_files/resume",
  3185. "id" => "import",
  3186. "type" => "import",
  3187. "image" => "includes/admin/demo_files/demo_images/resume.jpg"
  3188. );
  3189.  
  3190.  
  3191. $avia_elements[] = array(
  3192. "slug" => "demo",
  3193. "name" => __("Import: GYM Demo", 'avia_framework'),
  3194. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-gym/' target='_blank'>{$online_demo}</a></strong></p>"
  3195. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  3196. ."<li>".__("None", 'avia_framework')."</li>"
  3197. ."</ul>"
  3198. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  3199. ."<li>".__("All", 'avia_framework')."</li>"
  3200. ."</ul>",
  3201. 'files' => "/includes/admin/demo_files/gym",
  3202. "id" => "import",
  3203. "type" => "import",
  3204. "image" => "includes/admin/demo_files/demo_images/gym.jpg"
  3205. );
  3206.  
  3207.  
  3208. $avia_elements[] = array(
  3209. "slug" => "demo",
  3210. "name" => __("Import: Health Demo", 'avia_framework'),
  3211. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-health-coach/' target='_blank'>{$online_demo}</a></strong></p>"
  3212. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  3213. ."<li>".__("None", 'avia_framework')."</li>"
  3214. ."</ul>"
  3215. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  3216. ."<li>".__("All", 'avia_framework')."</li>"
  3217. ."</ul>",
  3218. 'files' => "/includes/admin/demo_files/health",
  3219. "id" => "import",
  3220. "type" => "import",
  3221. "image" => "includes/admin/demo_files/demo_images/health.jpg"
  3222. );
  3223.  
  3224. $avia_elements[] = array(
  3225. "slug" => "demo",
  3226. "name" => __("Import: App Demo", 'avia_framework'),
  3227. "desc" => "<p><strong>{$what_get} <a href='http://www.kriesi.at/themes/enfold-app/' target='_blank'>{$online_demo}</a></strong></p>"
  3228. ."<h4 class='av-before-plugins'>".__("Recommended Plugins:", 'avia_framework')."</h4><ul>"
  3229. ."<li>".__("None", 'avia_framework')."</li>"
  3230. ."</ul>"
  3231. ."<h4 class='av-before-plugins'>".__("Demo Images included:", 'avia_framework')."</h4><ul>"
  3232. ."<li>".__("All", 'avia_framework')."</li>"
  3233. ."</ul>",
  3234. 'files' => "/includes/admin/demo_files/app",
  3235. "id" => "import",
  3236. "type" => "import",
  3237. "image" => "includes/admin/demo_files/demo_images/app.jpg"
  3238. );
  3239.  
  3240.  
  3241.  
  3242.  
  3243.  
  3244.  
  3245. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement