Guest User

Untitled

a guest
Jan 22nd, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 84.13 KB | None | 0 0
  1. <?php
  2. /**
  3. * Theme Settings - All the relevant options!
  4. *
  5. * @see Bunyad_Options
  6. * @see Bunyad_Theme_Customizer
  7. */
  8.  
  9.  
  10. $info = <<<EOF
  11.  
  12. <p>To get up and running with the theme, start with <a href="http://cheerup.theme-sphere.com/documentation/" target="_blank">theme documentation</a>.</p>
  13.  
  14. <p>Resources:</p>
  15. <ul>
  16. <li>- <a href="http://cheerup.theme-sphere.com/documentation/" target="_blank">Documentation</a></li>
  17. <li>- <a href="http://theme-sphere.com" target="_blank">Theme Support</a></li>
  18. <li>- <a href="http://theme-sphere.com/feedback/" target="_blank">Suggestions & Feedback?</a> (We want to know if your experience has been pleasant)</li>
  19. </ul>
  20.  
  21. EOF;
  22.  
  23. return apply_filters('bunyad_theme_options', array(
  24.  
  25. array(
  26. 'sections' => array(
  27. array(
  28. 'id' => 'welcome',
  29. 'title' => esc_html_x('Theme Intro & Help', 'Admin', 'cheerup'),
  30. 'fields' => array(
  31.  
  32. array(
  33. 'name' => '',
  34. 'type' => 'content',
  35. 'text' => $info
  36. ),
  37. ) // fields
  38.  
  39. ) // section
  40.  
  41. ) // sections
  42.  
  43. ), // pseudo panel
  44.  
  45. array(
  46. 'sections' => array(
  47. array(
  48. 'id' => 'select-skin',
  49. 'title' => esc_html_x('Change Skin', 'Admin', 'cheerup'),
  50. 'fields' => array(
  51.  
  52. array(
  53. 'name' => 'predefined_style',
  54. 'label' => esc_html_x('Select the Skin', 'Admin', 'cheerup'),
  55. 'value' => '',
  56. 'desc' => esc_html_x('NOTE: Changing from or to Magazine skin REQUIRES installing Regenerate Thumbnails plugin and running it from Tools > Regen. Thumbnails.', 'Admin', 'cheerup'),
  57. 'type' => 'radio',
  58. 'options' => array(
  59. '' => esc_html_x('General', 'Admin', 'cheerup'),
  60. 'beauty' => esc_html_x('Beauty', 'Admin', 'cheerup'),
  61. 'trendy' => esc_html_x('Trendy', 'Admin', 'cheerup'),
  62. 'miranda' => esc_html_x('Miranda / Lifestyle', 'Admin', 'cheerup'),
  63. 'rovella' => esc_html_x('Rovella', 'Admin', 'cheerup'),
  64. 'travel' => esc_html_x('Travel', 'Admin', 'cheerup'),
  65. 'magazine' => esc_html_x('Magazine', 'Admin', 'cheerup'),
  66. 'bold' => esc_html_x('Bold Blog', 'Admin', 'cheerup'),
  67. ),
  68. ),
  69. ) // fields
  70.  
  71. ) // section
  72.  
  73. ) // sections
  74.  
  75. ), // pseudo panel
  76.  
  77. array(
  78. 'title' => esc_html_x('Homepage', 'Admin', 'cheerup'),
  79. 'id' => 'options-homepage',
  80. 'sections' => array(
  81.  
  82. array(
  83. 'id' => 'home-layout',
  84. 'title' => esc_html_x('Home Layout', 'Admin', 'cheerup'),
  85. 'fields' => array(
  86.  
  87. array(
  88. 'name' => 'home_layout',
  89. 'label' => esc_html_x('Home Layout', 'Admin', 'cheerup'),
  90. 'value' => '',
  91. 'desc' => '',
  92. 'type' => 'radio',
  93. 'options' => array(
  94. '' => esc_html_x('Classic Large Posts', 'Admin', 'cheerup'),
  95. 'assorted' => esc_html_x('Assorted - (Large Post + Sidebar, Shop, Grid + Sidebar)', 'Admin', 'cheerup'),
  96. 'loop-1st-large' => esc_html_x('One Large Post + Grid', 'Admin', 'cheerup'),
  97. 'loop-1st-large-list' => esc_html_x('One Large Post + List', 'Admin', 'cheerup'),
  98. 'loop-1st-overlay' => esc_html_x('One Overlay Post + Grid', 'Admin', 'cheerup'),
  99. 'loop-1st-overlay-list' => esc_html_x('One Overlay Post + List', 'Admin', 'cheerup'),
  100.  
  101. 'loop-1-2' => esc_html_x('Mixed: Large Post + 2 Grid ', 'Admin', 'cheerup'),
  102. 'loop-1-2-list' => esc_html_x('Mixed: Large Post + 2 List ', 'Admin', 'cheerup'),
  103.  
  104. 'loop-1-2-overlay' => esc_html_x('Mixed: Overlay Post + 2 Grid ', 'Admin', 'cheerup'),
  105. 'loop-1-2-overlay-list' => esc_html_x('Mixed: Overlay Post + 2 List ', 'Admin', 'cheerup'),
  106.  
  107.  
  108. 'loop-list' => esc_html_x('List Posts', 'Admin', 'cheerup'),
  109. 'loop-grid' => esc_html_x('Grid Posts', 'Admin', 'cheerup'),
  110. 'loop-grid-3' => esc_html_x('Grid Posts (3 Columns)', 'Admin', 'cheerup'),
  111. ),
  112. ),
  113.  
  114. array(
  115. 'name' => 'home_grid_large_info',
  116. 'label' => esc_html_x('Grid / Large Post Style', 'Admin', 'cheerup'),
  117. 'type' => 'content',
  118. 'text' => sprintf(
  119. esc_html_x('There are multiple grid/large post styles. You can select the Grid posts and Large post styles by going back and to %1$sPosts & Listings > Post Listings%2$s.', 'Admin', 'cheerup'),
  120. '<a href="#" class="focus-link" data-section="posts-listings">', '</a>'
  121. )
  122. ),
  123.  
  124. array(
  125. 'name' => 'home_sidebar',
  126. 'label' => esc_html_x('Home Sidebar', 'Admin', 'cheerup'),
  127. 'value' => 'right',
  128. 'desc' => '',
  129. 'type' => 'radio',
  130. 'options' => array(
  131. 'none' => esc_html_x('No Sidebar', 'Admin', 'cheerup'),
  132. 'right' => esc_html_x('Right Sidebar', 'Admin', 'cheerup')
  133. ),
  134. ),
  135.  
  136. array(
  137. 'name' => 'home_posts_limit',
  138. 'label' => esc_html_x('Number of Posts', 'Admin', 'cheerup'),
  139. 'value' => get_option('posts_per_page'),
  140. 'desc' => esc_html_x('When you wish to use different posts per page from global setting in Settings > Reading which applies to all archives too.', 'Admin', 'cheerup'),
  141. 'type' => 'number'
  142. ),
  143.  
  144. ), // fields
  145.  
  146. ), // section
  147.  
  148. array(
  149. 'id' => 'home-slider',
  150. 'title' => esc_html_x('Home Slider', 'Admin', 'cheerup'),
  151. 'fields' => array(
  152. array(
  153. 'name' => 'home_slider',
  154. 'label' => esc_html_x('Slider on Home', 'Admin', 'cheerup'),
  155. 'value' => '',
  156. 'desc' => '',
  157. 'type' => 'select',
  158. 'options' => array(
  159. '' => esc_html_x('Disabled', 'Admin', 'cheerup'),
  160. 'stylish' => esc_html_x('Stylish (3 images)', 'Admin', 'cheerup'),
  161. 'default' => esc_html_x('Classic Slider (3 Images)', 'Admin', 'cheerup'),
  162. 'beauty' => esc_html_x('Beauty (Single Image)', 'Admin', 'cheerup'),
  163. 'trendy' => esc_html_x('Trendy (2 Images)', 'Admin', 'cheerup'),
  164. 'large' => esc_html_x('Large Full Width', 'Admin', 'cheerup'),
  165. 'grid' => esc_html_x('Grid (1 Large + 2 small)', 'Admin', 'cheerup'),
  166. 'grid-tall' => esc_html_x('Tall Grid (1 Large + 2 small)', 'Admin', 'cheerup'),
  167. 'carousel' => esc_html_x('Carousel (3 Small Posts)', 'Admin', 'cheerup'),
  168. 'bold' => esc_html_x('Bold Full Width', 'Admin', 'cheerup'),
  169. ),
  170. ),
  171.  
  172.  
  173. array(
  174. 'name' => 'slider_posts',
  175. 'label' => esc_html_x('Slider Post Count', 'Admin', 'cheerup'),
  176. 'value' => 6,
  177. 'desc' => esc_html_x('Total number of posts for slider.', 'Admin', 'cheerup'),
  178. 'type' => 'number',
  179. ),
  180.  
  181. array(
  182. 'name' => 'slider_tag',
  183. 'label' => esc_html_x('Slider Posts Tag', 'Admin', 'cheerup'),
  184. 'value' => 'featured',
  185. 'desc' => esc_html_x('Posts with this tag will be shown in the slider. Leaving it empty will show latest posts.', 'Admin', 'cheerup'),
  186. 'type' => 'text',
  187. ),
  188.  
  189. array(
  190. 'name' => 'slider_post_ids',
  191. 'label' => esc_html_x('Slider Post IDs', 'Admin', 'cheerup'),
  192. 'value' => '',
  193. 'desc' => esc_html_x('Advance Usage: Enter post ids separated by comma you wish to show in the slider, in order you wish to show them in. Example: 11, 105, 2', 'Admin', 'cheerup'),
  194. 'type' => 'text',
  195. ),
  196.  
  197. array(
  198. 'name' => 'slider_parallax',
  199. 'label' => esc_html_x('Enable Parallax Effect?', 'Admin', 'cheerup'),
  200. 'value' => 0,
  201. 'desc' => '',
  202. 'type' => 'checkbox',
  203. ),
  204.  
  205. array(
  206. 'name' => 'slider_autoplay',
  207. 'label' => esc_html_x('Slider Autoplay', 'Admin', 'cheerup'),
  208. 'value' => 0,
  209. 'desc' => '',
  210. 'type' => 'checkbox',
  211. ),
  212.  
  213. array(
  214. 'name' => 'slider_animation',
  215. 'label' => esc_html_x('Slider Animation', 'Admin', 'cheerup'),
  216. 'value' => 'fade',
  217. 'desc' => '',
  218. 'type' => 'radio',
  219. 'options' => array(
  220. 'fade' => esc_html_x('Fade Animation', 'Admin', 'cheerup'),
  221. 'slide' => esc_html_x('Slide Animation', 'Admin', 'cheerup'),
  222. ),
  223. 'context' => array('control' => array('key' => 'home_slider', 'value' => array('beauty', 'large', 'bold')))
  224. ),
  225.  
  226. array(
  227. 'name' => 'slider_delay',
  228. 'label' => esc_html_x('Slide Autoplay Delay', 'Admin', 'cheerup'),
  229. 'value' => 5000,
  230. 'desc' => '',
  231. 'type' => 'number',
  232. 'input_attrs' => array('min' => 500, 'max' => 50000, 'step' => 500),
  233. ),
  234.  
  235. ), // fields
  236. ), // section
  237.  
  238.  
  239. array(
  240. 'id' => 'home-carousel',
  241. 'title' => esc_html_x('Home Carousel', 'Admin', 'cheerup'),
  242. 'fields' => array(
  243.  
  244. array(
  245. 'name' => 'home_carousel',
  246. 'label' => esc_html_x('Enable Posts Carousel On Home', 'Admin', 'cheerup'),
  247. 'value' => 0,
  248. 'desc' => esc_html_x('Will show a posts carousel below main slider.', 'Admin', 'cheerup'),
  249. 'type' => 'checkbox',
  250. ),
  251.  
  252. array(
  253. 'name' => 'home_carousel_style',
  254. 'label' => esc_html_x('Carousel Style', 'Admin', 'cheerup'),
  255. 'value' => '',
  256. 'desc' => '',
  257. 'type' => 'select',
  258. 'options' => array(
  259. '' => esc_html_x('Default - 4 Images', 'Admin', 'cheerup'),
  260. 'style-b' => esc_html_x('Style B - 3 Images and Boxed', 'Admin', 'cheerup'),
  261. ),
  262. ),
  263.  
  264. array(
  265. 'name' => 'home_carousel_posts',
  266. 'label' => esc_html_x('Home Carousel Posts', 'Admin', 'cheerup'),
  267. 'value' => 8,
  268. 'desc' => '',
  269. 'type' => 'number',
  270. ),
  271.  
  272. array(
  273. 'name' => 'home_carousel_title',
  274. 'label' => esc_html_x('Home Carousel Title', 'Admin', 'cheerup'),
  275. 'value' => esc_html__('Most Popular', 'cheerup'),
  276. 'desc' => '',
  277. 'type' => 'text',
  278. ),
  279.  
  280. array(
  281. 'name' => 'home_carousel_type',
  282. 'label' => esc_html_x('Home Carousel Type', 'Admin', 'cheerup'),
  283. 'value' => 'posts',
  284. 'desc' => '',
  285. 'type' => 'select',
  286. 'options' => array(
  287. 'liked' => esc_html_x('Most Liked', 'Admin', 'cheerup'),
  288. 'posts' => esc_html_x('Latest / By Tag', 'Admin', 'cheerup'),
  289. ),
  290. ),
  291.  
  292. array(
  293. 'name' => 'home_carousel_tag',
  294. 'label' => esc_html_x('Home Carousel Tag - Optional', 'Admin', 'cheerup'),
  295. 'value' => '',
  296. 'desc' => '',
  297. 'type' => 'text',
  298. 'content' => array('control' => array('key' => 'home_carousel_type', 'value' => 'posts'))
  299. ),
  300.  
  301. ), // fields
  302. ), // section
  303.  
  304.  
  305.  
  306. array(
  307. 'id' => 'home-subscribe',
  308. 'title' => esc_html_x('Home Subscribe', 'Admin', 'cheerup'),
  309. 'desc' => esc_html_x('Enable a Mailchimp subscribe box below the slider on home.', 'Admin', 'cheerup'),
  310. 'fields' => array(
  311. array(
  312. 'name' => 'home_subscribe',
  313. 'label' => esc_html_x('Enable Subscribe Box?', 'Admin', 'cheerup'),
  314. 'value' => 0,
  315. 'desc' => '',
  316. 'type' => 'checkbox',
  317. ),
  318.  
  319. array(
  320. 'name' => 'home_subscribe_url',
  321. 'label' => esc_html_x('Mailchimp Form URL', 'Admin', 'cheerup'),
  322. 'desc' => '',
  323. 'type' => 'text',
  324. ),
  325.  
  326. array(
  327. 'name' => 'home_subscribe_label',
  328. 'label' => esc_html_x('Subscribe Message', 'Admin', 'cheerup'),
  329. 'value' => esc_html__('Subscribe to my newsletter to get updates in your inbox!', 'cheerup'),
  330. 'desc' => '',
  331. 'type' => 'text'
  332. )
  333.  
  334. )
  335. ), // section
  336.  
  337.  
  338.  
  339. ) // sections
  340. ), // panel
  341.  
  342.  
  343. array(
  344. 'title' => esc_html_x('Header/Logo & Nav', 'Admin', 'cheerup'),
  345. 'id' => 'sphere-header',
  346. 'sections' => array(
  347. array(
  348. 'id' => 'header-topbar',
  349. 'title' => esc_html_x('General & Top Bar', 'Admin', 'cheerup'),
  350. 'fields' => array(
  351.  
  352. array(
  353. 'name' => 'header_layout',
  354. 'label' => esc_html_x('Header Layout Style', 'Admin', 'cheerup'),
  355. 'value' => '',
  356. 'desc' => '',
  357. 'type' => 'select',
  358. 'options' => array(
  359. '' => esc_html_x('Style 1: Default', 'Admin', 'cheerup'),
  360. 'nav-below' => esc_html_x('Style 2: Nav Below Logo', 'Admin', 'cheerup'),
  361. 'full-top' => esc_html_x('Style 3: Full-width Top', 'Admin', 'cheerup'),
  362. 'logo-ad' => esc_html_x('Style 4: Logo Left + Ad', 'Admin', 'cheerup'),
  363. 'nav-below-b' => esc_html_x('Style 5: Special Topbar + Nav Below Logo', 'Admin', 'cheerup'),
  364. 'alt' => esc_html_x('Style 6: Default + Social Icons + Search Icon', 'Admin', 'cheerup'),
  365. 'top-below' => esc_html_x('Style 7: Nav Below Logo with Social Icons', 'Admin', 'cheerup'),
  366. 'compact' => esc_html_x('Style 8: Topbar + Logo & Nav (Compact)', 'Admin', 'cheerup'),
  367. 'simple' => esc_html_x('Style 9: Logo + Nav + Icons (Full-width)', 'Admin', 'cheerup'),
  368. ),
  369. ),
  370.  
  371. array(
  372. 'name' => 'header_ad',
  373. 'label' => esc_html_x('Header Ad Code', 'Admin', 'cheerup'),
  374. 'value' => '',
  375. 'desc' => '',
  376. 'type' => 'textarea',
  377. 'context' => array('control' => array('key' => 'header_layout', 'value' => array('logo-ad', 'compact'))),
  378. 'sanitize_callback' => ''
  379. ),
  380.  
  381. array(
  382. 'name' => 'css_header_bg_image',
  383. 'label' => esc_html_x('Header Background', 'Admin', 'cheerup'),
  384. 'value' => '',
  385. 'desc' => '',
  386. 'type' => 'upload',
  387. 'options' => array('type' => 'image'),
  388. 'bg_type' => array('value' => 'no-repeat'),
  389. 'css' => array(
  390. 'selectors' => array(
  391. '.main-head .logo-wrap' => 'background-image: url(%s); background-position: top center;'
  392. ),
  393. ),
  394. ),
  395.  
  396. array(
  397. 'name' => 'css_header_bg_full',
  398. 'label' => esc_html_x('Header Background Full Width', 'Admin', 'cheerup'),
  399. 'value' => '',
  400. 'desc' => '',
  401. 'type' => 'upload',
  402. 'options' => array('type' => 'image'),
  403. 'bg_type' => array('value' => 'cover-nonfixed'),
  404. 'css' => array(
  405. 'selectors' => array(
  406. '.main-head > .inner' => 'background-image: url(%s); background-position: top center;'
  407. ),
  408. ),
  409. ),
  410.  
  411. array(
  412. 'name' => 'topbar_style',
  413. 'label' => esc_html_x('Topbar Style', 'Admin', 'cheerup'),
  414. 'value' => 'light',
  415. 'desc' => '',
  416. 'type' => 'select',
  417. 'options' => array(
  418. 'light' => esc_html_x('Light', 'Admin', 'cheerup'),
  419. 'dark' => esc_html_x('Dark', 'Admin', 'cheerup')
  420. ),
  421.  
  422. 'context' => array('control' => array('key' => 'header_layout', 'value' => array('simple'), 'compare' => '!=')),
  423. ),
  424.  
  425. array(
  426. 'name' => 'nav_style',
  427. 'label' => esc_html_x('Navigation Style', 'Admin', 'cheerup'),
  428. 'value' => 'light',
  429. 'desc' => '',
  430. 'type' => 'select',
  431. 'options' => array(
  432. 'light' => esc_html_x('Light', 'Admin', 'cheerup'),
  433. 'dark' => esc_html_x('Dark', 'Admin', 'cheerup')
  434. ),
  435.  
  436. // Only show this setting if header_layout is nav_below type
  437. 'context' => array('control' => array('key' => 'header_layout', 'value' => array('nav-below', 'nav-below-b'))),
  438. ),
  439.  
  440. array(
  441. 'name' => 'topbar_ticker_text',
  442. 'label' => esc_html_x('Topbar Latest Posts Label', 'Admin', 'cheerup'),
  443. 'value' => 'Latest Posts:',
  444. 'desc' => '',
  445. 'type' => 'text',
  446. 'context' => array('control' => array('key' => 'header_layout', 'value' => array('nav-below-b', 'compact'))),
  447. ),
  448.  
  449. array(
  450. 'name' => 'topbar_top_menu',
  451. 'label' => esc_html_x('Enable Topbar Navigation', 'Admin', 'cheerup'),
  452. 'value' => 0,
  453. 'desc' => esc_html_x('Enabling this will disable topbar latest posts.', 'Admin', 'cheerup'),
  454. 'type' => 'checkbox',
  455. 'context' => array('control' => array('key' => 'header_layout', 'value' => array('nav-below-b', 'compact'))),
  456. ),
  457.  
  458. array(
  459. 'name' => 'topbar_search',
  460. 'label' => esc_html_x('Show Search', 'Admin', 'cheerup'),
  461. 'value' => 1,
  462. 'desc' => '',
  463. 'type' => 'checkbox',
  464. ),
  465.  
  466.  
  467. array(
  468. 'name' => 'topbar_cart',
  469. 'label' => esc_html_x('Shopping Cart Icon', 'Admin', 'cheerup'),
  470. 'value' => 1,
  471. 'desc' => esc_html_x('Only works when WooCommerce is installed.', 'Admin', 'cheerup'),
  472. 'type' => 'checkbox',
  473. ),
  474.  
  475. array(
  476. 'name' => 'topbar_sticky',
  477. 'label' => esc_html_x('Sticky Top Bar/Navigation', 'Admin', 'cheerup'),
  478. 'value' => 1,
  479. 'desc' => esc_html_x('Make topbar or navigation sticky on scrolling.', 'Admin', 'cheerup'),
  480. 'type' => 'select',
  481. 'options' => array(
  482. '' => esc_html_x('Disabled', 'Admin', 'cheerup'),
  483. 1 => esc_html_x('Enabled - Normal', 'Admin', 'cheerup'),
  484. 'smart' => esc_html_x('Enabled - Smart (Show when scrolling to top)', 'Admin', 'cheerup'),
  485. )
  486. ),
  487.  
  488. array(
  489. 'label' => esc_html_x('Top Bar Social Icons', 'Admin', 'cheerup'),
  490. 'name' => 'topbar_social',
  491. 'value' => array('facebook', 'twitter', 'instagram'),
  492. 'desc' => esc_html_x('NOTE: Configure these icons URLs from General Settings > Social Media.', 'Admin', 'cheerup'),
  493. 'type' => 'checkboxes',
  494.  
  495. // Show only if header layout is default
  496. 'context' => array('control' => array('key' => 'header_layout', 'value' => array('nav-below', 'full-top', 'nav-below-b', 'alt', 'top-below', 'compact', 'simple'))),
  497. 'options' => array(
  498. 'email' => esc_html_x('Email', 'Admin', 'cheerup'),
  499. 'facebook' => esc_html_x('Facebook', 'Admin', 'cheerup'),
  500. 'twitter' => esc_html_x('Twitter', 'Admin', 'cheerup'),
  501. 'gplus' => esc_html_x('Google Plus', 'Admin', 'cheerup'),
  502. 'instagram' => esc_html_x('Instagram', 'Admin', 'cheerup'),
  503. 'pinterest' => esc_html_x('Pinterest', 'Admin', 'cheerup'),
  504. 'vimeo' => esc_html_x('Vimeo', 'Admin', 'cheerup'),
  505. 'bloglovin' => esc_html_x('BlogLovin', 'Admin', 'cheerup'),
  506. 'rss' => esc_html_x('RSS', 'Admin', 'cheerup'),
  507. 'youtube' => esc_html_x('Youtube', 'Admin', 'cheerup'),
  508. 'dribbble' => esc_html_x('Dribbble', 'Admin', 'cheerup'),
  509. 'tumblr' => esc_html_x('Tumblr', 'Admin', 'cheerup'),
  510. 'linkedin' => esc_html_x('LinkedIn', 'Admin', 'cheerup'),
  511. 'flickr' => esc_html_x('Flickr', 'Admin', 'cheerup'),
  512. 'soundcloud' => esc_html_x('SoundCloud', 'Admin', 'cheerup'),
  513. 'lastfm' => esc_html_x('Last.fm', 'Admin', 'cheerup'),
  514. 'vk' => esc_html_x('VKontakte', 'Admin', 'cheerup'),
  515. 'steam' => esc_html_x('Steam', 'Admin', 'cheerup'),
  516.  
  517.  
  518. ),
  519. ),
  520.  
  521. ), // fields
  522.  
  523. ), // section
  524.  
  525. array(
  526. 'id' => 'header-logo',
  527. 'title' => esc_html_x('Logos', 'Admin', 'cheerup'),
  528. 'fields' => array(
  529.  
  530. array(
  531. 'name' => 'image_logo',
  532. 'value' => '',
  533. 'label' => esc_html_x('Logo Image', 'Admin', 'cheerup'),
  534. 'desc' => esc_html_x('Highly recommended to use a logo image in PNG format.', 'Admin', 'cheerup'),
  535. 'type' => 'upload',
  536. 'options' => array(
  537. 'type' => 'image',
  538. ),
  539. ),
  540.  
  541. array(
  542. 'name' => 'image_logo_2x',
  543. 'label' => esc_html_x('Logo Image Retina (2x)', 'Admin', 'cheerup'),
  544. 'value' => '',
  545. 'desc' => esc_html_x('This will be used for higher resolution devices like iPhone/Macbook.', 'Admin', 'cheerup'),
  546. 'type' => 'upload',
  547. 'options' => array(
  548. 'type' => 'image',
  549. ),
  550. ),
  551.  
  552. array(
  553. 'name' => 'mobile_logo_2x',
  554. 'value' => '',
  555. 'label' => esc_html_x('Mobile Logo Retina (2x - Optional)', 'Admin', 'cheerup'),
  556. 'desc' => esc_html_x('Use a different logo for mobile devices. Upload a logo twice the normal width and height.', 'Admin', 'cheerup'),
  557. 'type' => 'upload',
  558. 'options' => array(
  559. 'type' => 'media',
  560. ),
  561. ),
  562.  
  563. ), // fields
  564.  
  565. ), // section
  566.  
  567. ), // sections
  568.  
  569. ), // panel
  570.  
  571. array(
  572. 'title' => esc_html_x('Posts & Listings', 'Admin', 'cheerup'),
  573. 'id' => 'sphere-posts',
  574. 'sections' => array(
  575. array(
  576. 'id' => 'posts-general',
  577. 'title' => esc_html_x('Common Post Settings', 'Admin', 'cheerup'),
  578. 'fields' => array(
  579.  
  580. array(
  581. 'name' => 'featured_crop',
  582. 'label' => esc_html_x('Crop Featured Images?', 'Admin', 'cheerup'),
  583. 'value' => 1,
  584. 'desc' => esc_html_x('Crop featured image for consistent sizing and least bandwidth usage. Applies to: Classic Style listings, Single Post.', 'Admin', 'cheerup'),
  585. 'type' => 'checkbox',
  586. ),
  587.  
  588. array(
  589. 'name' => 'meta_style',
  590. 'label' => esc_html_x('Meta Style', 'Admin', 'cheerup'),
  591. 'value' => '',
  592. 'type' => 'radio',
  593. 'desc' => esc_html_x('Affects grid and large posts only.', 'Admin', 'cheerup'),
  594. 'options' => array(
  595. '' => esc_html_x('Style 1: Category and Date', 'Admin', 'cheerup'),
  596. 'style-b' => esc_html_x('Style 2: Category, Date, Comments', 'Admin', 'cheerup'),
  597. 'style-c' => esc_html_x('Style 3: Magazine - Left, Author, Date', 'Admin', 'cheerup'),
  598. )
  599. ),
  600.  
  601. array(
  602. 'name' => 'meta_date',
  603. 'label' => esc_html_x('Post Meta: Show Date', 'Admin', 'cheerup'),
  604. 'value' => 1,
  605. 'desc' => '',
  606. 'type' => 'checkbox',
  607. ),
  608.  
  609. array(
  610. 'name' => 'meta_category',
  611. 'label' => esc_html_x('Post Meta: Show Category', 'Admin', 'cheerup'),
  612. 'value' => 1,
  613. 'desc' => '',
  614. 'type' => 'checkbox',
  615. ),
  616.  
  617. array(
  618. 'name' => 'meta_cat_labels',
  619. 'label' => esc_html_x('Post Image: Category Overlay', 'Admin', 'cheerup'),
  620. 'value' => 0,
  621. 'desc' => '',
  622. 'type' => 'checkbox',
  623. ),
  624.  
  625. array(
  626. 'name' => 'posts_likes',
  627. 'label' => esc_html_x('Enable Post Likes', 'Admin', 'cheerup'),
  628. 'value' => 1,
  629. 'desc' => '',
  630. 'type' => 'checkbox',
  631. ),
  632.  
  633. array(
  634. 'name' => 'post_comments',
  635. 'label' => esc_html_x('Show Comment Count', 'Admin', 'cheerup'),
  636. 'value' => 1,
  637. 'desc' => '',
  638. 'type' => 'checkbox',
  639. 'context' => array('control' => array('key' => 'meta_style', 'value' => 'style-b'))
  640. ),
  641.  
  642. ), // fields
  643. ), // section
  644.  
  645. array(
  646. 'id' => 'posts-single',
  647. 'title' => esc_html_x('Single Post', 'Admin', 'cheerup'),
  648. 'fields' => array(
  649.  
  650. array(
  651. 'name' => 'post_layout_template',
  652. 'label' => esc_html_x('Default Post Style', 'Admin', 'cheerup'),
  653. 'value' => 'classic',
  654. 'type' => 'radio',
  655. 'options' => array(
  656. 'classic' => esc_html_x('Classic', 'Admin', 'cheerup'),
  657. 'creative' => esc_html_x('Creative - Large Style', 'Admin', 'cheerup'),
  658. 'cover' => esc_html_x('Creative - Overlay Style', 'Admin', 'cheerup'),
  659. 'dynamic' => esc_html_x('Dynamic (Affects Full Width Layout Only)', 'Admin', 'cheerup'),
  660. 'magazine' => esc_html_x('Magazine/News Style', 'Admin', 'cheerup'),
  661. )
  662.  
  663. ),
  664.  
  665. array(
  666. 'name' => 'single_share_float',
  667. 'label' => esc_html_x('Social: Floating/Sticky Buttons', 'Admin', 'cheerup'),
  668. 'value' => 0,
  669. 'desc' => '',
  670. 'type' => 'checkbox',
  671. ),
  672.  
  673. array(
  674. 'name' => 'single_share',
  675. 'label' => esc_html_x('Social: Show Post Share', 'Admin', 'cheerup'),
  676. 'value' => 1,
  677. 'desc' => '',
  678. 'type' => 'checkbox',
  679. ),
  680.  
  681. array(
  682. 'name' => 'single_tags',
  683. 'label' => esc_html_x('Show Post Tags', 'Admin', 'cheerup'),
  684. 'value' => 1,
  685. 'desc' => '',
  686. 'type' => 'checkbox',
  687. ),
  688.  
  689. array(
  690. 'name' => 'show_featured',
  691. 'label' => esc_html_x('Show Featured Image Area', 'Admin', 'cheerup'),
  692. 'value' => 1,
  693. 'desc' => esc_html_x('Stops displaying the featured image in large posts. Can also be set per set while adding/edit a post.', 'Admin', 'cheerup'),
  694. 'type' => 'checkbox',
  695. ),
  696.  
  697. array(
  698. 'name' => 'single_all_cats',
  699. 'label' => esc_html_x('All Categories in Meta', 'Admin', 'cheerup'),
  700. 'value' => 0,
  701. 'desc' => esc_html_x('If unchecked, only the Primary Category is displayed.', 'Admin', 'cheerup'),
  702. 'type' => 'checkbox',
  703. ),
  704.  
  705. array(
  706. 'name' => 'author_box',
  707. 'label' => esc_html_x('Show Author Box', 'Admin', 'cheerup'),
  708. 'value' => 1,
  709. 'desc' => '',
  710. 'type' => 'checkbox',
  711. ),
  712.  
  713. array(
  714. 'name' => 'single_navigation',
  715. 'label' => esc_html_x('Show Next/Previous Post', 'Admin', 'cheerup'),
  716. 'value' => 0,
  717. 'desc' => '',
  718. 'type' => 'checkbox',
  719. ),
  720.  
  721. array(
  722. 'name' => 'related_posts',
  723. 'label' => esc_html_x('Show Related Posts', 'Admin', 'cheerup'),
  724. 'value' => 1,
  725. 'desc' => '',
  726. 'type' => 'checkbox',
  727. ),
  728.  
  729. array(
  730. 'name' => 'related_posts_by',
  731. 'label' => esc_html_x('Related Posts Match By', 'Admin', 'cheerup'),
  732. 'value' => 'cat_tags',
  733. 'desc' => '',
  734. 'type' => 'radio',
  735. 'options' => array(
  736. '' => esc_html_x('Categories', 'Admin', 'cheerup'),
  737. 'tags' => esc_html_x('Tags', 'Admin', 'cheerup'),
  738. 'cat_tags' => esc_html_x('Both', 'Admin', 'cheerup'),
  739.  
  740. ),
  741. ),
  742.  
  743. array(
  744. 'name' => 'related_posts_number',
  745. 'label' => esc_html_x('Related Posts Number', 'Admin', 'cheerup'),
  746. 'value' => 3,
  747. 'desc' => '',
  748. 'type' => 'number',
  749. ),
  750.  
  751. array(
  752. 'name' => 'related_posts_grid',
  753. 'label' => esc_html_x('Related Posts Columns', 'Admin', 'cheerup'),
  754. 'value' => 3,
  755. 'desc' => '',
  756. 'type' => 'select',
  757. 'options' => array(
  758. 3 => esc_html_x('3 Columns', 'Admin', 'cheerup'),
  759. 2 => esc_html_x('2 Columns', 'Admin', 'cheerup'),
  760. )
  761.  
  762. ),
  763.  
  764. ), // fields
  765. ), // section
  766.  
  767. array(
  768. 'id' => 'posts-listings',
  769. 'title' => esc_html_x('Post Listings', 'Admin', 'cheerup'),
  770. 'fields' => array(
  771.  
  772. array(
  773. 'name' => 'post_grid_style',
  774. 'label' => esc_html_x('Grid Posts Style', 'Admin', 'cheerup'),
  775. 'value' => 'grid',
  776. 'desc' => esc_html_x('When using a layout that uses grid posts, there are two types of grid posts to choose from', 'Admin', 'cheerup'),
  777. 'type' => 'select',
  778. 'options' => array(
  779. 'grid' => esc_html_x('Style 1: Default - With Social', 'Admin', 'cheerup'),
  780. 'grid-b' => esc_html_x('Style 2: Centered Text & Read More', 'Admin', 'cheerup')
  781. ),
  782. ),
  783.  
  784. array(
  785. 'name' => 'post_grid_masonry',
  786. 'label' => esc_html_x('Masonry Grid Posts', 'Admin', 'cheerup'),
  787. 'value' => 0,
  788. 'desc' => esc_html_x('When using a layout that uses grid posts, you can use a masonry layout.', 'Admin', 'cheerup'),
  789. 'type' => 'checkbox',
  790. ),
  791.  
  792. array(
  793. 'name' => 'post_grid_meta_style',
  794. 'label' => esc_html_x('Grid Posts: Meta Style', 'Admin', 'cheerup'),
  795. 'value' => '',
  796. 'type' => 'select',
  797. 'desc' => esc_html_x('Default uses global setting from Common Post Settings.', 'Admin', 'cheerup'),
  798. 'options' => array(
  799. '' => esc_html_x('Default - Global', 'Admin', 'cheerup'),
  800. 'style-a' => esc_html_x('Style 1: Category and Date', 'Admin', 'cheerup'),
  801. 'style-b' => esc_html_x('Style 2: Category, Date, Comments', 'Admin', 'cheerup'),
  802. 'style-c' => esc_html_x('Style 3: Magazine - Left, Author, Date', 'Admin', 'cheerup'),
  803. )
  804. ),
  805.  
  806. array(
  807. 'name' => 'post_large_style',
  808. 'label' => esc_html_x('Large Posts Style', 'Admin', 'cheerup'),
  809. 'value' => 'large',
  810. 'desc' => esc_html_x('When using a layout that uses large post, there are two styles to choose from.', 'Admin', 'cheerup'),
  811. 'type' => 'select',
  812. 'options' => array(
  813. 'large' => esc_html_x('Style 1: Default - Title Below', 'Admin', 'cheerup'),
  814. 'large-b' => esc_html_x('Style 2: Title Above', 'Admin', 'cheerup')
  815. ),
  816. ),
  817.  
  818. array(
  819. 'name' => 'post_list_style',
  820. 'label' => esc_html_x('List Posts Style', 'Admin', 'cheerup'),
  821. 'value' => 'list',
  822. 'desc' => esc_html_x('When using a layout that uses list posts, there are two types of grid posts to choose from', 'Admin', 'cheerup'),
  823. 'type' => 'select',
  824. 'options' => array(
  825. 'list' => esc_html_x('Style 1: Default - With Social', 'Admin', 'cheerup'),
  826. 'list-b' => esc_html_x('Style 2: Spacious & Read More', 'Admin', 'cheerup')
  827. ),
  828. ),
  829.  
  830. array(
  831. 'name' => 'pagination_style',
  832. 'label' => esc_html_x('Pagination Style', 'Admin', 'cheerup'),
  833. 'value' => '',
  834. 'type' => 'radio',
  835. 'options' => array(
  836. '' => esc_html_x('Older / Newer', 'Admin', 'cheerup'),
  837. 'numbers' => esc_html_x('Page Numbers', 'Admin', 'cheerup'),
  838. 'load-more' => esc_html_x('Load More', 'Admin', 'cheerup'),
  839. ),
  840. ),
  841.  
  842. array(
  843. 'name' => 'post_format_icons',
  844. 'label' => esc_html_x('Show Post Format Icons?', 'Admin', 'cheerup'),
  845. 'value' => 1,
  846. 'desc' => esc_html_x('Post format icons (video, gallery) can be enabled on a few listing styles such as list and grid.', 'Admin', 'cheerup'),
  847. 'type' => 'checkbox',
  848. ),
  849.  
  850. array(
  851. 'name' => 'post_footer_blog',
  852. 'label' => esc_html_x('Large Post: Show Post Footer', 'Admin', 'cheerup'),
  853. 'value' => 1,
  854. 'desc' => esc_html_x('Post footer is the extar info shown below post such as author, read more, and social icons.', 'Admin', 'cheerup'),
  855. 'type' => 'checkbox',
  856. ),
  857.  
  858. array(
  859. 'name' => 'post_footer_author',
  860. 'label' => esc_html_x('Large Post: Show Author', 'Admin', 'cheerup'),
  861. 'value' => 1,
  862. 'type' => 'checkbox',
  863. ),
  864.  
  865.  
  866. array(
  867. 'name' => 'post_footer_read_more',
  868. 'label' => esc_html_x('Large Post: Show Read More', 'Admin', 'cheerup'),
  869. 'value' => 1,
  870. 'type' => 'checkbox',
  871. ),
  872.  
  873. array(
  874. 'name' => 'post_footer_social',
  875. 'label' => esc_html_x('Large Post: Show Social', 'Admin', 'cheerup'),
  876. 'value' => 1,
  877. 'type' => 'checkbox',
  878. ),
  879.  
  880. array(
  881. 'name' => 'post_footer_grid',
  882. 'label' => esc_html_x('Grid: Show Post Footer', 'Admin', 'cheerup'),
  883. 'value' => 1,
  884. 'desc' => esc_html_x('Area below posts that shows likes count & social icons.', 'Admin', 'cheerup'),
  885. 'type' => 'checkbox',
  886. ),
  887.  
  888. array(
  889. 'name' => 'post_footer_list',
  890. 'label' => esc_html_x('List: Show Post Footer', 'Admin', 'cheerup'),
  891. 'value' => 1,
  892. 'desc' => esc_html_x('Area below posts that shows likes count & social icons.', 'Admin', 'cheerup'),
  893. 'type' => 'checkbox',
  894. ),
  895.  
  896. array(
  897. 'name' => 'post_body',
  898. 'label' => esc_html_x('Post Body', 'Admin', 'cheerup'),
  899. 'value' => 'full',
  900. 'type' => 'radio',
  901. 'desc' => esc_html_x('Note: Only applies to Blog Listing style. Both support WordPress <!--more--> teaser.', 'Admin', 'cheerup'),
  902. 'options' => array(
  903. 'full' => esc_html_x('Full Post', 'Admin', 'cheerup'),
  904. 'excerpt' => esc_html_x('Excerpts', 'Admin', 'cheerup'),
  905. ),
  906. ),
  907.  
  908. array(
  909. 'name' => 'post_excerpt_blog',
  910. 'label' => esc_html_x('Excerpt Words: Classic Style', 'Admin', 'cheerup'),
  911. 'value' => 150,
  912. 'type' => 'number',
  913. 'desc' => '',
  914. ),
  915.  
  916. array(
  917. 'name' => 'post_excerpt_grid',
  918. 'label' => esc_html_x('Excerpt Words: Grid Style', 'Admin', 'cheerup'),
  919. 'value' => 28,
  920. 'type' => 'number',
  921. 'desc' => '',
  922. ),
  923.  
  924.  
  925. array(
  926. 'name' => 'post_excerpt_list',
  927. 'label' => esc_html_x('Excerpt Words: List Style', 'Admin', 'cheerup'),
  928. 'value' => 24,
  929. 'type' => 'number',
  930. 'desc' => '',
  931. ),
  932.  
  933. ), // fields
  934. ), // section
  935.  
  936. array(
  937. 'id' => 'posts-pinterest',
  938. 'title' => esc_html_x('Pinterest on Images', 'Admin', 'cheerup'),
  939. 'fields' => array(
  940.  
  941. array(
  942. 'name' => 'pinit_button',
  943. 'label' => esc_html_x('Show Pin It On Hover?', 'Admin', 'cheerup'),
  944. 'value' => 0,
  945. 'desc' => esc_html_x('When enabled, on single posts and large posts body, pin it button will show on hover (only works on non-touch devices).', 'Admin', 'cheerup'),
  946. 'type' => 'checkbox',
  947. ),
  948.  
  949.  
  950. array(
  951. 'name' => 'pinit_button_label',
  952. 'label' => esc_html_x('Show Label', 'Admin', 'cheerup'),
  953. 'value' => 0,
  954. 'type' => 'checkbox',
  955. ),
  956.  
  957. array(
  958. 'name' => 'pinit_button_text',
  959. 'label' => esc_html_x('Button Label', 'Admin', 'cheerup'),
  960. 'value' => esc_html__('Pin It', 'cheerup'),
  961. 'type' => 'input',
  962. ),
  963.  
  964. array(
  965. 'name' => 'pinit_show_on',
  966. 'label' => esc_html_x('Show On:', 'Admin', 'cheerup'),
  967. 'value' => array('single'),
  968. 'type' => 'checkboxes',
  969. 'options' => array(
  970. 'single' => esc_html_x('Single Post Images', 'Admin', 'cheerup'),
  971. 'listing' => esc_html_x('Listings/Categories: Featured Images', 'Admin', 'cheerup'),
  972. )
  973. )
  974.  
  975.  
  976. ), // fields
  977. ), // section
  978.  
  979. ) // sections
  980.  
  981. ), // panel
  982.  
  983.  
  984.  
  985. array(
  986. 'title' => esc_html_x('Footer Settings', 'Admin', 'cheerup'),
  987. 'id' => 'sphere-footer',
  988. 'desc' => esc_html_x('Middle footer is activated by adding an instagram widget.', 'Admin', 'cheerup'),
  989. 'sections' => array(
  990.  
  991. array(
  992. 'id' => 'footer-upper',
  993. 'title' => esc_html_x('General & Upper Footer', 'Admin', 'cheerup'),
  994. 'fields' => array(
  995.  
  996. array(
  997. 'name' => 'footer_layout',
  998. 'value' => '',
  999. 'label' => esc_html_x('Select layout', 'Admin', 'cheerup'),
  1000. 'desc' => '',
  1001. 'type' => 'select',
  1002. 'options' => array(
  1003. '' => esc_html_x('Default Light', 'Admin', 'cheerup'),
  1004. 'contrast' => esc_html_x('Dark Contrast', 'Admin', 'cheerup'),
  1005. 'alt' => esc_html_x('Alternate Light', 'Admin', 'cheerup'),
  1006. 'stylish' => esc_html_x('Stylish Dark', 'Admin', 'cheerup'),
  1007. 'stylish-b' => esc_html_x('Stylish Dark Alt', 'Admin', 'cheerup'),
  1008. 'classic' => esc_html_x('Magazine / Classic Dark', 'Admin', 'cheerup'),
  1009. 'bold' => esc_html_x('Bold Dark (Footer Links Supported)', 'Admin', 'cheerup')
  1010. )
  1011. ),
  1012.  
  1013. array(
  1014. 'name' => 'footer_upper',
  1015. 'value' => 1,
  1016. 'label' => esc_html_x('Enable Upper Footer', 'Admin', 'cheerup'),
  1017. 'desc' => '',
  1018. 'type' => 'checkbox'
  1019. ),
  1020.  
  1021. array(
  1022. 'name' => 'footer_logo',
  1023. 'value' => '',
  1024. 'label' => esc_html_x('Footer Logo', 'Admin', 'cheerup'),
  1025. 'desc' => '',
  1026. 'type' => 'upload',
  1027. 'options' => array(
  1028. 'type' => 'image'
  1029. ),
  1030. 'context' => array('control' => array('key' => 'footer_layout', 'value' => array('contrast', 'stylish', 'stylish-b'))),
  1031. ),
  1032.  
  1033. array(
  1034. 'name' => 'footer_logo_2x',
  1035. 'value' => '',
  1036. 'label' => esc_html_x('Footer Logo Retina (2x)', 'Admin', 'cheerup'),
  1037. 'desc' => '',
  1038. 'type' => 'upload',
  1039. 'options' => array(
  1040. 'type' => 'image'
  1041. ),
  1042. 'context' => array('control' => array('key' => 'footer_layout', 'value' => array('contrast', 'stylish', 'stylish-b'))),
  1043. ),
  1044.  
  1045. array(
  1046. 'name' => 'css_footer_bg',
  1047. 'value' => '',
  1048. 'label' => esc_html_x('Footer Background Image', 'Admin', 'cheerup'),
  1049. 'desc' => '',
  1050. 'type' => 'upload',
  1051. 'options' => array(
  1052. 'type' => 'image'
  1053. ),
  1054. 'context' => array('control' => array('key' => 'footer_layout', 'value' => array('stylish', 'stylish-b'))),
  1055. 'bg_type' => array('value' => 'cover-nonfixed'),
  1056. 'css' => array(
  1057. 'selectors' => array(
  1058. '.main-footer .bg-wrap:before' => 'background-image: url(%s)'
  1059. ),
  1060. ),
  1061.  
  1062. ),
  1063.  
  1064. array(
  1065. 'name' => 'css_footer_bg_opacity',
  1066. 'label' => esc_html_x('Footer Bg Image Opacity', 'Admin', 'cheerup'),
  1067. 'value' => 0,
  1068. 'desc' => esc_html_x('An opacity of 0.2 is recommended.', 'Admin', 'cheerup'),
  1069. 'type' => 'number',
  1070. 'input_attrs' => array('min' => 0, 'max' => 1, 'step' => 0.1),
  1071. 'css' => array(
  1072. 'selectors' => array(
  1073. '.main-footer .bg-wrap:before' => 'opacity: %s'
  1074. )
  1075. ),
  1076. 'context' => array('control' => array('key' => 'footer_layout', 'value' => array('stylish', 'stylish-b'))),
  1077. ),
  1078.  
  1079. ), // fields
  1080. ), // section
  1081.  
  1082. array(
  1083. 'id' => 'footer-lower',
  1084. 'title' => esc_html_x('Lower Footer', 'Admin', 'cheerup'),
  1085. 'fields' => array(
  1086.  
  1087. array(
  1088. 'name' => 'footer_lower',
  1089. 'value' => 1,
  1090. 'label' => esc_html_x('Enable Lower Footer', 'Admin', 'cheerup'),
  1091. 'desc' => '',
  1092. 'type' => 'checkbox'
  1093. ),
  1094.  
  1095. array(
  1096. 'name' => 'footer_links',
  1097. 'value' => 0,
  1098. 'label' => esc_html_x('Enable Footer Links', 'Admin', 'cheerup'),
  1099. 'desc' => esc_html_x('After ticking here, save and add a menu from Appearance > Menus and assign it to footer links.', 'Admin', 'cheerup'),
  1100. 'type' => 'checkbox',
  1101. 'context' => array('control' => array('key' => 'footer_layout', 'value' => array('bold'))),
  1102. ),
  1103.  
  1104. array(
  1105. 'name' => 'footer_copyright',
  1106. 'value' => '&copy; 2016 ThemeSphere. Designed by <a href="http://theme-sphere.com">ThemeSphere</a>.', // Example copyright message in Customizer
  1107. 'label' => esc_html_x('Copyright Message', 'Admin', 'cheerup'),
  1108. 'desc' => '',
  1109. 'type' => 'text'
  1110. ),
  1111.  
  1112. array(
  1113. 'name' => 'footer_back_top',
  1114. 'value' => 1,
  1115. 'label' => esc_html_x('Show Back to Top', 'Admin', 'cheerup'),
  1116. 'desc' => '',
  1117. 'type' => 'checkbox',
  1118. 'context' => array('control' => array('key' => 'footer_layout', 'value' => ''))
  1119. ),
  1120.  
  1121. array(
  1122. 'label' => esc_html_x('Footer Social Icons', 'Admin', 'cheerup'),
  1123. 'name' => 'footer_social',
  1124. 'value' => array('facebook', 'twitter', 'instagram'),
  1125. 'desc' => esc_html_x('NOTE: Configure these icons URLs from General Settings > Social Media.', 'Admin', 'cheerup'),
  1126. 'type' => 'checkboxes',
  1127.  
  1128. // Show only if header layout is default
  1129. 'context' => array('control' => array('key' => 'footer_layout', 'value' => array('contrast', 'alt', 'stylish', 'stylish-b', 'bold'))),
  1130. 'options' => array(
  1131. 'email' => esc_html_x('Email', 'Admin', 'cheerup'),
  1132. 'facebook' => esc_html_x('Facebook', 'Admin', 'cheerup'),
  1133. 'twitter' => esc_html_x('Twitter', 'Admin', 'cheerup'),
  1134. 'gplus' => esc_html_x('Google Plus', 'Admin', 'cheerup'),
  1135. 'instagram' => esc_html_x('Instagram', 'Admin', 'cheerup'),
  1136. 'pinterest' => esc_html_x('Pinterest', 'Admin', 'cheerup'),
  1137. 'vimeo' => esc_html_x('Vimeo', 'Admin', 'cheerup'),
  1138. 'bloglovin' => esc_html_x('BlogLovin', 'Admin', 'cheerup'),
  1139. 'rss' => esc_html_x('RSS', 'Admin', 'cheerup'),
  1140. 'youtube' => esc_html_x('Youtube', 'Admin', 'cheerup'),
  1141. 'dribbble' => esc_html_x('Dribbble', 'Admin', 'cheerup'),
  1142. 'tumblr' => esc_html_x('Tumblr', 'Admin', 'cheerup'),
  1143. 'linkedin' => esc_html_x('LinkedIn', 'Admin', 'cheerup'),
  1144. 'flickr' => esc_html_x('Flickr', 'Admin', 'cheerup'),
  1145. 'soundcloud' => esc_html_x('SoundCloud', 'Admin', 'cheerup'),
  1146. 'lastfm' => esc_html_x('Last.fm', 'Admin', 'cheerup'),
  1147. 'vk' => esc_html_x('VKontakte', 'Admin', 'cheerup'),
  1148. 'steam' => esc_html_x('Steam', 'Admin', 'cheerup'),
  1149. ),
  1150. ),
  1151.  
  1152. ), // fields
  1153. ), // section
  1154.  
  1155. ) // sections
  1156.  
  1157. ), // panel
  1158.  
  1159. 'sphere-general' => array(
  1160. 'title' => esc_html_x('General Settings', 'Admin', 'cheerup'),
  1161. 'id' => 'sphere-general',
  1162. 'sections' => array(
  1163.  
  1164. array(
  1165. 'id' => 'general-archives',
  1166. 'title' => esc_html_x('Categories & Archives', 'Admin', 'cheerup'),
  1167. 'fields' => array(
  1168.  
  1169. array(
  1170. 'name' => 'archive_sidebar',
  1171. 'label' => esc_html_x('Listings Sidebar', 'Admin', 'cheerup'),
  1172. 'value' => '',
  1173. 'desc' => esc_html_x('Applies to all type of archives except home.', 'Admin', 'cheerup'),
  1174. 'type' => 'radio',
  1175. 'options' => array(
  1176. '' => esc_html_x('Default', 'Admin', 'cheerup'),
  1177. 'none' => esc_html_x('No Sidebar', 'Admin', 'cheerup'),
  1178. 'right' => esc_html_x('Right Sidebar', 'Admin', 'cheerup')
  1179. ),
  1180. ),
  1181.  
  1182. array(
  1183. 'name' => 'category_loop',
  1184. 'label' => esc_html_x('Category Listing Style', 'Admin', 'cheerup'),
  1185. 'value' => '',
  1186. 'desc' => '',
  1187. 'type' => 'select',
  1188. 'options' => array(
  1189. '' => esc_html_x('Classic Large Posts', 'Admin', 'cheerup'),
  1190. 'loop-1st-large' => esc_html_x('One Large Post + Grid', 'Admin', 'cheerup'),
  1191. 'loop-1st-large-list' => esc_html_x('One Large Post + List', 'Admin', 'cheerup'),
  1192. 'loop-1st-overlay' => esc_html_x('One Overlay Post + Grid', 'Admin', 'cheerup'),
  1193. 'loop-1st-overlay-list' => esc_html_x('One Overlay Post + List', 'Admin', 'cheerup'),
  1194.  
  1195. 'loop-1-2' => esc_html_x('Mixed: Large Post + 2 Grid ', 'Admin', 'cheerup'),
  1196. 'loop-1-2-list' => esc_html_x('Mixed: Large Post + 2 List ', 'Admin', 'cheerup'),
  1197.  
  1198. 'loop-1-2-overlay' => esc_html_x('Mixed: Overlay Post + 2 Grid ', 'Admin', 'cheerup'),
  1199. 'loop-1-2-overlay-list' => esc_html_x('Mixed: Overlay Post + 2 List ', 'Admin', 'cheerup'),
  1200.  
  1201. 'loop-list' => esc_html_x('List Posts', 'Admin', 'cheerup'),
  1202. 'loop-grid' => esc_html_x('Grid Posts', 'Admin', 'cheerup'),
  1203. 'loop-grid-3' => esc_html_x('Grid Posts (3 Columns)', 'Admin', 'cheerup'),
  1204. ),
  1205. ),
  1206.  
  1207. array(
  1208. 'name' => 'archive_loop',
  1209. 'label' => esc_html_x('Archive Listing Style', 'Admin', 'cheerup'),
  1210. 'value' => '',
  1211. 'desc' => '',
  1212. 'type' => 'select',
  1213. 'options' => array(
  1214. '' => esc_html_x('Classic Large Posts', 'Admin', 'cheerup'),
  1215. 'loop-1st-large' => esc_html_x('One Large Post + Grid', 'Admin', 'cheerup'),
  1216. 'loop-1st-large-list' => esc_html_x('One Large Post + List', 'Admin', 'cheerup'),
  1217. 'loop-1st-overlay' => esc_html_x('One Overlay Post + Grid', 'Admin', 'cheerup'),
  1218. 'loop-1st-overlay-list' => esc_html_x('One Overlay Post + List', 'Admin', 'cheerup'),
  1219.  
  1220. 'loop-1-2' => esc_html_x('Mixed: Large Post + 2 Grid ', 'Admin', 'cheerup'),
  1221. 'loop-1-2-list' => esc_html_x('Mixed: Large Post + 2 List ', 'Admin', 'cheerup'),
  1222.  
  1223. 'loop-1-2-overlay' => esc_html_x('Mixed: Overlay Post + 2 Grid ', 'Admin', 'cheerup'),
  1224. 'loop-1-2-overlay-list' => esc_html_x('Mixed: Overlay Post + 2 List ', 'Admin', 'cheerup'),
  1225.  
  1226. 'loop-list' => esc_html_x('List Posts', 'Admin', 'cheerup'),
  1227. 'loop-grid' => esc_html_x('Grid Posts', 'Admin', 'cheerup'),
  1228. 'loop-grid-3' => esc_html_x('Grid Posts (3 Columns)', 'Admin', 'cheerup'),
  1229. ),
  1230. ),
  1231.  
  1232. array(
  1233. 'name' => 'search_loop',
  1234. 'label' => esc_html_x('Search Listing Style', 'Admin', 'cheerup'),
  1235. 'value' => '',
  1236. 'desc' => '',
  1237. 'type' => 'select',
  1238. 'options' => array(
  1239.  
  1240. '' => esc_html_x('Classic Large Posts', 'Admin', 'cheerup'),
  1241. 'loop-1st-large' => esc_html_x('One Large Post + Grid', 'Admin', 'cheerup'),
  1242. 'loop-1st-large-list' => esc_html_x('One Large Post + List', 'Admin', 'cheerup'),
  1243. 'loop-1st-overlay' => esc_html_x('One Overlay Post + Grid', 'Admin', 'cheerup'),
  1244. 'loop-1st-overlay-list' => esc_html_x('One Overlay Post + List', 'Admin', 'cheerup'),
  1245.  
  1246. 'loop-1-2' => esc_html_x('Mixed: Large Post + 2 Grid ', 'Admin', 'cheerup'),
  1247. 'loop-1-2-list' => esc_html_x('Mixed: Large Post + 2 List ', 'Admin', 'cheerup'),
  1248.  
  1249. 'loop-1-2-overlay' => esc_html_x('Mixed: Overlay Post + 2 Grid ', 'Admin', 'cheerup'),
  1250. 'loop-1-2-overlay-list' => esc_html_x('Mixed: Overlay Post + 2 List ', 'Admin', 'cheerup'),
  1251.  
  1252. 'loop-list' => esc_html_x('List Posts', 'Admin', 'cheerup'),
  1253. 'loop-grid' => esc_html_x('Grid Posts', 'Admin', 'cheerup'),
  1254. 'loop-grid-3' => esc_html_x('Grid Posts (3 Columns)', 'Admin', 'cheerup'),
  1255. ),
  1256. ),
  1257.  
  1258. array(
  1259. 'name' => 'archive_descriptions',
  1260. 'value' => 0,
  1261. 'label' => esc_html_x('Show Category Descriptions?', 'Admin', 'cheerup'),
  1262. 'desc' => '',
  1263. 'type' => 'checkbox'
  1264. ),
  1265.  
  1266. ) // fields
  1267.  
  1268. ), // section
  1269.  
  1270. array(
  1271. 'id' => 'general-social',
  1272. 'title' => esc_html_x('Social Media Links', 'Admin', 'cheerup'),
  1273. 'desc' => esc_html_x('Enter full URLs to your social media profiles. These are used in Top Bar social icons.', 'Admin', 'cheerup'),
  1274. 'fields' => array(
  1275.  
  1276. array(
  1277. 'name' => 'social_profiles[facebook]',
  1278. 'value' => '',
  1279. 'label' => esc_html_x('Facebook', 'Admin', 'cheerup'),
  1280. 'desc' => '',
  1281. 'type' => 'text'
  1282. ),
  1283.  
  1284. array(
  1285. 'name' => 'social_profiles[twitter]',
  1286. 'value' => '',
  1287. 'label' => esc_html_x('Twitter', 'Admin', 'cheerup'),
  1288. 'desc' => '',
  1289. 'type' => 'text'
  1290. ),
  1291.  
  1292. array(
  1293. 'name' => 'social_profiles[instagram]',
  1294. 'value' => '',
  1295. 'label' => esc_html_x('Instagram', 'Admin', 'cheerup'),
  1296. 'desc' => '',
  1297. 'type' => 'text'
  1298. ),
  1299.  
  1300. array(
  1301. 'name' => 'social_profiles[pinterest]',
  1302. 'value' => '',
  1303. 'label' => esc_html_x('Pinterest', 'Admin', 'cheerup'),
  1304. 'desc' => '',
  1305. 'type' => 'text'
  1306. ),
  1307.  
  1308. array(
  1309. 'name' => 'social_profiles[bloglovin]',
  1310. 'value' => '',
  1311. 'label' => esc_html_x('BlogLovin', 'Admin', 'cheerup'),
  1312. 'desc' => '',
  1313. 'type' => 'text'
  1314. ),
  1315.  
  1316. array(
  1317. 'name' => 'social_profiles[bloglovin]',
  1318. 'value' => '',
  1319. 'label' => esc_html_x('BlogLovin', 'Admin', 'cheerup'),
  1320. 'desc' => '',
  1321. 'type' => 'text'
  1322. ),
  1323.  
  1324. array(
  1325. 'name' => 'social_profiles[gplus]',
  1326. 'value' => '',
  1327. 'label' => esc_html_x('Google+', 'Admin', 'cheerup'),
  1328. 'desc' => '',
  1329. 'type' => 'text'
  1330. ),
  1331.  
  1332. array(
  1333. 'name' => 'social_profiles[youtube]',
  1334. 'value' => '',
  1335. 'label' => esc_html_x('YouTube', 'Admin', 'cheerup'),
  1336. 'desc' => '',
  1337. 'type' => 'text'
  1338. ),
  1339.  
  1340. array(
  1341. 'name' => 'social_profiles[dribbble]',
  1342. 'value' => '',
  1343. 'label' => esc_html_x('Dribbble', 'Admin', 'cheerup'),
  1344. 'desc' => '',
  1345. 'type' => 'text'
  1346. ),
  1347.  
  1348. array(
  1349. 'name' => 'social_profiles[tumblr]',
  1350. 'value' => '',
  1351. 'label' => esc_html_x('Tumblr', 'Admin', 'cheerup'),
  1352. 'desc' => '',
  1353. 'type' => 'text'
  1354. ),
  1355.  
  1356. array(
  1357. 'name' => 'social_profiles[linkedin]',
  1358. 'value' => '',
  1359. 'label' => esc_html_x('LinkedIn', 'Admin', 'cheerup'),
  1360. 'desc' => '',
  1361. 'type' => 'text'
  1362. ),
  1363.  
  1364. array(
  1365. 'name' => 'social_profiles[flickr]',
  1366. 'value' => '',
  1367. 'label' => esc_html_x('Flickr', 'Admin', 'cheerup'),
  1368. 'desc' => '',
  1369. 'type' => 'text'
  1370. ),
  1371.  
  1372. array(
  1373. 'name' => 'social_profiles[soundcloud]',
  1374. 'value' => '',
  1375. 'label' => esc_html_x('SoundCloud', 'Admin', 'cheerup'),
  1376. 'desc' => '',
  1377. 'type' => 'text'
  1378. ),
  1379.  
  1380. array(
  1381. 'name' => 'social_profiles[vimeo]',
  1382. 'value' => '',
  1383. 'label' => esc_html_x('Vimeo', 'Admin', 'cheerup'),
  1384. 'desc' => '',
  1385. 'type' => 'text'
  1386. ),
  1387.  
  1388. array(
  1389. 'name' => 'social_profiles[rss]',
  1390. 'value' => get_bloginfo('rss2_url'),
  1391. 'label' => esc_html_x('RSS', 'Admin', 'cheerup'),
  1392. 'desc' => '',
  1393. 'type' => 'text'
  1394. ),
  1395.  
  1396. array(
  1397. 'name' => 'social_profiles[vk]',
  1398. 'value' => '',
  1399. 'label' => esc_html_x('VKontakte', 'Admin', 'cheerup'),
  1400. 'desc' => '',
  1401. 'type' => 'text'
  1402. ),
  1403.  
  1404. array(
  1405. 'name' => 'social_profiles[lastfm]',
  1406. 'value' => '',
  1407. 'label' => esc_html_x('Last.fm', 'Admin', 'cheerup'),
  1408. 'desc' => '',
  1409. 'type' => 'text'
  1410. ),
  1411.  
  1412. array(
  1413. 'name' => 'social_profiles[steam]',
  1414. 'value' => '',
  1415. 'label' => esc_html_x('Steam', 'Admin', 'cheerup'),
  1416. 'desc' => '',
  1417. 'type' => 'text'
  1418. ),
  1419. array(
  1420. 'name'=> 'social_profiles[email]',
  1421. 'value' => '',
  1422. 'label' => esc_html_x( 'Email Address', 'Admin', 'cheerup' ),
  1423. 'desc' => '',
  1424. 'type' => 'text'
  1425. )
  1426. ) // fields
  1427.  
  1428. ), // section
  1429.  
  1430.  
  1431. array(
  1432. 'id' => 'general-misc',
  1433. 'title' => esc_html_x('Layout & Misc', 'Admin', 'cheerup'),
  1434. 'fields' => array(
  1435.  
  1436. array(
  1437. 'name' => 'default_sidebar',
  1438. 'label' => esc_html_x('Default Sidebar', 'Admin', 'cheerup'),
  1439. 'value' => 'right',
  1440. 'desc' => esc_html_x('This setting can be changed per post or page.', 'Admin', 'cheerup'),
  1441. 'type' => 'radio',
  1442. 'options' => array(
  1443. 'none' => esc_html_x('No Sidebar', 'Admin', 'cheerup'),
  1444. 'right' => esc_html_x('Right Sidebar', 'Admin', 'cheerup')
  1445. ),
  1446. ),
  1447.  
  1448. array(
  1449. 'name' => 'sidebar_sticky',
  1450. 'label' => esc_html_x('Sticky Sidebar', 'Admin', 'cheerup'),
  1451. 'value' => 0,
  1452. 'desc' => esc_html_x('Make the sidebar always stick around while scrolling.', 'Admin', 'cheerup'),
  1453. 'type' => 'checkbox',
  1454. ),
  1455.  
  1456. array(
  1457. 'name' => 'search_posts_only',
  1458. 'value' => 1,
  1459. 'label' => esc_html_x('Limit Search To Posts', 'Admin', 'cheerup'),
  1460. 'desc' => esc_html_x('Enabling this feature will exclude pages from WordPress search.', 'Admin', 'cheerup'),
  1461. 'type' => 'checkbox'
  1462. ),
  1463.  
  1464. array(
  1465. 'name' => 'enable_lightbox',
  1466. 'label' => esc_html_x('Enable Lightbox for Images', 'Admin', 'cheerup'),
  1467. 'value' => 1,
  1468. 'desc' => '',
  1469. 'type' => 'checkbox',
  1470. ),
  1471.  
  1472.  
  1473. ) // fields
  1474.  
  1475. ), // section
  1476.  
  1477.  
  1478. array(
  1479. 'id' => 'general-woocommerce',
  1480. 'title' => esc_html_x('WooCommerce/Shop', 'Admin', 'cheerup'),
  1481. 'desc' => esc_html_x('Settings here only apply if you have WooCommerce installed.', 'Admin', 'cheerup'),
  1482. 'fields' => array(
  1483.  
  1484. array(
  1485. 'name' => 'woocommerce_per_page',
  1486. 'label' => esc_html_x('Shop Products / Page', 'Admin', 'cheerup'),
  1487. 'value' => 9,
  1488. 'desc' => '',
  1489. 'type' => 'number'
  1490. ),
  1491.  
  1492. array(
  1493. 'name' => 'woocommerce_image_zoom',
  1494. 'label' => esc_html_x('Product Page - Image Zoom', 'Admin', 'cheerup'),
  1495. 'value' => 1,
  1496. 'desc' => '',
  1497. 'type' => 'checkbox'
  1498. ),
  1499. ),
  1500. ),
  1501.  
  1502. ) // sections
  1503.  
  1504. ), // panel
  1505.  
  1506. array(
  1507. 'title' => esc_html_x('Colors & Style', 'Admin', 'cheerup'),
  1508. 'id' => 'sphere-style',
  1509. 'sections' => array(
  1510. array(
  1511. 'id' => 'style-general',
  1512. 'title' => esc_html_x('General', 'Admin', 'cheerup'),
  1513. 'fields' => array(
  1514.  
  1515. array(
  1516. 'name' => 'css_main_color',
  1517. 'value' => '#318892',
  1518. 'label' => esc_html_x('Main Theme Color', 'Admin', 'cheerup'),
  1519. 'desc' => '',
  1520. 'type' => 'color',
  1521. 'css' => array(
  1522.  
  1523. 'selectors' => array(
  1524.  
  1525. '::selection' => 'background: rgba(%s, 0.4)',
  1526. '::-moz-selection' => 'background: rgba(%s, 0.4)',
  1527.  
  1528. 'input[type="submit"],
  1529. button,
  1530. input[type="button"],
  1531. .button,
  1532. .cart-action .cart-link .counter,
  1533. .main-head.compact .posts-ticker .heading,
  1534. .single-cover .overlay .post-cat a,
  1535. .comments-list .bypostauthor .post-author,
  1536. .cat-label a:hover,
  1537. .cat-label.color a,
  1538. .post-thumb:hover .cat-label a,
  1539. .products-block .more-link:hover,
  1540. .beauty-slider .slick-dots .slick-active button,
  1541. .carousel-slider .category,
  1542. .grid-b-slider .category,
  1543. .page-links .current,
  1544. .page-links a:hover,
  1545. .page-links > span,
  1546. .widget-posts .posts.full .counter:before,
  1547. .woocommerce span.onsale,
  1548. .woocommerce a.button,
  1549. .woocommerce button.button,
  1550. .woocommerce input.button,
  1551. .woocommerce #respond input#submit,
  1552. .woocommerce a.button.alt,
  1553. .woocommerce a.button.alt:hover,
  1554. .woocommerce button.button.alt,
  1555. .woocommerce button.button.alt:hover,
  1556. .woocommerce input.button.alt,
  1557. .woocommerce input.button.alt:hover,
  1558. .woocommerce #respond input#submit.alt,
  1559. .woocommerce #respond input#submit.alt:hover,
  1560. .woocommerce a.button:hover,
  1561. .woocommerce button.button:hover,
  1562. .woocommerce input.button:hover,
  1563. .woocommerce #respond input#submit:hover,
  1564. .woocommerce nav.woocommerce-pagination ul li span.current,
  1565. .woocommerce nav.woocommerce-pagination ul li a:hover,
  1566. .woocommerce ul.products .add_to_cart_button,
  1567. .woocommerce ul.products .added_to_cart,
  1568. .woocommerce .widget_price_filter .price_slider_amount .button,
  1569. .woocommerce .widget_price_filter .ui-slider .ui-slider-handle'
  1570. => 'background: %s',
  1571.  
  1572. 'blockquote:before,
  1573. .main-color,
  1574. .top-bar .social-icons a:hover,
  1575. .navigation .menu > li:hover > a,
  1576. .navigation .menu > .current-menu-item > a,
  1577. .navigation .menu > .current-menu-parent > a,
  1578. .navigation .menu > .current-menu-ancestor > a,
  1579. .navigation li:hover > a:after,
  1580. .navigation .current-menu-item > a:after,
  1581. .navigation .current-menu-parent > a:after,
  1582. .navigation .current-menu-ancestor > a:after,
  1583. .navigation .menu li li:hover > a,
  1584. .navigation .menu li li.current-menu-item > a,
  1585. .tag-share .post-tags a:hover,
  1586. .post-share-icons a:hover,
  1587. .post-share-icons .likes-count,
  1588. .author-box .author > span,
  1589. .comments-area .section-head .number,
  1590. .comments-list .comment-reply-link,
  1591. .main-footer.dark .social-link:hover,
  1592. .lower-footer .social-icons .fa,
  1593. .archive-head .sub-title,
  1594. .social-share a:hover,
  1595. .social-icons a:hover,
  1596. .post-meta .post-cat > a,
  1597. .post-meta-c .post-author > a,
  1598. .large-post-b .post-footer .author a,
  1599. .trendy-slider .post-cat a,
  1600. .main-pagination .next a:hover,
  1601. .main-pagination .previous a:hover,
  1602. .main-pagination.number .current,
  1603. .post-content a,
  1604. .widget-about .more,
  1605. .widget-about .social-icons .social-btn:hover,
  1606. .widget-social .social-link:hover,
  1607. .woocommerce .star-rating:before,
  1608. .woocommerce .star-rating span:before,
  1609. .woocommerce .amount,
  1610. .woocommerce .order-select .drop a:hover,
  1611. .woocommerce .order-select .drop li.active,
  1612. .woocommerce-page .order-select .drop a:hover,
  1613. .woocommerce-page .order-select .drop li.active,
  1614. .woocommerce .widget_price_filter .price_label .from,
  1615. .woocommerce .widget_price_filter .price_label .to,
  1616. .woocommerce div.product div.summary p.price,
  1617. .woocommerce div.product div.summary span.price,
  1618. .woocommerce #content div.product div.summary p.price,
  1619. .woocommerce #content div.product div.summary span.price'
  1620. => 'color: %s',
  1621.  
  1622. '.products-block .more-link:hover,
  1623. .beauty-slider .slick-dots .slick-active button,
  1624. .page-links .current,
  1625. .page-links a:hover,
  1626. .page-links > span,
  1627. .woocommerce nav.woocommerce-pagination ul li span.current,
  1628. .woocommerce nav.woocommerce-pagination ul li a:hover'
  1629. => 'border-color: %s',
  1630.  
  1631. '.post-title-alt:after,
  1632. .block-head-b .title'
  1633. => 'border-bottom: 1px solid %s',
  1634.  
  1635. '.widget_categories a:before,
  1636. .widget_product_categories a:before,
  1637. .widget_archive a:before'
  1638. => 'border: 1px solid %s',
  1639.  
  1640. // Beauty / Miranda
  1641. '.skin-miranda .sidebar .widget-title,
  1642. .skin-beauty .sidebar .widget-title'
  1643. => 'border-top-color: %s',
  1644.  
  1645. // For Rovella
  1646. '.skin-rovella .navigation.dark .menu li:hover > a,
  1647. .skin-rovella .navigation.dark .menu li li:hover > a,
  1648. .skin-rovella .navigation.dark .menu li:hover > a:after,
  1649. .skin-rovella .main-footer.stylish .copyright a'
  1650. => 'color: %s',
  1651.  
  1652. // Travel
  1653. '.skin-travel .navigation.dark .menu li:hover > a,
  1654. .skin-travel .navigation.dark .menu li li:hover > a,
  1655. .skin-travel .navigation.dark .menu li:hover > a:after,
  1656. .skin-travel .posts-carousel .block-heading .title,
  1657. .skin-travel .post-content .read-more a,
  1658. .skin-travel .sidebar .widget-title,
  1659. .skin-travel .grid-post-b .read-more-btn'
  1660. => 'color: %s',
  1661.  
  1662. '.skin-travel .sidebar .widget-title:after,
  1663. .skin-travel .post-content .read-more a:before,
  1664. .skin-travel .grid-post-b .read-more-btn'
  1665. => 'border-color: %s',
  1666.  
  1667. '.skin-travel .grid-post-b .read-more-btn:hover,
  1668. .skin-travel .posts-carousel .block-heading:after'
  1669. => 'background-color: %s',
  1670.  
  1671. )
  1672. )
  1673. ),
  1674.  
  1675. array(
  1676. 'name' => 'css_body_color',
  1677. 'value' => '#494949',
  1678. 'label' => esc_html_x('Post Body Color', 'Admin', 'cheerup'),
  1679. 'desc' => '',
  1680. 'type' => 'color',
  1681. 'css' => array(
  1682. 'selectors' => array(
  1683. '.post-content' => 'color: %s'
  1684. )
  1685. )
  1686. ),
  1687.  
  1688. array(
  1689. 'name' => 'css_site_bg',
  1690. 'value' => '#ffffff',
  1691. 'label' => esc_html_x('Site Background Color', 'Admin', 'cheerup'),
  1692. 'desc' => '',
  1693. 'type' => 'color',
  1694. 'css' => array(
  1695. 'selectors' => array(
  1696. 'body' => 'background-color: %s'
  1697. )
  1698. )
  1699. ),
  1700.  
  1701. array(
  1702. 'name' => 'css_footer_upper_bg',
  1703. 'value' => '#f7f7f7',
  1704. 'label' => esc_html_x('Upper Footer Background', 'Admin', 'cheerup'),
  1705. 'desc' => '',
  1706. 'type' => 'color',
  1707. 'css' => array(
  1708. 'selectors' => array(
  1709. '.upper-footer' => 'background-color: %s; border-top: 0'
  1710. )
  1711. )
  1712. ),
  1713.  
  1714. array(
  1715. 'name' => 'css_footer_lower_bg',
  1716. 'value' => '#f7f7f7',
  1717. 'label' => esc_html_x('Lower Footer Background', 'Admin', 'cheerup'),
  1718. 'desc' => '',
  1719. 'type' => 'color',
  1720. 'css' => array(
  1721. 'selectors' => array(
  1722. '.lower-footer' => 'background-color: %s; border-top: 0'
  1723. )
  1724. )
  1725. ),
  1726.  
  1727.  
  1728.  
  1729. ), // fields
  1730. ), // section
  1731.  
  1732. array(
  1733. 'id' => 'style-header',
  1734. 'title' => esc_html_x('Header', 'Admin', 'cheerup'),
  1735. 'fields' => array(
  1736.  
  1737. array(
  1738. 'name' => 'css_topbar_bg',
  1739. 'value' => '#fff',
  1740. 'label' => esc_html_x('Top Bar Background', 'Admin', 'cheerup'),
  1741. 'desc' => '',
  1742. 'type' => 'color',
  1743. 'css' => array(
  1744. 'selectors' => array(
  1745. '.top-bar-content, .top-bar.dark .top-bar-content' => 'background-color: %s',
  1746. '.top-bar .navigation' => 'background: transparent',
  1747. )
  1748. )
  1749. ),
  1750.  
  1751. array(
  1752. 'name' => 'css_topbar_social',
  1753. 'value' => '#fff',
  1754. 'label' => esc_html_x('Social Icons Color', 'Admin', 'cheerup'),
  1755. 'desc' => '',
  1756. 'type' => 'color',
  1757. 'css' => array(
  1758. 'selectors' => array(
  1759. '.main-head .social-icons a' => 'color: %s !important',
  1760. )
  1761. )
  1762. ),
  1763.  
  1764. array(
  1765. 'name' => 'css_topbar_search',
  1766. 'value' => '#fff',
  1767. 'label' => esc_html_x('Search Icon Color', 'Admin', 'cheerup'),
  1768. 'desc' => '',
  1769. 'type' => 'color',
  1770. 'css' => array(
  1771. 'selectors' => array(
  1772. '.main-head .search-submit' => 'color: %s !important',
  1773. )
  1774. )
  1775. ),
  1776.  
  1777. array(
  1778. 'name' => 'css_logo_padding_top',
  1779. 'value' => 70,
  1780. 'label' => esc_html_x('Logo Padding Top', 'Admin', 'cheerup'),
  1781. 'desc' => '',
  1782. 'type' => 'number',
  1783. 'css' => array(
  1784. 'selectors' => array(
  1785. '.main-head .title' => 'padding-top: %spx !important'
  1786. )
  1787. )
  1788. ),
  1789.  
  1790.  
  1791. array(
  1792. 'name' => 'css_logo_padding_bottom',
  1793. 'value' => 70,
  1794. 'label' => esc_html_x('Logo Padding Bottom', 'Admin', 'cheerup'),
  1795. 'desc' => '',
  1796. 'type' => 'number',
  1797. 'css' => array(
  1798. 'selectors' => array(
  1799. '.main-head .title' => 'padding-bottom: %spx !important'
  1800. )
  1801. )
  1802. ),
  1803.  
  1804. ), // fields
  1805. ), // section
  1806.  
  1807.  
  1808. array(
  1809. 'id' => 'style-navigation',
  1810. 'title' => esc_html_x('Navigation', 'Admin', 'cheerup'),
  1811. 'fields' => array(
  1812.  
  1813. array(
  1814. 'name' => 'css_nav_color',
  1815. 'value' => '#494949',
  1816. 'label' => esc_html_x('Top-level Links Color', 'Admin', 'cheerup'),
  1817. 'desc' => '',
  1818. 'type' => 'color',
  1819. 'css' => array(
  1820. 'selectors' => array(
  1821. '.navigation .menu > li > a, .navigation.dark .menu > li > a' => 'color: %s'
  1822. )
  1823. )
  1824. ),
  1825.  
  1826. array(
  1827. 'name' => 'css_nav_hover',
  1828. 'value' => '#318892',
  1829. 'label' => esc_html_x('Top-level Hover/Active', 'Admin', 'cheerup'),
  1830. 'desc' => '',
  1831. 'type' => 'color',
  1832. 'css' => array(
  1833. 'selectors' => array(
  1834. '.navigation .menu > li:hover > a,
  1835. .navigation .menu > .current-menu-item > a,
  1836. .navigation .menu > .current-menu-parent > a,
  1837. .navigation .menu > .current-menu-ancestor > a'
  1838. => 'color: %s !important'
  1839. )
  1840. )
  1841. ),
  1842.  
  1843. array(
  1844. 'name' => 'css_nav_drop_bg',
  1845. 'value' => '#fff',
  1846. 'label' => esc_html_x('Dropdown Background', 'Admin', 'cheerup'),
  1847. 'desc' => '',
  1848. 'type' => 'color',
  1849. 'css' => array(
  1850. 'selectors' => array(
  1851. '.navigation .menu ul, .navigation .menu .sub-menu' => 'border-color: transparent; background: %s !important',
  1852.  
  1853. // Use transparent borders to adapt to background
  1854. '.navigation .menu > li li a' => 'border-color: rgba(255, 255, 255, 0.07)'
  1855. )
  1856. )
  1857. ),
  1858.  
  1859. array(
  1860. 'name' => 'css_nav_drop_color',
  1861. 'value' => '#535353',
  1862. 'label' => esc_html_x('Dropdown Links Color', 'Admin', 'cheerup'),
  1863. 'desc' => '',
  1864. 'type' => 'color',
  1865. 'css' => array(
  1866. 'selectors' => array(
  1867. '.navigation .menu > li li a' => 'color: %s !important'
  1868. )
  1869. )
  1870. ),
  1871.  
  1872. array(
  1873. 'name' => 'css_nav_drop_hover',
  1874. 'value' => '#318892',
  1875. 'label' => esc_html_x('Dropdown Links Hover/Active', 'Admin', 'cheerup'),
  1876. 'desc' => '',
  1877. 'type' => 'color',
  1878. 'css' => array(
  1879. 'selectors' => array(
  1880. '.navigation .menu li li:hover > a, .navigation .menu li li.current-menu-item > a' => 'color: %s !important'
  1881. )
  1882. )
  1883. ),
  1884.  
  1885. ), // fields
  1886. ), // section
  1887.  
  1888.  
  1889. array(
  1890. 'id' => 'style-slider',
  1891. 'title' => esc_html_x('Featured Slider', 'Admin', 'cheerup'),
  1892. 'fields' => array(
  1893.  
  1894. array(
  1895. 'name' => 'css_beauty_overlay_bg',
  1896. 'value' => '#fff',
  1897. 'label' => esc_html_x('Beauty: Overlay Background', 'Admin', 'cheerup'),
  1898. 'desc' => '',
  1899. 'type' => 'color',
  1900. 'css' => array(
  1901. 'selectors' => array(
  1902. '.beauty-slider .overlay' => 'background-color: %s'
  1903. )
  1904. )
  1905. ),
  1906.  
  1907. array(
  1908. 'name' => 'css_beauty_overlay_opacity',
  1909. 'value' => 1,
  1910. 'label' => esc_html_x('Beauty: Overlay Opacity', 'Admin', 'cheerup'),
  1911. 'desc' => '',
  1912. 'type' => 'number',
  1913. 'input_attrs' => array('max' => 1, 'min' => 0, 'step' => 0.1),
  1914. 'css' => array(
  1915. 'selectors' => array(
  1916. '.beauty-slider .overlay' => 'background-color: rgba({css_beauty_overlay_bg}, %s)'
  1917. )
  1918. )
  1919. ),
  1920.  
  1921. array(
  1922. 'name' => 'css_trendy_overlay_bg',
  1923. 'value' => '#000',
  1924. 'label' => esc_html_x('Trendy: Overlay Background', 'Admin', 'cheerup'),
  1925. 'desc' => '',
  1926. 'type' => 'color',
  1927. 'css' => array(
  1928. 'selectors' => array(
  1929. '.trendy-slider .overlay' => 'background-color: %s'
  1930. )
  1931. )
  1932. ),
  1933.  
  1934. array(
  1935. 'name' => 'css_trendy_overlay_opacity',
  1936. 'value' => 0.15,
  1937. 'label' => esc_html_x('Trendy: Overlay Opacity', 'Admin', 'cheerup'),
  1938. 'desc' => '',
  1939. 'type' => 'input',
  1940. 'css' => array(
  1941. 'selectors' => array(
  1942. '.trendy-slider .overlay' => 'background-color: rgba({css_trendy_overlay_bg}, %s)'
  1943. )
  1944. )
  1945. ),
  1946.  
  1947. ), // fields
  1948. ), // section
  1949.  
  1950. array(
  1951. 'id' => 'style-posts',
  1952. 'title' => esc_html_x('Posts & Listings', 'Admin', 'cheerup'),
  1953. 'fields' => array(
  1954.  
  1955. array(
  1956. 'name' => 'css_posts_title_color',
  1957. 'value' => '',
  1958. 'label' => esc_html_x('Post Titles Color', 'Admin', 'cheerup'),
  1959. 'desc' => esc_html_x('Changing this affects post title colors globally. May require adjusting post titles in other areas below.', 'Admin', 'cheerup'),
  1960. 'type' => 'color',
  1961. 'css' => array(
  1962. 'selectors' => array(
  1963. '.post-title,
  1964. .post-title-alt,
  1965. .post-title a,
  1966. .post-title-alt a'
  1967. => 'color: %s !important'
  1968. )
  1969. )
  1970. ),
  1971.  
  1972. array(
  1973. 'name' => 'css_posts_title_footer',
  1974. 'value' => '',
  1975. 'label' => esc_html_x('Footer: Post Titles', 'Admin', 'cheerup'),
  1976. 'desc' => '',
  1977. 'type' => 'color',
  1978. 'css' => array(
  1979. 'selectors' => array(
  1980. '.main-footer .post-title,
  1981. .main-footer .product-title'
  1982. => 'color: %s !important'
  1983. )
  1984. )
  1985. ),
  1986.  
  1987. array(
  1988. 'name' => 'css_posts_title_footer',
  1989. 'value' => '',
  1990. 'label' => esc_html_x('Footer: Post Titles', 'Admin', 'cheerup'),
  1991. 'desc' => '',
  1992. 'type' => 'color',
  1993. 'css' => array(
  1994. 'selectors' => array(
  1995. '.main-footer .post-title,
  1996. .main-footer .product-title'
  1997. => 'color: %s !important'
  1998. )
  1999. )
  2000. ),
  2001.  
  2002. array(
  2003. 'name' => 'css_posts_title_menu',
  2004. 'value' => '',
  2005. 'label' => esc_html_x('Mega Menu: Post Titles', 'Admin', 'cheerup'),
  2006. 'desc' => '',
  2007. 'type' => 'color',
  2008. 'css' => array(
  2009. 'selectors' => array(
  2010. '.mega-menu .recent-posts .post-title'
  2011. => 'color: %s !important'
  2012. )
  2013. )
  2014. ),
  2015.  
  2016. array(
  2017. 'name' => 'css_posts_content_color',
  2018. 'value' => '',
  2019. 'label' => esc_html_x('Post Content Color', 'Admin', 'cheerup'),
  2020. 'desc' => '',
  2021. 'type' => 'color',
  2022. 'css' => array(
  2023. 'selectors' => array(
  2024. '.post-content' => 'color: %s'
  2025. )
  2026. )
  2027. ),
  2028.  
  2029.  
  2030. array(
  2031. 'name' => 'css_post_meta',
  2032. 'value' => '',
  2033. 'label' => esc_html_x('Post Meta Color', 'Admin', 'cheerup'),
  2034. 'desc' => '',
  2035. 'type' => 'color',
  2036. 'css' => array(
  2037. 'selectors' => array(
  2038. '.post-meta,
  2039. .post-meta-b .date-link,
  2040. .post-meta-b .comments' => 'color: %s'
  2041. )
  2042. )
  2043. ),
  2044.  
  2045.  
  2046. array(
  2047. 'name' => 'css_post_meta',
  2048. 'value' => '',
  2049. 'label' => esc_html_x('Meta Category Color', 'Admin', 'cheerup'),
  2050. 'desc' => '',
  2051. 'type' => 'color',
  2052. 'css' => array(
  2053. 'selectors' => array(
  2054. '.post-meta .post-cat > a' => 'color: %s'
  2055. )
  2056. )
  2057. ),
  2058.  
  2059. ), // fields
  2060. ), // section
  2061.  
  2062.  
  2063. array(
  2064. 'id' => 'style-sidebar',
  2065. 'title' => esc_html_x('Sidebar', 'Admin', 'cheerup'),
  2066. 'fields' => array(
  2067.  
  2068. array(
  2069. 'name' => 'css_sidebar_widget_title',
  2070. 'value' => '',
  2071. 'label' => esc_html_x('Widget Titles Background', 'Admin', 'cheerup'),
  2072. 'desc' => '',
  2073. 'type' => 'color',
  2074. 'css' => array(
  2075. 'selectors' => array(
  2076. '.sidebar .widget:not(.widget_mc4wp_form_widget):not(.widget-subscribe) .widget-title' => 'background-color: %s',
  2077. )
  2078. )
  2079. ),
  2080.  
  2081. array(
  2082. 'name' => 'css_sidebar_title_color',
  2083. 'value' => '',
  2084. 'label' => esc_html_x('Widget Titles Color', 'Admin', 'cheerup'),
  2085. 'desc' => '',
  2086. 'type' => 'color',
  2087. 'css' => array(
  2088. 'selectors' => array(
  2089. '.sidebar .widget:not(.widget_mc4wp_form_widget):not(.widget-subscribe) .widget-title' => 'color: %s',
  2090. )
  2091. )
  2092. ),
  2093.  
  2094. array(
  2095. 'name' => 'css_sidebar_widget_margin',
  2096. 'value' => 45,
  2097. 'label' => esc_html_x('Widget Bottom Spacing', 'Admin', 'cheerup'),
  2098. 'desc' => '',
  2099. 'type' => 'number',
  2100. 'css' => array(
  2101. 'selectors' => array(
  2102. '.sidebar .widget' => 'margin-bottom: %spx'
  2103. )
  2104. )
  2105. ),
  2106.  
  2107. ), // fields
  2108. ), // section
  2109.  
  2110.  
  2111.  
  2112. ) // sections
  2113. ), // panel
  2114.  
  2115.  
  2116.  
  2117. array(
  2118. 'title' => esc_html_x('Typography & Fonts', 'Admin', 'cheerup'),
  2119. 'id' => 'sphere-typography',
  2120. 'desc' => esc_html_x('All the typography fonts are from Google Fonts. You can either select one from the list or click and type the name of any font from Google Fonts directory.', 'Admin', 'cheerup'),
  2121. 'sections' => array(
  2122. array(
  2123. 'id' => 'typography-fonts',
  2124. 'title' => esc_html_x('Fonts & Sizes', 'Admin', 'cheerup'),
  2125. 'fields' => array(
  2126. array(
  2127. 'name' => 'css_font_text',
  2128. 'label' => esc_html_x('Primary Font', 'Admin', 'cheerup'),
  2129. 'value' => array('font_name' => 'Merriweather'),
  2130. 'desc' => esc_html_x('Used for text mainly. Select from list or click and type your own Google Font name (or TypeKit if you have configured it).', 'Admin', 'cheerup'),
  2131. 'type' => 'typography',
  2132. 'typeface' => true, // is family
  2133. 'css' => array(
  2134. 'selectors' => '
  2135. body,
  2136. input,
  2137. textarea,
  2138. select,
  2139. blockquote,
  2140. .archive-head .description,
  2141. .text,
  2142. .post-content,
  2143. .textwidget,
  2144. .post-meta .post-cat > span,
  2145. .widget_categories a,
  2146. .widget_product_categories a,
  2147. .widget_archive a,
  2148. .woocommerce .woocommerce-message,
  2149. .woocommerce .woocommerce-error,
  2150. .woocommerce .woocommerce-info,
  2151. .woocommerce form .form-row,
  2152. .woocommerce .woocommerce-noreviews,
  2153. .woocommerce #reviews #comments ol.commentlist .description,
  2154. .woocommerce-cart .cart-empty,
  2155. .woocommerce-cart .cart-collaterals .cart_totals table',
  2156. )
  2157. ),
  2158.  
  2159. array(
  2160. 'name' => 'css_font_secondary',
  2161. 'label' => esc_html_x('Secondary Font', 'Admin', 'cheerup'),
  2162. 'value' => array('font_name' => 'Poppins'),
  2163. 'desc' => esc_html_x('Used for headings, meta, navigation and so on.', 'Admin', 'cheerup'),
  2164. 'type' => 'typography',
  2165. 'typeface' => true, // is family
  2166. 'css' => array(
  2167. 'selectors' => '
  2168. h1,
  2169. h2,
  2170. h3,
  2171. h4,
  2172. h5,
  2173. h6,
  2174. input[type="submit"],
  2175. button,
  2176. input[type="button"],
  2177. .button,
  2178. .modern-quote cite,
  2179. .top-bar-content,
  2180. .search-action .search-field,
  2181. .main-head .title,
  2182. .navigation,
  2183. .tag-share,
  2184. .post-share-b .service,
  2185. .author-box,
  2186. .comments-list .comment-content,
  2187. .post-nav .label,
  2188. .main-footer.dark .back-to-top,
  2189. .lower-footer .social-icons,
  2190. .main-footer .social-strip .social-link,
  2191. .main-footer.bold .links .menu-item,
  2192. .main-footer.bold .copyright,
  2193. .archive-head,
  2194. .cat-label a,
  2195. .section-head,
  2196. .post-title-alt,
  2197. .post-title,
  2198. .block-heading,
  2199. .block-head-b,
  2200. .small-post .post-title,
  2201. .likes-count .number,
  2202. .post-meta,
  2203. .grid-post-b .read-more-btn,
  2204. .list-post-b .read-more-btn,
  2205. .post-footer .read-more,
  2206. .post-footer .social-share,
  2207. .post-footer .social-icons,
  2208. .large-post-b .post-footer .author a,
  2209. .products-block .more-link,
  2210. .main-slider,
  2211. .slider-overlay .heading,
  2212. .large-slider,
  2213. .large-slider .heading,
  2214. .grid-slider .category,
  2215. .grid-slider .heading,
  2216. .carousel-slider .category,
  2217. .carousel-slider .heading,
  2218. .grid-b-slider .heading,
  2219. .bold-slider,
  2220. .bold-slider .heading,
  2221. .main-pagination,
  2222. .main-pagination .load-button,
  2223. .page-links,
  2224. .post-content .read-more,
  2225. .widget-about .more,
  2226. .widget-posts .post-title,
  2227. .widget-posts .posts.full .counter:before,
  2228. .widget-cta .label,
  2229. .social-follow .service-link,
  2230. .widget-twitter .meta .date,
  2231. .widget-twitter .follow,
  2232. .widget_categories,
  2233. .widget_product_categories,
  2234. .widget_archive,
  2235. .mobile-menu,
  2236. .woocommerce .main .button,
  2237. .woocommerce .quantity .qty,
  2238. .woocommerce nav.woocommerce-pagination,
  2239. .woocommerce-cart .post-content,
  2240. .woocommerce .woocommerce-ordering,
  2241. .woocommerce-page .woocommerce-ordering,
  2242. .woocommerce ul.products,
  2243. .woocommerce.widget,
  2244. .woocommerce div.product,
  2245. .woocommerce #content div.product,
  2246. .woocommerce-cart .cart-collaterals .cart_totals .button,
  2247. .woocommerce .checkout .shop_table thead th,
  2248. .woocommerce .checkout .shop_table .amount,
  2249. .woocommerce-checkout #payment #place_order,
  2250. .top-bar .posts-ticker,
  2251. .post-content h1,
  2252. .post-content h2,
  2253. .post-content h3,
  2254. .post-content h4,
  2255. .post-content h5,
  2256. .post-content h6,
  2257.  
  2258. .related-posts.grid-2 .post-title,
  2259. .related-posts .post-title,
  2260. .block-heading .title,
  2261. .single-cover .featured .post-title,
  2262. .single-creative .featured .post-title,
  2263. .single-magazine .post-top .post-title,
  2264. .author-box .author > a,
  2265. .section-head .title,
  2266. .comments-list .comment-author,
  2267. .sidebar .widget-title,
  2268. .upper-footer .widget .widget-title
  2269. ',
  2270. )
  2271. ),
  2272.  
  2273. array(
  2274. 'name' => 'css_font_sidebar_title',
  2275. 'label' => esc_html_x('Widget Titles', 'Admin', 'cheerup'),
  2276. 'value' => array('font_name' => 'Poppins', 'font_weight' => '600', 'font_size' => '12'),
  2277. 'desc' => '',
  2278. 'type' => 'typography',
  2279. 'css' => array(
  2280. 'selectors' => '.sidebar .widget-title',
  2281. )
  2282. ),
  2283.  
  2284.  
  2285. array(
  2286. 'name' => 'css_font_nav_links',
  2287. 'label' => esc_html_x('Navigation Links', 'Admin', 'cheerup'),
  2288. 'value' => array('font_name' => 'Poppins', 'font_weight' => '600', 'font_size' => '11'),
  2289. 'desc' => '',
  2290. 'type' => 'typography',
  2291. 'css' => array(
  2292. 'selectors' => '.navigation .menu > li > a',
  2293. )
  2294. ),
  2295.  
  2296. array(
  2297. 'name' => 'css_font_nav_drops',
  2298. 'label' => esc_html_x('Navigation Dropdowns', 'Admin', 'cheerup'),
  2299. 'value' => array('font_name' => 'Poppins', 'font_weight' => '600', 'font_size' => '11'),
  2300. 'desc' => '',
  2301. 'type' => 'typography',
  2302. 'css' => array(
  2303. 'selectors' => '.navigation .menu > li li a',
  2304. )
  2305. ),
  2306.  
  2307. array(
  2308. 'name' => 'css_font_titles_large',
  2309. 'label' => esc_html_x('Large Post Titles', 'Admin', 'cheerup'),
  2310. 'value' => array('font_name' => 'Poppins', 'font_weight' => '600', 'font_size' => '25'),
  2311. 'desc' => '',
  2312. 'type' => 'typography',
  2313. 'css' => array(
  2314. 'selectors' => '.post-title-alt',
  2315. )
  2316. ),
  2317.  
  2318. array(
  2319. 'name' => 'css_font_titles_grid',
  2320. 'label' => esc_html_x('Grid: Post Titles', 'Admin', 'cheerup'),
  2321. 'value' => array('font_name' => 'Poppins', 'font_weight' => '600', 'font_size' => '23'),
  2322. 'desc' => '',
  2323. 'type' => 'typography',
  2324. 'css' => array(
  2325. 'selectors' => '.grid-post .post-title-alt',
  2326. )
  2327. ),
  2328.  
  2329. array(
  2330. 'name' => 'css_font_titles_list',
  2331. 'label' => esc_html_x('List: Post Titles', 'Admin', 'cheerup'),
  2332. 'value' => array('font_name' => 'Poppins', 'font_weight' => '600', 'font_size' => '23'),
  2333. 'desc' => '',
  2334. 'type' => 'typography',
  2335. 'css' => array(
  2336. 'selectors' => '.list-post .post-tite',
  2337. )
  2338. ),
  2339.  
  2340. array(
  2341. 'name' => 'css_font_post_body',
  2342. 'label' => esc_html_x('Post Body Content', 'Admin', 'cheerup'),
  2343. 'value' => array('font_name' => 'Merriweather', 'font_weight' => '400', 'font_size' => '14'),
  2344. 'desc' => '',
  2345. 'type' => 'typography',
  2346. 'css' => array(
  2347. 'selectors' => '.post-content',
  2348. )
  2349. ),
  2350.  
  2351. array(
  2352. 'name' => 'css_font_post_h1',
  2353. 'label' => esc_html_x('Post Body H1', 'Admin', 'cheerup'),
  2354. 'value' => array('font_size' => '25'),
  2355. 'desc' => '',
  2356. 'type' => 'typography',
  2357. 'css' => array(
  2358. 'selectors' => 'h1',
  2359. )
  2360. ),
  2361.  
  2362. array(
  2363. 'name' => 'css_font_post_h2',
  2364. 'label' => esc_html_x('Post Body H2', 'Admin', 'cheerup'),
  2365. 'value' => array('font_size' => '23'),
  2366. 'desc' => '',
  2367. 'type' => 'typography',
  2368. 'css' => array(
  2369. 'selectors' => 'h2',
  2370. )
  2371. ),
  2372.  
  2373. array(
  2374. 'name' => 'css_font_post_h3',
  2375. 'label' => esc_html_x('Post Body H3', 'Admin', 'cheerup'),
  2376. 'value' => array('font_size' => '20'),
  2377. 'desc' => '',
  2378. 'type' => 'typography',
  2379. 'css' => array(
  2380. 'selectors' => 'h3',
  2381. )
  2382. ),
  2383.  
  2384. array(
  2385. 'name' => 'css_font_post_h4',
  2386. 'label' => esc_html_x('Post Body H4', 'Admin', 'cheerup'),
  2387. 'value' => array('font_size' => '18'),
  2388. 'desc' => '',
  2389. 'type' => 'typography',
  2390. 'css' => array(
  2391. 'selectors' => 'h4',
  2392. )
  2393. ),
  2394.  
  2395. array(
  2396. 'name' => 'css_font_post_h5',
  2397. 'label' => esc_html_x('Post Body H5', 'Admin', 'cheerup'),
  2398. 'value' => array('font_size' => '16'),
  2399. 'desc' => '',
  2400. 'type' => 'typography',
  2401. 'css' => array(
  2402. 'selectors' => 'h5',
  2403. )
  2404. ),
  2405.  
  2406. array(
  2407. 'name' => 'css_font_post_h6',
  2408. 'label' => esc_html_x('Post Body H6', 'Admin', 'cheerup'),
  2409. 'value' => array('font_size' => '14'),
  2410. 'desc' => '',
  2411. 'type' => 'typography',
  2412. 'css' => array(
  2413. 'selectors' => 'h6',
  2414. )
  2415. ),
  2416. ) // fields
  2417. ), // section
  2418.  
  2419. array(
  2420. 'id' => 'typography-advanced',
  2421. 'title' => esc_html_x('Typekit / Advanced', 'Admin', 'cheerup'),
  2422. 'fields' => array(
  2423.  
  2424. array(
  2425. 'name' => 'typekit_id',
  2426. 'label' => esc_html_x('Typekit Kit ID', 'Admin', 'cheerup'),
  2427. 'value' => '',
  2428. 'desc' => esc_html_x('Refer to the documentation to learn about using Typekit.', 'Admin', 'cheerup'),
  2429. 'type' => 'text'
  2430. ),
  2431.  
  2432. array(
  2433. 'name' => 'font_charset',
  2434. 'label' => esc_html_x('Google Font Charsets', 'Admin', 'cheerup'),
  2435. 'value' => array(),
  2436. 'type' => 'checkboxes',
  2437. 'options' => array(
  2438. 'latin' => 'Latin',
  2439. 'latin-ext' => 'Latin Extended',
  2440. 'cyrillic' => 'Cyrillic',
  2441. 'cyrillic-ext' => 'Cyrillic Extended',
  2442. 'greek' => 'Greek',
  2443. 'greek-ext' => 'Greek Extended',
  2444. 'vietnamese' => 'Vietnamese'
  2445. ),
  2446. ),
  2447.  
  2448. ), // fields
  2449. ), // section
  2450.  
  2451. ), // sections
  2452. ), // panel
  2453.  
  2454. array(
  2455. 'sections' => array(
  2456. array(
  2457. 'id' => 'import-demos',
  2458. 'title' => esc_html_x('Import Demos', 'Admin', 'cheerup'),
  2459. 'fields' => array(
  2460. array(
  2461. 'name' => 'import_info',
  2462. 'label' => esc_html_x('Import Theme Demos', 'Admin', 'cheerup'),
  2463. 'type' => 'content',
  2464. 'text' => '',
  2465. )
  2466.  
  2467. ),
  2468. ), // section
  2469.  
  2470. ) // sections
  2471.  
  2472. ), // panel
  2473.  
  2474. array(
  2475. 'sections' => array(
  2476. array(
  2477. 'id' => 'performance',
  2478. 'title' => esc_html_x('Performance', 'Admin', 'cheerup'),
  2479. 'fields' => array(
  2480.  
  2481. array(
  2482. 'name' => 'lazyload_enabled',
  2483. 'label' => esc_html_x('LazyLoad Images', 'Admin', 'cheerup'),
  2484. 'value' => 0,
  2485. 'desc' => '',
  2486. 'type' => 'checkbox',
  2487. ),
  2488.  
  2489. array(
  2490. 'name' => 'lazyload_type',
  2491. 'label' => esc_html_x('Lazy Loader Type', 'Admin', 'cheerup'),
  2492. 'value' => 'normal',
  2493. 'desc' => '',
  2494. 'type' => 'radio',
  2495. 'options' => array(
  2496. 'normal' => esc_html_x('Normal - Load Images on scroll', 'Admin', 'cheerup'),
  2497. 'smart' => esc_html_x('Smart - Preload Images on Desktops', 'Admin', 'cheerup')
  2498. )
  2499. ),
  2500.  
  2501. array(
  2502. 'name' => 'lazyload_aggressive',
  2503. 'label' => esc_html_x('Aggressive Lazy Load', 'Admin', 'cheerup'),
  2504. 'value' => 0,
  2505. 'desc' => esc_html_x('By default, only featured images are preloaded. Aggressive enables lazyloading on all sidebar widgets and footer as well.', 'Admin', 'cheerup'),
  2506. 'type' => 'checkbox',
  2507. ),
  2508.  
  2509. array(
  2510. 'name' => 'perf_additional_sizes',
  2511. 'label' => esc_html_x('Generate Extra Image Sizes', 'Admin', 'cheerup'),
  2512. 'value' => 0,
  2513. 'desc' => esc_html_x('Create additional image crops for more devices. WARNING: Requires powerful webhost, disable if you get HTTP ERROR on uploading images.', 'Admin', 'cheerup'),
  2514. 'type' => 'checkbox',
  2515. ),
  2516.  
  2517. ) // fields
  2518. ), // section
  2519.  
  2520. array(
  2521. 'id' => 'reset-customizer',
  2522. 'title' => esc_html_x('Reset Settings', 'Admin', 'cheerup'),
  2523. 'fields' => array(
  2524. array(
  2525. 'name' => 'reset_customizer',
  2526. 'value' => esc_html_x('Reset All Settings', 'Admin', 'cheerup'),
  2527. 'desc' => esc_html_x('Clicking the Reset button will revert all settings in the customizer except for menus, widgets and site identity.', 'Admin', 'cheerup'),
  2528. 'type' => 'button',
  2529. 'input_attrs' => array(
  2530. 'class' => 'button reset-customizer',
  2531. ),
  2532. )
  2533.  
  2534. ) // fields
  2535. ), // section
  2536.  
  2537. ) // sections
  2538.  
  2539. ), // panel
  2540.  
  2541. array(
  2542. 'sections' => array(
  2543. array(
  2544. 'id' => 'custom-css',
  2545. 'title' => esc_html_x('Custom CSS', 'Admin', 'cheerup'),
  2546. 'fields' => array(
  2547.  
  2548. array(
  2549. 'name' => 'css_custom',
  2550. 'value' => '',
  2551. 'label' => esc_html_x('Custom CSS', 'Admin', 'cheerup'),
  2552. 'desc' => '',
  2553. 'type' => 'textarea',
  2554. 'transport' => 'postMessage'
  2555. ),
  2556.  
  2557. ) // fields
  2558. ), // section
  2559.  
  2560. array(
  2561. 'id' => 'reset-customizer',
  2562. 'title' => esc_html_x('Reset Settings', 'Admin', 'cheerup'),
  2563. 'fields' => array(
  2564. array(
  2565. 'name' => 'reset_customizer',
  2566. 'value' => esc_html_x('Reset All Settings', 'Admin', 'cheerup'),
  2567. 'desc' => esc_html_x('Clicking the Reset button will revert all settings in the customizer except for menus, widgets and site identity.', 'Admin', 'cheerup'),
  2568. 'type' => 'button',
  2569. 'input_attrs' => array(
  2570. 'class' => 'button reset-customizer',
  2571. ),
  2572. )
  2573.  
  2574. ) // fields
  2575. ), // section
  2576.  
  2577. ) // sections
  2578.  
  2579. ), // panel
  2580.  
  2581. ));
Add Comment
Please, Sign In to add comment