/inc/catchresponsive-default-options.php

  1. <?php 
  2. /** 
  3. * Implement Default Theme/Customizer Options 
  4. * 
  5. * @package Catch Themes 
  6. * @subpackage Catch Responsive 
  7. * @since Catch Responsive 1.0 
  8. */ 
  9.  
  10. if ( ! defined( 'CATCHRESPONSIVE_THEME_VERSION' ) ) { 
  11. header( 'Status: 403 Forbidden' ); 
  12. header( 'HTTP/1.1 403 Forbidden' ); 
  13. exit(); 
  14.  
  15.  
  16. /** 
  17. * Returns the default options for catchresponsive. 
  18. * 
  19. * @since Catch Responsive 1.0 
  20. */ 
  21. function catchresponsive_get_default_theme_options() { 
  22.  
  23. $default_theme_options = array( 
  24. //Site Title an Tagline 
  25. 'logo' => get_template_directory_uri() . '/images/headers/logo.png',  
  26. 'logo_alt_text' => '',  
  27. 'logo_disable' => 1,  
  28. 'move_title_tagline' => 0,  
  29.  
  30. //Layout 
  31. 'theme_layout' => 'right-sidebar',  
  32. 'content_layout' => 'excerpt-image-left',  
  33. 'single_post_image_layout' => 'disabled',  
  34.  
  35. //Header Image 
  36. 'enable_featured_header_image' => 'disabled',  
  37. 'featured_image_size' => 'full',  
  38. 'featured_header_image_url' => '',  
  39. 'featured_header_image_alt' => '',  
  40. 'featured_header_image_base' => 0,  
  41.  
  42.  
  43. //Breadcrumb Options 
  44. 'breadcumb_option' => 0,  
  45. 'breadcumb_onhomepage' => 0,  
  46. 'breadcumb_seperator' => '»',  
  47.  
  48. //Custom CSS 
  49. 'custom_css' => '',  
  50.  
  51. //Scrollup Options 
  52. 'disable_scrollup' => 0,  
  53.  
  54. //Excerpt Options 
  55. 'excerpt_length' => '55',  
  56. 'excerpt_more_text' => __( 'Read More ...', 'catch-responsive' ),  
  57.  
  58. //Homepage / Frontpage Settings 
  59. 'front_page_category' => array(),  
  60.  
  61. //Pagination Options 
  62. 'pagination_type' => 'default',  
  63.  
  64. //Promotion Headline Options 
  65. 'promotion_headline_option' => 'disabled',  
  66. 'promotion_headline_type' => 'promotion-headline-content',  
  67. 'promotion_headline' => __( 'Catch Responsive is a Premium Responsive WordPress Theme', 'catch-responsive' ),  
  68. 'promotion_subheadline' => __( 'This is promotion headline. You can edit this from Appearance -> Customize -> Theme Options -> Promotion Headline Options', 'catch-responsive' ),  
  69. 'promotion_headline_button' => __( 'Reviews', 'catch-responsive' ),  
  70. 'promotion_headline_url' => esc_url( 'http://wordpress.org/support/view/theme-reviews/catch-responsive' ),  
  71. 'promotion_headline_target' => 1,  
  72.  
  73. //Search Options 
  74. 'search_text' => __( 'Search...', 'catch-responsive' ),  
  75.  
  76. //Basic Color Options 
  77. 'color_scheme' => 'light',  
  78. 'background_color' => '#f9f9f9',  
  79. 'header_textcolor' => '#111111',  
  80. 'mobile_menu_color_scheme' => 'light',  
  81.  
  82. //Featured Content Options 
  83. 'featured_content_option' => 'homepage',  
  84. 'featured_content_layout' => 'layout-three',  
  85. 'featured_content_position' => 0,  
  86. 'featured_content_headline' => __( 'Featured Content', 'catch-responsive' ),  
  87. 'featured_content_subheadline' => __( 'Here you can showcase the x number of Featured Content.', 'catch-responsive' ),  
  88. 'featured_content_type' => 'demo-featured-content',  
  89. 'featured_content_number' => '3',  
  90. 'featured_content_show' => 'excerpt',  
  91.  
  92. //Featured Slider Options 
  93. 'featured_slider_option' => 'homepage',  
  94. 'featured_slider_image_loader' => 'true',  
  95. 'featured_slide_transition_effect' => 'fadeout',  
  96. 'featured_slide_transition_delay' => '4',  
  97. 'featured_slide_transition_length' => '1',  
  98. 'featured_slider_type' => 'demo-featured-slider',  
  99. 'featured_slide_number' => '4',  
  100.  
  101. //Reset all settings 
  102. 'reset_all_settings' => 0,  
  103. ); 
  104.  
  105. return apply_filters( 'catchresponsive_default_theme_options', $default_theme_options ); 
  106.  
  107.  
  108. /** 
  109. * Returns an array of color schemes registered for catchresponsive. 
  110. * 
  111. * @since Catch Responsive 1.0 
  112. */ 
  113. function catchresponsive_color_schemes() { 
  114. $color_scheme_options = array( 
  115. 'light' => array( 
  116. 'value' => 'light',  
  117. 'label' => __( 'Light', 'catch-responsive' ),  
  118. ),  
  119. 'dark' => array( 
  120. 'value' => 'dark',  
  121. 'label' => __( 'Dark', 'catch-responsive' ),  
  122. ),  
  123. ); 
  124.  
  125. return apply_filters( 'catchresponsive_color_schemes', $color_scheme_options ); 
  126.  
  127.  
  128. /** 
  129. * Returns an array of layout options registered for catchresponsive. 
  130. * 
  131. * @since Catch Responsive 1.0 
  132. */ 
  133. function catchresponsive_layouts() { 
  134. $layout_options = array( 
  135. 'left-sidebar' => array( 
  136. 'value' => 'left-sidebar',  
  137. 'label' => __( 'Primary Sidebar, Content', 'catch-responsive' ),  
  138. ),  
  139. 'right-sidebar' => array( 
  140. 'value' => 'right-sidebar',  
  141. 'label' => __( 'Content, Primary Sidebar', 'catch-responsive' ),  
  142. ),  
  143. 'no-sidebar' => array( 
  144. 'value' => 'no-sidebar',  
  145. 'label' => __( 'No Sidebar ( Content Width )', 'catch-responsive' ),  
  146. ),  
  147. ); 
  148. return apply_filters( 'catchresponsive_layouts', $layout_options ); 
  149.  
  150.  
  151. /** 
  152. * Returns an array of content layout options registered for catchresponsive. 
  153. * 
  154. * @since Catch Responsive 1.0 
  155. */ 
  156. function catchresponsive_get_archive_content_layout() { 
  157. $layout_options = array( 
  158. 'excerpt-image-left' => array( 
  159. 'value' => 'excerpt-image-left',  
  160. 'label' => __( 'Show Excerpt', 'catch-responsive' ),  
  161. ),  
  162. 'full-content' => array( 
  163. 'value' => 'full-content',  
  164. 'label' => __( 'Show Full Content (No Featured Image)', 'catch-responsive' ),  
  165. ),  
  166. ); 
  167.  
  168. return apply_filters( 'catchresponsive_get_archive_content_layout', $layout_options ); 
  169.  
  170.  
  171. /** 
  172. * Returns an array of feature header enable options 
  173. * 
  174. * @since Catch Responsive 1.0 
  175. */ 
  176. function catchresponsive_enable_featured_header_image_options() { 
  177. $enable_featured_header_image_options = array( 
  178. 'homepage' => array( 
  179. 'value' => 'homepage',  
  180. 'label' => __( 'Homepage / Frontpage', 'catch-responsive' ),  
  181. ),  
  182. 'exclude-home' => array( 
  183. 'value' => 'exclude-home',  
  184. 'label' => __( 'Excluding Homepage', 'catch-responsive' ),  
  185. ),  
  186. 'exclude-home-page-post' => array( 
  187. 'value' => 'exclude-home-page-post',  
  188. 'label' => __( 'Excluding Homepage, Page/Post Featured Image', 'catch-responsive' ),  
  189. ),  
  190. 'entire-site' => array( 
  191. 'value' => 'entire-site',  
  192. 'label' => __( 'Entire Site', 'catch-responsive' ),  
  193. ),  
  194. 'entire-site-page-post' => array( 
  195. 'value' => 'entire-site-page-post',  
  196. 'label' => __( 'Entire Site, Page/Post Featured Image', 'catch-responsive' ),  
  197. ),  
  198. 'pages-posts' => array( 
  199. 'value' => 'pages-posts',  
  200. 'label' => __( 'Pages and Posts', 'catch-responsive' ),  
  201. ),  
  202. 'disabled' => array( 
  203. 'value' => 'disabled',  
  204. 'label' => __( 'Disabled', 'catch-responsive' ),  
  205. ),  
  206. ); 
  207.  
  208. return apply_filters( 'catchresponsive_enable_featured_header_image_options', $enable_featured_header_image_options ); 
  209.  
  210.  
  211. /** 
  212. * Returns an array of feature image size 
  213. * 
  214. * @since Catch Responsive 1.0 
  215. */ 
  216. function catchresponsive_featured_image_size_options() { 
  217. $featured_image_size_options = array( 
  218. 'full' => array( 
  219. 'value' => 'full',  
  220. 'label' => __( 'Full Image', 'catch-responsive' ),  
  221. ),  
  222. 'large' => array( 
  223. 'value' => 'large',  
  224. 'label' => __( 'Large Image', 'catch-responsive' ),  
  225. ),  
  226. 'slider' => array( 
  227. 'value' => 'slider',  
  228. 'label' => __( 'Slider Image', 'catch-responsive' ),  
  229. ),  
  230. ); 
  231.  
  232. return apply_filters( 'catchresponsive_featured_image_size_options', $featured_image_size_options ); 
  233.  
  234.  
  235. /** 
  236. * Returns an array of content and slider layout options registered for catchresponsive. 
  237. * 
  238. * @since Catch Responsive 1.0 
  239. */ 
  240. function catchresponsive_featured_slider_content_options() { 
  241. $featured_slider_content_options = array( 
  242. 'homepage' => array( 
  243. 'value' => 'homepage',  
  244. 'label' => __( 'Homepage / Frontpage', 'catch-responsive' ),  
  245. ),  
  246. 'entire-site' => array( 
  247. 'value' => 'entire-site',  
  248. 'label' => __( 'Entire Site', 'catch-responsive' ),  
  249. ),  
  250. 'disabled' => array( 
  251. 'value' => 'disabled',  
  252. 'label' => __( 'Disabled', 'catch-responsive' ),  
  253. ),  
  254. ); 
  255.  
  256. return apply_filters( 'catchresponsive_featured_slider_content_options', $featured_slider_content_options ); 
  257.  
  258.  
  259. /** 
  260. * Returns an array of feature content types registered for catchresponsive. 
  261. * 
  262. * @since Catch Responsive 1.0 
  263. */ 
  264. function catchresponsive_featured_content_types() { 
  265. $featured_content_types = array( 
  266. 'demo-featured-content' => array( 
  267. 'value' => 'demo-featured-content',  
  268. 'label' => __( 'Demo Featured Content', 'catch-responsive' ),  
  269. ),  
  270. 'featured-page-content' => array( 
  271. 'value' => 'featured-page-content',  
  272. 'label' => __( 'Featured Page Content', 'catch-responsive' ),  
  273. ); 
  274.  
  275. return apply_filters( 'catchresponsive_featured_content_types', $featured_content_types ); 
  276.  
  277.  
  278. /** 
  279. * Returns an array of featured content options registered for catchresponsive. 
  280. * 
  281. * @since Catch Responsive 1.0 
  282. */ 
  283. function catchresponsive_featured_content_layout_options() { 
  284. $featured_content_layout_option = array( 
  285. 'layout-three' => array( 
  286. 'value' => 'layout-three',  
  287. 'label' => __( '3 columns', 'catch-responsive' ),  
  288. ),  
  289. 'layout-four' => array( 
  290. 'value' => 'layout-four',  
  291. 'label' => __( '4 columns', 'catch-responsive' ),  
  292. ),  
  293. ); 
  294.  
  295. return apply_filters( 'catchresponsive_featured_content_layout_options', $featured_content_layout_option ); 
  296.  
  297.  
  298. /** 
  299. * Returns an array of featured content show registered for catchresponsive. 
  300. * 
  301. * @since Catch Responsive 1.0 
  302. */ 
  303. function catchresponsive_featured_content_show() { 
  304. $featured_content_show_option = array( 
  305. 'excerpt' => array( 
  306. 'value' => 'excerpt',  
  307. 'label' => __( 'Show Excerpt', 'catch-responsive' ),  
  308. ),  
  309. 'full-content' => array( 
  310. 'value' => 'full-content',  
  311. 'label' => __( 'Show Full Content', 'catch-responsive' ),  
  312. ),  
  313. 'hide-content' => array( 
  314. 'value' => 'hide-content',  
  315. 'label' => __( 'Hide Content', 'catch-responsive' ),  
  316. ),  
  317. ); 
  318.  
  319. return apply_filters( 'catchresponsive_featured_content_show', $featured_content_show_option ); 
  320.  
  321.  
  322. /** 
  323. * Returns an array of feature slider types registered for catchresponsive. 
  324. * 
  325. * @since Catch Responsive 1.0 
  326. */ 
  327. function catchresponsive_featured_slider_types() { 
  328. $featured_slider_types = array( 
  329. 'demo-featured-slider' => array( 
  330. 'value' => 'demo-featured-slider',  
  331. 'label' => __( 'Demo Featured Slider', 'catch-responsive' ),  
  332. ),  
  333. 'featured-page-slider' => array( 
  334. 'value' => 'featured-page-slider',  
  335. 'label' => __( 'Featured Page Slider', 'catch-responsive' ),  
  336. ),  
  337. ); 
  338.  
  339. return apply_filters( 'catchresponsive_featured_slider_types', $featured_slider_types ); 
  340.  
  341.  
  342. /** 
  343. * Returns an array of feature slider transition effects 
  344. * 
  345. * @since Catch Responsive 1.0 
  346. */ 
  347. function catchresponsive_featured_slide_transition_effects() { 
  348. $featured_slide_transition_effects = array( 
  349. 'fade' => array( 
  350. 'value' => 'fade',  
  351. 'label' => __( 'Fade', 'catch-responsive' ),  
  352. ),  
  353. 'fadeout' => array( 
  354. 'value' => 'fadeout',  
  355. 'label' => __( 'Fade Out', 'catch-responsive' ),  
  356. ),  
  357. 'none' => array( 
  358. 'value' => 'none',  
  359. 'label' => __( 'None', 'catch-responsive' ),  
  360. ),  
  361. 'scrollHorz'=> array( 
  362. 'value' => 'scrollHorz',  
  363. 'label' => __( 'Scroll Horizontal', 'catch-responsive' ),  
  364. ),  
  365. 'scrollVert'=> array( 
  366. 'value' => 'scrollVert',  
  367. 'label' => __( 'Scroll Vertical', 'catch-responsive' ),  
  368. ),  
  369. 'flipHorz' => array( 
  370. 'value' => 'flipHorz',  
  371. 'label' => __( 'Flip Horizontal', 'catch-responsive' ),  
  372. ),  
  373. 'flipVert' => array( 
  374. 'value' => 'flipVert',  
  375. 'label' => __( 'Flip Vertical', 'catch-responsive' ),  
  376. ),  
  377. 'tileSlide' => array( 
  378. 'value' => 'tileSlide',  
  379. 'label' => __( 'Tile Slide', 'catch-responsive' ),  
  380. ),  
  381. 'tileBlind' => array( 
  382. 'value' => 'tileBlind',  
  383. 'label' => __( 'Tile Blind', 'catch-responsive' ),  
  384. ),  
  385. 'shuffle' => array( 
  386. 'value' => 'shuffle',  
  387. 'label' => __( 'Shuffle', 'catch-responsive' ),  
  388. ); 
  389.  
  390. return apply_filters( 'catchresponsive_featured_slide_transition_effects', $featured_slide_transition_effects ); 
  391.  
  392.  
  393. /** 
  394. * Returns an array of featured slider image loader options 
  395. * 
  396. * @since Catch Responsive 2.1 
  397. */ 
  398. function catchresponsive_featured_slider_image_loader() { 
  399. $color_scheme_options = array( 
  400. 'true' => array( 
  401. 'value' => 'true',  
  402. 'label' => __( 'True', 'catch-responsive' ),  
  403. ),  
  404. 'wait' => array( 
  405. 'value' => 'wait',  
  406. 'label' => __( 'Wait', 'catch-responsive' ),  
  407. ),  
  408. 'false' => array( 
  409. 'value' => 'false',  
  410. 'label' => __( 'False', 'catch-responsive' ),  
  411. ),  
  412. ); 
  413.  
  414. return apply_filters( 'catchresponsive_color_schemes', $color_scheme_options ); 
  415.  
  416.  
  417. /** 
  418. * Returns an array of color schemes registered for catchresponsive. 
  419. * 
  420. * @since Catch Responsive 1.0 
  421. */ 
  422. function catchresponsive_get_pagination_types() { 
  423. $pagination_types = array( 
  424. 'default' => array( 
  425. 'value' => 'default',  
  426. 'label' => __( 'Default(Older Posts/Newer Posts)', 'catch-responsive' ),  
  427. ),  
  428. 'numeric' => array( 
  429. 'value' => 'numeric',  
  430. 'label' => __( 'Numeric', 'catch-responsive' ),  
  431. ),  
  432. 'infinite-scroll-click' => array( 
  433. 'value' => 'infinite-scroll-click',  
  434. 'label' => __( 'Infinite Scroll (Click)', 'catch-responsive' ),  
  435. ),  
  436. 'infinite-scroll-scroll' => array( 
  437. 'value' => 'infinite-scroll-scroll',  
  438. 'label' => __( 'Infinite Scroll (Scroll)', 'catch-responsive' ),  
  439. ),  
  440. ); 
  441.  
  442. return apply_filters( 'catchresponsive_get_pagination_types', $pagination_types ); 
  443.  
  444.  
  445. /** 
  446. * Returns an array of content featured image size. 
  447. * 
  448. * @since Catch Responsive 1.0 
  449. */ 
  450. function catchresponsive_single_post_image_layout_options() { 
  451. $single_post_image_layout_options = array( 
  452. 'featured' => array( 
  453. 'value' => 'featured',  
  454. 'label' => __( 'Featured', 'catch-responsive' ),  
  455. ),  
  456. 'full-size' => array( 
  457. 'value' => 'full-size',  
  458. 'label' => __( 'Full Size', 'catch-responsive' ),  
  459. ),  
  460. 'disabled' => array( 
  461. 'value' => 'disabled',  
  462. 'label' => __( 'Disabled', 'catch-responsive' ),  
  463. ),  
  464. ); 
  465. return apply_filters( 'catchresponsive_single_post_image_layout_options', $single_post_image_layout_options ); 
  466.  
  467.  
  468. /** 
  469. * Returns list of social icons currently supported 
  470. * 
  471. * @since Catch Responsive 1.0 
  472. */ 
  473. /** 
  474. * Returns list of social icons currently supported 
  475. * 
  476. * @since Catch Responsive 1.0 
  477. */ 
  478. function catchresponsive_get_social_icons_list() { 
  479. $catchresponsive_social_icons_list = array( 
  480. 'facebook_link' => array( 
  481. 'genericon_class' => 'facebook-alt',  
  482. 'label' => esc_html__( 'Facebook', 'catch-responsive' ) 
  483. ),  
  484. 'twitter_link' => array( 
  485. 'genericon_class' => 'twitter',  
  486. 'label' => esc_html__( 'Twitter', 'catch-responsive' ) 
  487. ),  
  488. 'googleplus_link' => array( 
  489. 'genericon_class' => 'googleplus-alt',  
  490. 'label' => esc_html__( 'Googleplus', 'catch-responsive' ) 
  491. ),  
  492. 'email_link' => array( 
  493. 'genericon_class' => 'mail',  
  494. 'label' => esc_html__( 'Email', 'catch-responsive' ) 
  495. ),  
  496. 'feed_link' => array( 
  497. 'genericon_class' => 'feed',  
  498. 'label' => esc_html__( 'Feed', 'catch-responsive' ) 
  499. ),  
  500. 'wordpress_link' => array( 
  501. 'genericon_class' => 'wordpress',  
  502. 'label' => esc_html__( 'WordPress', 'catch-responsive' ) 
  503. ),  
  504. 'github_link' => array( 
  505. 'genericon_class' => 'github',  
  506. 'label' => esc_html__( 'GitHub', 'catch-responsive' ) 
  507. ),  
  508. 'linkedin_link' => array( 
  509. 'genericon_class' => 'linkedin',  
  510. 'label' => esc_html__( 'LinkedIn', 'catch-responsive' ) 
  511. ),  
  512. 'pinterest_link' => array( 
  513. 'genericon_class' => 'pinterest',  
  514. 'label' => esc_html__( 'Pinterest', 'catch-responsive' ) 
  515. ),  
  516. 'flickr_link' => array( 
  517. 'genericon_class' => 'flickr',  
  518. 'label' => esc_html__( 'Flickr', 'catch-responsive' ) 
  519. ),  
  520. 'vimeo_link' => array( 
  521. 'genericon_class' => 'vimeo',  
  522. 'label' => esc_html__( 'Vimeo', 'catch-responsive' ) 
  523. ),  
  524. 'youtube_link' => array( 
  525. 'genericon_class' => 'youtube',  
  526. 'label' => esc_html__( 'YouTube', 'catch-responsive' ) 
  527. ),  
  528. 'tumblr_link' => array( 
  529. 'genericon_class' => 'tumblr',  
  530. 'label' => esc_html__( 'Tumblr', 'catch-responsive' ) 
  531. ),  
  532. 'instagram_link' => array( 
  533. 'genericon_class' => 'instagram',  
  534. 'label' => esc_html__( 'Instagram', 'catch-responsive' ) 
  535. ),  
  536. 'polldaddy_link' => array( 
  537. 'genericon_class' => 'polldaddy',  
  538. 'label' => esc_html__( 'PollDaddy', 'catch-responsive' ) 
  539. ),  
  540. 'codepen_link' => array( 
  541. 'genericon_class' => 'codepen',  
  542. 'label' => esc_html__( 'CodePen', 'catch-responsive' ) 
  543. ),  
  544. 'path_link' => array( 
  545. 'genericon_class' => 'path',  
  546. 'label' => esc_html__( 'Path', 'catch-responsive' ) 
  547. ),  
  548. 'dribbble_link' => array( 
  549. 'genericon_class' => 'dribbble',  
  550. 'label' => esc_html__( 'Dribbble', 'catch-responsive' ) 
  551. ),  
  552. 'skype_link' => array( 
  553. 'genericon_class' => 'skype',  
  554. 'label' => esc_html__( 'Skype', 'catch-responsive' ) 
  555. ),  
  556. 'digg_link' => array( 
  557. 'genericon_class' => 'digg',  
  558. 'label' => esc_html__( 'Digg', 'catch-responsive' ) 
  559. ),  
  560. 'reddit_link' => array( 
  561. 'genericon_class' => 'reddit',  
  562. 'label' => esc_html__( 'Reddit', 'catch-responsive' ) 
  563. ),  
  564. 'stumbleupon_link' => array( 
  565. 'genericon_class' => 'stumbleupon',  
  566. 'label' => esc_html__( 'Stumbleupon', 'catch-responsive' ) 
  567. ),  
  568. 'pocket_link' => array( 
  569. 'genericon_class' => 'pocket',  
  570. 'label' => esc_html__( 'Pocket', 'catch-responsive' ),  
  571. ),  
  572. 'dropbox_link' => array( 
  573. 'genericon_class' => 'dropbox',  
  574. 'label' => esc_html__( 'DropBox', 'catch-responsive' ),  
  575. ),  
  576. 'spotify_link' => array( 
  577. 'genericon_class' => 'spotify',  
  578. 'label' => esc_html__( 'Spotify', 'catch-responsive' ),  
  579. ),  
  580. 'foursquare_link' => array( 
  581. 'genericon_class' => 'foursquare',  
  582. 'label' => esc_html__( 'Foursquare', 'catch-responsive' ),  
  583. ),  
  584. 'twitch_link' => array( 
  585. 'genericon_class' => 'twitch',  
  586. 'label' => esc_html__( 'Twitch', 'catch-responsive' ),  
  587. ),  
  588. 'website_link' => array( 
  589. 'genericon_class' => 'website',  
  590. 'label' => esc_html__( 'Website', 'catch-responsive' ),  
  591. ),  
  592. 'phone_link' => array( 
  593. 'genericon_class' => 'phone',  
  594. 'label' => esc_html__( 'Phone', 'catch-responsive' ),  
  595. ),  
  596. 'handset_link' => array( 
  597. 'genericon_class' => 'handset',  
  598. 'label' => esc_html__( 'Handset', 'catch-responsive' ),  
  599. ),  
  600. 'cart_link' => array( 
  601. 'genericon_class' => 'cart',  
  602. 'label' => esc_html__( 'Cart', 'catch-responsive' ),  
  603. ),  
  604. 'cloud_link' => array( 
  605. 'genericon_class' => 'cloud',  
  606. 'label' => esc_html__( 'Cloud', 'catch-responsive' ),  
  607. ),  
  608. 'link_link' => array( 
  609. 'genericon_class' => 'link',  
  610. 'label' => esc_html__( 'Link', 'catch-responsive' ),  
  611. ),  
  612. ); 
  613.  
  614. return apply_filters( 'catchresponsive_social_icons_list', $catchresponsive_social_icons_list ); 
  615.  
  616.  
  617. /** 
  618. * Returns an array of metabox layout options registered for catchresponsive. 
  619. * 
  620. * @since Catch Responsive 1.0 
  621. */ 
  622. function catchresponsive_metabox_layouts() { 
  623. $layout_options = array( 
  624. 'default' => array( 
  625. 'id' => 'catchresponsive-layout-option',  
  626. 'value' => 'default',  
  627. 'label' => __( 'Default', 'catch-responsive' ),  
  628. ),  
  629. 'left-sidebar' => array( 
  630. 'id' => 'catchresponsive-layout-option',  
  631. 'value' => 'left-sidebar',  
  632. 'label' => __( 'Primary Sidebar, Content', 'catch-responsive' ),  
  633. ),  
  634. 'right-sidebar' => array( 
  635. 'id' => 'catchresponsive-layout-option',  
  636. 'value' => 'right-sidebar',  
  637. 'label' => __( 'Content, Primary Sidebar', 'catch-responsive' ),  
  638. ),  
  639. 'no-sidebar' => array( 
  640. 'id' => 'catchresponsive-layout-option',  
  641. 'value' => 'no-sidebar',  
  642. 'label' => __( 'No Sidebar ( Content Width )', 'catch-responsive' ),  
  643. ),  
  644. ); 
  645. return apply_filters( 'catchresponsive_layouts', $layout_options ); 
  646.  
  647. /** 
  648. * Returns an array of metabox header featured image options registered for catchresponsive. 
  649. * 
  650. * @since Catch Responsive 1.0 
  651. */ 
  652. function catchresponsive_metabox_header_featured_image_options() { 
  653. $header_featured_image_options = array( 
  654. 'default' => array( 
  655. 'id' => 'catchresponsive-header-image',  
  656. 'value' => 'default',  
  657. 'label' => __( 'Default', 'catch-responsive' ),  
  658. ),  
  659. 'enable' => array( 
  660. 'id' => 'catchresponsive-header-image',  
  661. 'value' => 'enable',  
  662. 'label' => __( 'Enable', 'catch-responsive' ),  
  663. ),  
  664. 'disable' => array( 
  665. 'id' => 'catchresponsive-header-image',  
  666. 'value' => 'disable',  
  667. 'label' => __( 'Disable', 'catch-responsive' ) 
  668. ); 
  669. return apply_filters( 'header_featured_image_options', $header_featured_image_options ); 
  670.  
  671.  
  672. /** 
  673. * Returns an array of metabox featured image options registered for catchresponsive. 
  674. * 
  675. * @since Catch Responsive 1.0 
  676. */ 
  677. function catchresponsive_metabox_featured_image_options() { 
  678. $featured_image_options = array( 
  679. 'default' => array( 
  680. 'id' => 'catchresponsive-featured-image',  
  681. 'value' => 'default',  
  682. 'label' => __( 'Default', 'catch-responsive' ),  
  683. ),  
  684. 'featured' => array( 
  685. 'id' => 'catchresponsive-featured-image',  
  686. 'value' => 'featured',  
  687. 'label' => __( 'Featured Image', 'catch-responsive' ) 
  688. ),  
  689. 'full-size' => array( 
  690. 'id' => 'catchresponsive-featured-image',  
  691. 'value' => 'full-size',  
  692. 'label' => __( 'Full Image', 'catch-responsive' ) 
  693. ),  
  694. 'disable' => array( 
  695. 'id' => 'catchresponsive-featured-image',  
  696. 'value' => 'disable',  
  697. 'label' => __( 'Disable Image', 'catch-responsive' ) 
  698. ); 
  699. return apply_filters( 'featured_image_options', $featured_image_options ); 
  700.  
  701.  
  702. /** 
  703. * Returns catchresponsive_contents registered for catchresponsive. 
  704. * 
  705. * @since Catch Responsive 1.0 
  706. */ 
  707. function catchresponsive_get_content() { 
  708. $theme_data = wp_get_theme(); 
  709.  
  710. $catchresponsive_content['left'] = sprintf( _x( 'Copyright © %1$s %2$s. All Rights Reserved.', '1: Year, 2: Site Title with home URL', 'catch-responsive' ), date( 'Y' ), '<a href="'. esc_url( home_url( '/' ) ) .'">'. esc_attr( get_bloginfo( 'name', 'display' ) ) . '</a>' ); 
  711.  
  712. $catchresponsive_content['right'] = esc_attr( $theme_data->get( 'Name') ) . ' ' . __( 'by', 'catch-responsive' ). ' <a target="_blank" href="'. esc_url( $theme_data->get( 'AuthorURI' ) ) .'">'. esc_attr( $theme_data->get( 'Author' ) ) .'</a>'; 
  713.  
  714. return apply_filters( 'catchresponsive_get_content', $catchresponsive_content ); 
  715.  
  716.  
  717. /** 
  718. * Returns the default options for Catch Responsive dark theme. 
  719. * 
  720. * @since Catch Responsive 1.8 
  721. */ 
  722. function catchresponsive_default_dark_color_options() { 
  723. $default_dark_color_options = array( 
  724. //Basic Color Options 
  725. 'background_color' => '#333333',  
  726. 'header_textcolor' => '#dddddd',  
  727. ); 
  728.  
  729. return apply_filters( 'catchresponsive_default_dark_color_options', $default_dark_color_options ); 
.