* Canuck is distributed under the terms of the GNU GPL. */ /** * PANEL and SECTION ARRAY * * This function contains the array that is used to set up the panels and sub panels. */ function canuck_get_customizer_groups() { $groups = array( 'canuck_general' => array( 'name' => 'canuck_general', 'title' => __( 'Canuck General', 'canuck' ), 'description' => '', 'priority' => 1, 'sections' => array( 'general_backup_options' => array( 'name' => 'general_backup_options', 'title' => __( 'Backup Options', 'canuck' ), 'description' => __( 'Backup options to a private page accessible with the password:Canuck.', 'canuck' ), 'priority' => 1, ), 'general_category_exclude' => array( 'name' => 'general_category_exclude', 'title' => __( 'Exclude Categories', 'canuck' ), 'description' => __( 'Exclude Categories from posts and lists', 'canuck' ), 'priority' => 2, ), 'general_flex' => array( 'name' => 'general_flex', 'title' => __( 'Flex Slider Options', 'canuck' ), 'description' => '', 'priority' => 3, ), 'general_jquery' => array( 'name' => 'general_jquery', 'title' => __( 'jQuery Options', 'canuck' ), 'description' => '', 'priority' => 4, ), ), ), 'canuck_layouts' => array( 'name' => 'canuck_layouts', 'title' => __( 'Canuck Layouts', 'canuck' ), 'description' => '', 'priority' => 2, 'sections' => array( 'layouts_general' => array( 'name' => 'layouts_general', 'title' => __( 'General Layout Options', 'canuck' ), 'description' => '', 'priority' => 1, ), 'layouts_index' => array( 'name' => 'layouts_index', 'title' => __( 'Default Page Setup', 'canuck' ), 'description' => '', 'priority' => 2, ), 'layouts_author' => array( 'name' => 'layouts_author', 'title' => __( 'Author Page Setup', 'canuck' ), 'description' => '', 'priority' => 3, ), 'layouts_category' => array( 'name' => 'layouts_category', 'title' => __( 'Category Page Setup', 'canuck' ), 'description' => '', 'priority' => 4, ), 'layouts_date' => array( 'name' => 'layouts_date', 'title' => __( 'Date Page Setup', 'canuck' ), 'description' => '', 'priority' => 5, ), 'layouts_search' => array( 'name' => 'layouts_search', 'title' => __( 'Search Page Setup', 'canuck' ), 'description' => '', 'priority' => 6, ), 'layouts_single' => array( 'name' => 'layouts_single', 'title' => __( 'Single Page Setup', 'canuck' ), 'description' => '', 'priority' => 7, ), 'layouts_tag' => array( 'name' => 'layouts_tag', 'title' => __( 'Tag Page Setup', 'canuck' ), 'description' => '', 'priority' => 8, ), 'layouts_404' => array( 'name' => 'layouts_404', 'title' => __( 'Error Page Setup', 'canuck' ), 'description' => '', 'priority' => 9, ), ), ), 'canuck_header' => array( 'name' => 'canuck_header', 'title' => __( 'Canuck Headers', 'canuck' ), 'description' => '', 'priority' => 3, 'sections' => array( 'image_header' => array( 'name' => 'image_header', 'title' => __( 'Image background options', 'canuck' ), 'description' => __( 'These options will be used when you are using a header image in your blog or in your home page.', 'canuck' ) . __( 'The options are applied to the menu and logo that overlay the image.', 'canuck' ), 'priority' => 1, ), 'contact_strip' => array( 'name' => 'contact_strip', 'title' => __( 'Contact Information', 'canuck' ), 'description' => __( 'This information will appear in the top header strip on the left hand side.', 'canuck' ), 'priority' => 2, ), ), ), 'canuck_footer' => array( 'name' => 'canuck_footer', 'title' => __( 'Canuck Footer', 'canuck' ), 'description' => '', 'priority' => 4, 'sections' => array( 'footer_footer' => array( 'name' => 'footer_footer', 'title' => __( 'Footer Options', 'canuck' ), 'description' => '', 'priority' => 1, ), 'footer_copyright' => array( 'name' => 'footer_copyright', 'title' => __( 'Copyright Strip Options', 'canuck' ), 'description' => '', 'priority' => 2, ), ), ), 'canuck_styles' => array( 'name' => 'canuck_styles', 'title' => __( 'Canuck Styles', 'canuck' ), 'description' => '', 'priority' => 6, 'sections' => array( 'styles_general' => array( 'name' => 'styles_general', 'title' => __( 'Canuck: General Styles', 'canuck' ), 'description' => __( 'General style changes', 'canuck' ), 'priority' => 1, ), ), ), 'canuck_blog' => array( 'name' => 'canuck_blog', 'title' => __( 'Canuck Blog', 'canuck' ), 'description' => '', 'priority' => 7, 'sections' => array( 'blog_general' => array( 'name' => 'blog_general', 'title' => __( 'General Blog Options', 'canuck' ), 'description' => '', 'priority' => 1, ), 'blog_posts' => array( 'name' => 'blog_posts', 'title' => __( 'Post Options', 'canuck' ), 'description' => '', 'priority' => 2, ), ), ), 'canuck_home' => array( 'name' => 'canuck_home', 'title' => __( 'Canuck Home Page', 'canuck' ), 'description' => __( 'Build a landing page with these options. ', 'canuck' ) . __( 'These options only apply when you create a new page and set Template = Home Page found in the page setup section.', 'canuck' ), 'priority' => 8, 'sections' => array( 'home_one' => array( 'name' => 'home_one', 'title' => __( 'Home Feature Options', 'canuck' ), 'description' => __( 'You can add a feature slider or image to your home page.', 'canuck' ), 'priority' => 1, ), 'home_layout' => array( 'name' => 'home_layout', 'title' => __( 'Section Layout Options', 'canuck' ), 'description' => __( 'You can use any Section you want and stack them in any order you want.', 'canuck' ), 'priority' => 1, ), 'home_section_1' => array( 'name' => 'home_section_1', 'title' => __( 'Section 1 Options', 'canuck' ), 'description' => __( 'Section 1 contains html text and an optional button.', 'canuck' ), 'priority' => 2, ), 'home_section_2' => array( 'name' => 'home_section_2', 'title' => __( 'Section 2 Options', 'canuck' ), 'description' => __( 'Section 2 contains 3 service boxes, allowing an image,title,html text,and a button.', 'canuck' ), 'priority' => 3, ), 'home_section_3' => array( 'name' => 'home_section_3', 'title' => __( 'Section 3 Options', 'canuck' ), 'description' => __( 'Section 3 contains html text and an optional button.', 'canuck' ), 'priority' => 4, ), 'home_section_4' => array( 'name' => 'home_section_4', 'title' => __( 'Section 4 Options', 'canuck' ), 'description' => __( 'Section 4 contains 2 service boxes, allowing an image,title,html text,and a button.', 'canuck' ), 'priority' => 5, ), 'home_section_5' => array( 'name' => 'home_section_5', 'title' => __( 'Section 5 Options', 'canuck' ), 'description' => __( 'Section 5 contains html text and an optional button.', 'canuck' ), 'priority' => 6, ), 'home_section_6' => array( 'name' => 'home_section_6', 'title' => __( 'Section 6 Options', 'canuck' ), 'description' => __( 'Section 6 contains 2 service boxes, allowing an image,title,html text,and a button.', 'canuck' ), 'priority' => 7, ), 'home_section_7' => array( 'name' => 'home_section_7', 'title' => __( 'Section 7 Options', 'canuck' ), 'description' => __( 'Section 7 contains html text and an optional button.', 'canuck' ), 'priority' => 8, ), 'home_section_8' => array( 'name' => 'home_section_8', 'title' => __( 'Section 8 Options', 'canuck' ), 'description' => __( 'Section contains 4 service boxes, allowing an image,title,html text,and a button.', 'canuck' ), 'priority' => 9, ), 'home_section_9' => array( 'name' => 'home_section_9', 'title' => __( 'Section 9 Options', 'canuck' ), 'description' => __( 'This section contains a simplified portfolio.', 'canuck' ) . ' ' . __( 'The portfolio is simply an image with a link to the featured post or a custom page.', 'canuck' ) . ' ' . __( 'Set up featured posts with the category selected.', 'canuck' ) . ' ' . __( 'Make sure to fill out Image Caption and Description as they show on the hover effect.', 'canuck' ), 'priority' => 10, ), 'home_section_10' => array( 'name' => 'home_section_10', 'title' => __( 'Section 10 Options', 'canuck' ), 'description' => __( 'Section contains a media area on the left half, title, text and button on the right half.', 'canuck' ), 'priority' => 11, ), 'home_section_11' => array( 'name' => 'home_section_11', 'title' => __( 'Section 11 Options', 'canuck' ), 'description' => __( 'Section contains title, text, button on left half, media area on right half', 'canuck' ), 'priority' => 12, ), 'home_section_12' => array( 'name' => 'home_section_12', 'title' => __( 'Section 12 Options', 'canuck' ), 'description' => __( 'Section contains title, text, medium sized carousel.', 'canuck' ), 'priority' => 13, ), 'home_section_13' => array( 'name' => 'home_section_13', 'title' => __( 'Section 13 Options', 'canuck' ), 'description' => __( 'Section contains title, text, small sized carousel.', 'canuck' ), 'priority' => 14, ), ), ), ); return apply_filters( 'canuck_get_customizer_groups', $groups ); } /** * OPTIONS ARRAY. * * This function sets up the array with the option parameters. * * format: * * 'option_id' => array( * 'name' => 'canuck_id',// keep the name the same as the option key. ALL OPTION NAMES MUST BE UNIQUE * 'title' => __( 'Title of Option' ,'text domain' ),// title to show in option * 'option_type' => 'text', // text, textarea, checkbox, radio, select, range, image, color, upload, scat, stag, mcat * // scat-single category dropdown, stag-single tag drop down, mcat-multiple category checkbox * 'setting_type' => 'theme_mod', //theme_mod->saves to theme options table called theme_mods_canuck[] * // ->will have to be re-entered for child theme * 'description' => __("Description of option", 'canuck' ), //additional documentation for option * 'section' => 'panel1_section1', //panel you want the option to appear under * 'priority' => 1, // order within the section that the option is displayed * 'default' => '', // sane default, what default do you want to use if the user does not update this option * 'transport' => 'refresh', // refresh-> page must be reloaded to use the option * // postMessage-> you have custom Javascript to instantly update the preview window * 'sanitize' => 'is_email' // sanitize callback function you want to use, see recommended below * // checkbox=>wp_validate_boolean, * // text(email) => is_email,text(nohtml)=>sanitize_text_field, * // text(html allowed)=>wp_kses_post,text(link) => esc_url_raw, * // textarea(no html allowed)=>esc_html,textarea(html allowed)=> wp_kses_post * // radio=>sanitize_text_field,select=>sanitize_text_field, * // image=>esc_url_raw,upload=>esc_url_raw, * // range=>sanitize_text_field,color=>sanitize_hex_color, * // scat=>sanitize_text_field,stag=>sanitize_text_field * ), * * For select and radio lists and the range slider there is a choices array to also set up, see the defaults below. * * NOTE: Panel 1 Section 1 contains a comlete set of option examples available for this script * Simply cut and paste to add the option of your choice */ function canuck_get_customizer_option_partameters() { global $button_hover_default; // First get the color scheme to allow defaults button hovers $color_scheme = get_theme_mod( 'canuck_color_scheme', 'gray_pink' ); if ( 'gray-green'=== $color_scheme ) { $button_hover_default = '#19c143'; } elseif ( 'gray-red' === $color_scheme ) { $button_hover_default = '#f20202'; } elseif ( 'gray-blue' === $color_scheme ) { $button_hover_default = '#16aee5'; } else { $button_hover_default = '#ed1651'; } $options = array( // Panel:themeslug_intro Section:intro_intro. 'canuck_backup_options_to_post' => array( 'name' => 'canuck_backup_options_to_post', 'title' => __( 'Backup Canuck Options', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Canuck contains a significant number of options.', 'canuck' ) . ' ' . __( 'Select the checkbox above to save your Canuck options to a page with a password: Canuck.', 'canuck' ) . ' ' . __( 'You will then be able to access the Canuck Options for content while setting up a different theme. ', 'canuck' ) . '

' . '' . __( 'If the box is checked , the page will be updated each time a Customize save is completed. ', 'canuck' ) . __( 'You can optionally check the box and Save, then un-check the box and save to update the page one time. ', 'canuck' ) . '', 'section' => 'general_backup_options', 'priority' => 1, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), // Panel:canuck_general Section:general_category_exclude. 'canuck_exclude_categories' => array( 'name' => 'canuck_exclude_categories', 'title' => __( 'Exclude Category ID\'s', 'canuck' ), 'option_type' => 'mcat', 'setting_type' => 'theme_mod', 'description' => __( 'Check category id\'s to exclude from posts and lists.', 'canuck' ), 'section' => 'general_category_exclude', 'priority' => 1, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), // Panel:canuck_general Section:general_flex. 'canuck_flex_slider_auto' => array( 'name' => 'canuck_flex_slider_auto', 'title' => __( 'Feature Slider Auto Mode', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'If checked the slider will start automatically.', 'canuck' ), 'section' => 'general_flex', 'priority' => 1, 'default' => 1, // Leave as 1. 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_flex_slider_effect' => array( 'name' => 'canuck_flex_slider_effect', 'title' => __( 'Feature Slider Transition Effect', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'slide' => __( 'Slide' , 'canuck' ), 'fade' => __( 'Fade' , 'canuck' ), ), 'description' => __( 'Use either a slide or fade to switch slides.', 'canuck' ), 'section' => 'general_flex', 'priority' => 2, 'default' => 'fade', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_flex_slider_pause' => array( 'name' => 'canuck_flex_slider_pause', 'title' => __( 'Feature Slider Pause Time', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( '4000' => '4000', '5000' => '5000', '6000' => '6000', '7000' => '7000', '8000' => '8000', '9000' => '9000', '10000' => '10000', '11000' => '11000', '12000' => '12000', ), 'description' => __( 'How long before the slide changes in milliseconds.', 'canuck' ), 'section' => 'general_flex', 'priority' => 3, 'default' => '5000', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_flex_slider_trans' => array( 'name' => 'canuck_flex_slider_trans', 'title' => __( 'Feature Slider Transition Time', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( '500' => '500', '600' => '600', '750' => '750', '1000' => '1000', '1250' => '1250', '1500' => '1500', '1750' => '1750', '2000' => '2000', ), 'description' => __( 'How long for the slide to switch from start of change to end of change in milliseconds.', 'canuck' ), 'section' => 'general_flex', 'priority' => 4, 'default' => '600', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_flex_gallery_auto' => array( 'name' => 'canuck_flex_gallery_auto', 'title' => __( 'Gallery Slider Auto Mode', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'If checked the slider will start automatically.', 'canuck' ), 'section' => 'general_flex', 'priority' => 5, 'default' => 0, // Leave as 0. 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_flex_gallery_effect' => array( 'name' => 'canuck_flex_gallery_effect', 'title' => __( 'Gallery Slider Transition Effect', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'slide' => __( 'Slide' , 'canuck' ), 'fade' => __( 'Fade' , 'canuck' ), ), 'description' => __( 'Use either a slide or fade to switch slides.', 'canuck' ), 'section' => 'general_flex', 'priority' => 6, 'default' => 'fade', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_flex_gallery_pause' => array( 'name' => 'canuck_flex_gallery_pause', 'title' => __( 'Gallery Slider Pause Time', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( '4000' => '4000', '5000' => '5000', '6000' => '6000', '7000' => '7000', '8000' => '8000', '9000' => '9000', '10000' => '10000', '11000' => '11000', '12000' => '12000', ), 'description' => __( 'How long before the slide changes in milliseconds.', 'canuck' ), 'section' => 'general_flex', 'priority' => 7, 'default' => '5000', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_flex_gallery_trans' => array( 'name' => 'canuck_flex_gallery_trans', 'title' => __( 'Gallery Slider Transition Time', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( '500' => '500', '600' => '600', '750' => '750', '1000' => '1000', '1250' => '1250', '1500' => '1500', '1750' => '1750', '2000' => '2000', ), 'description' => __( 'How long for the slide to switch from start of change to end of change in milliseconds.', 'canuck' ), 'section' => 'general_flex', 'priority' => 8, 'default' => '600', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_disable_widget_slider' => array( 'name' => 'canuck_disable_widget_slider', 'title' => __( 'Disable the widget flex slider', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'If users do not want to use the widget slider, check this box.', 'canuck' ), 'section' => 'general_flex', 'priority' => 9, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), // Panel:canuck_general Section:general_jquery. 'canuck_disable_colorboxjs' => array( 'name' => 'canuck_disable_colorboxjs', 'title' => __( 'Disable colorbox.js plugin', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'colorbox.js is a javascript image plugin', 'canuck' ), 'section' => 'general_jquery', 'priority' => 1, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_disable_fitvidsjs' => array( 'name' => 'canuck_disable_fitvidsjs', 'title' => __( 'Disable fitvids.js plugin', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'fitvids.js is the responsive video javascript plugin', 'canuck' ), 'section' => 'general_jquery', 'priority' => 2, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_disable_smoothscroll' => array( 'name' => 'canuck_disable_smoothscroll', 'title' => __( 'Disable smooth scroll js script', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Click to disable this feature', 'canuck' ), 'section' => 'general_jquery', 'priority' => 3, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_disable_scrollreveal' => array( 'name' => 'canuck_disable_scrollreveal', 'title' => __( 'Disable scrollreveal.js plugin', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Click to disable this feature. ', 'canuck' ) . __( 'Scroll Reveal is used for home page section animation.', 'canuck' ), 'section' => 'general_jquery', 'priority' => 4, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), // Panel:canuck_layouts Section:layouts_general. 'canuck_breadcrumbs' => array( 'name' => 'canuck_breadcrumbs', 'title' => __( 'Include Breadcrumbs', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'To use breadcrumbs you must install a plugin called "Breadcrumb Trail" by Justin Tadlock.', 'canuck' ), 'section' => 'layouts_general', 'priority' => 2, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), // Panel:canuck_layouts Section:layouts_index. 'canuck_index_layout' => array( 'name' => 'canuck_index_layout', 'title' => __( 'Layout Option', 'canuck' ), 'option_type' => 'radio_image', 'setting_type' => 'theme_mod', 'choices' => array( 'left_sidebar' => get_template_directory_uri() . '/images/A-C.png', 'right_sidebar' => get_template_directory_uri() . '/images/C-A.png', 'both_sidebars' => get_template_directory_uri() . '/images/A-C-B.png', 'fullwidth' => get_template_directory_uri() . '/images/FW.png', ), 'description' => __( 'Select a layout from the list', 'canuck' ), 'section' => 'layouts_index', 'priority' => 1, 'default' => 'right_sidebar', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_index_title' => array( 'name' => 'canuck_index_title', 'title' => __( 'Disable Title', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to remove the title', 'canuck' ), 'section' => 'layouts_index', 'priority' => 2, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), // Panel:canuck_layouts Section:layouts_author. 'canuck_author_layout' => array( 'name' => 'canuck_author_layout', 'title' => __( 'Layout Option', 'canuck' ), 'option_type' => 'radio_image', 'setting_type' => 'theme_mod', 'choices' => array( 'left_sidebar' => get_template_directory_uri() . '/images/A-C.png', 'right_sidebar' => get_template_directory_uri() . '/images/C-A.png', 'both_sidebars' => get_template_directory_uri() . '/images/A-C-B.png', 'fullwidth' => get_template_directory_uri() . '/images/FW.png', ), 'description' => __( 'Select a layout from the list', 'canuck' ), 'section' => 'layouts_author', 'priority' => 1, 'default' => 'right_sidebar', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_include_author_bio' => array( 'name' => 'canuck_include_author_bio', 'title' => __( 'Include author bio', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check this include author avatar and bio', 'canuck' ), 'section' => 'layouts_author', 'priority' => 3, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), // Panel:canuck_layouts Section:layouts_category. 'canuck_category_layout' => array( 'name' => 'canuck_category_layout', 'title' => __( 'Layout Option', 'canuck' ), 'option_type' => 'radio_image', 'setting_type' => 'theme_mod', 'choices' => array( 'left_sidebar' => get_template_directory_uri() . '/images/A-C.png', 'right_sidebar' => get_template_directory_uri() . '/images/C-A.png', 'both_sidebars' => get_template_directory_uri() . '/images/A-C-B.png', 'fullwidth' => get_template_directory_uri() . '/images/FW.png', ), 'description' => __( 'Select a layout from the list', 'canuck' ), 'section' => 'layouts_category', 'priority' => 1, 'default' => 'right_sidebar', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), // Panel:canuck_layouts Section:layouts_date. 'canuck_date_layout' => array( 'name' => 'canuck_date_layout', 'title' => __( 'Layout Option', 'canuck' ), 'option_type' => 'radio_image', 'setting_type' => 'theme_mod', 'choices' => array( 'left_sidebar' => get_template_directory_uri() . '/images/A-C.png', 'right_sidebar' => get_template_directory_uri() . '/images/C-A.png', 'both_sidebars' => get_template_directory_uri() . '/images/A-C-B.png', 'fullwidth' => get_template_directory_uri() . '/images/FW.png', ), 'description' => __( 'Select a layout from the list', 'canuck' ), 'section' => 'layouts_date', 'priority' => 1, 'default' => 'right_sidebar', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), // Panel:canuck_layouts Section:layouts_search. 'canuck_search_layout' => array( 'name' => 'canuck_search_layout', 'title' => __( 'Layout Option', 'canuck' ), 'option_type' => 'radio_image', 'setting_type' => 'theme_mod', 'choices' => array( 'left_sidebar' => get_template_directory_uri() . '/images/A-C.png', 'right_sidebar' => get_template_directory_uri() . '/images/C-A.png', 'both_sidebars' => get_template_directory_uri() . '/images/A-C-B.png', 'fullwidth' => get_template_directory_uri() . '/images/FW.png', ), 'description' => __( 'Select a layout from the list', 'canuck' ), 'section' => 'layouts_search', 'priority' => 1, 'default' => 'right_sidebar', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), // Panel:canuck_layouts Section:layouts_single. 'canuck_single_post_layout' => array( 'name' => 'canuck_single_post_layout', 'title' => __( 'Layout Option', 'canuck' ), 'option_type' => 'radio_image', 'setting_type' => 'theme_mod', 'choices' => array( 'left_sidebar' => get_template_directory_uri() . '/images/A-C.png', 'right_sidebar' => get_template_directory_uri() . '/images/C-A.png', 'both_sidebars' => get_template_directory_uri() . '/images/A-C-B.png', 'fullwidth' => get_template_directory_uri() . '/images/FW.png', ), 'description' => __( 'Select a layout from the list', 'canuck' ), 'section' => 'layouts_single', 'priority' => 1, 'default' => 'right_sidebar', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_single_title' => array( 'name' => 'canuck_single_title', 'title' => __( 'Disable Title', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to remove the title', 'canuck' ), 'section' => 'layouts_single', 'priority' => 2, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_single_sidebar_a' => array( 'name' => 'canuck_single_sidebar_a', 'title' => __( 'Sidebar A', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'default-a' => __( 'Default Sidebar A' , 'canuck' ), 'default-b' => __( 'Default Sidebar B' , 'canuck' ), 'blog-a' => __( 'Blog Sidebar A' , 'canuck' ), 'blog-b' => __( 'Blog Sidebar B' , 'canuck' ), 'sidebar-1' => __( 'Extra Sidebar 1' , 'canuck' ), 'sidebar-2' => __( 'Extra Sidebar 2' , 'canuck' ), 'sidebar-3' => __( 'Extra Sidebar 3' , 'canuck' ), 'sidebar-4' => __( 'Extra Sidebar 4' , 'canuck' ), 'sidebar-5' => __( 'Extra Sidebar 5' , 'canuck' ), 'sidebar-6' => __( 'Extra Sidebar 6' , 'canuck' ), ), 'description' => __( 'select the widget panel you want to use', 'canuck' ), 'section' => 'layouts_single', 'priority' => 3, 'default' => 'blog-a', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_single_sidebar_b' => array( 'name' => 'canuck_single_sidebar_b', 'title' => __( 'Sidebar B', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'default-a' => __( 'Default Sidebar A' , 'canuck' ), 'default-b' => __( 'Default Sidebar B' , 'canuck' ), 'blog-a' => __( 'Blog Sidebar A' , 'canuck' ), 'blog-b' => __( 'Blog Sidebar B' , 'canuck' ), 'sidebar-1' => __( 'Extra Sidebar 1' , 'canuck' ), 'sidebar-2' => __( 'Extra Sidebar 2' , 'canuck' ), 'sidebar-3' => __( 'Extra Sidebar 3' , 'canuck' ), 'sidebar-4' => __( 'Extra Sidebar 4' , 'canuck' ), 'sidebar-5' => __( 'Extra Sidebar 5' , 'canuck' ), 'sidebar-6' => __( 'Extra Sidebar 6' , 'canuck' ), ), 'description' => __( 'select the widget panel you want to use', 'canuck' ), 'section' => 'layouts_single', 'priority' => 4, 'default' => 'blog-b', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), // Panel:canuck_layouts Section:layouts_tag. 'canuck_tag_layout' => array( 'name' => 'canuck_tag_layout', 'title' => __( 'Layout Option', 'canuck' ), 'option_type' => 'radio_image', 'setting_type' => 'theme_mod', 'choices' => array( 'left_sidebar' => get_template_directory_uri() . '/images/A-C.png', 'right_sidebar' => get_template_directory_uri() . '/images/C-A.png', 'both_sidebars' => get_template_directory_uri() . '/images/A-C-B.png', 'fullwidth' => get_template_directory_uri() . '/images/FW.png', ), 'description' => __( 'Select a layout from the list', 'canuck' ), 'section' => 'layouts_tag', 'priority' => 1, 'default' => 'right_sidebar', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), // Panel:canuck_layouts Section:layouts_error. 'canuck_404_layout' => array( 'name' => 'canuck_404_layout', 'title' => __( 'Layout Option', 'canuck' ), 'option_type' => 'radio_image', 'setting_type' => 'theme_mod', 'choices' => array( 'left_sidebar' => get_template_directory_uri() . '/images/A-C.png', 'right_sidebar' => get_template_directory_uri() . '/images/C-A.png', 'both_sidebars' => get_template_directory_uri() . '/images/A-C-B.png', 'fullwidth' => get_template_directory_uri() . '/images/FW.png', ), 'description' => __( 'Select a layout from the list', 'canuck' ), 'section' => 'layouts_404', 'priority' => 1, 'default' => 'right_sidebar', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), // Panel:canuck_header Section: image_header. 'canuck_image_header_background_color' => array( 'name' => 'canuck_image_header_background_color', 'title' => __( 'Header Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color. Used for the header overlay when a background image is used in the blog or home page.', 'canuck' ), 'section' => 'image_header', 'priority' => 1, 'default' => '#000000', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_image_header_background_opacity' => array( 'name' => 'canuck_image_header_background_opacity', 'title' => __( 'Header Background Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to place a dark shadow over the menu area background image.', 'canuck' ), 'section' => 'image_header', 'priority' => 2, 'default' => 0.5, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_image_header_logo' => array( 'name' => 'canuck_image_header_logo', 'title' => __( 'Logo to overlay image backgrounds', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'This logo will be used to overlay image backgrounds, if used on the home page and/or blog page. ', 'canuck' ) . __( 'If blank the logo set up in the "Site Identity" panel will be used. ', 'canuck' ) . __( 'Keep the logo less than 230px wide and 100px high.', 'canuck' ), 'section' => 'image_header', 'priority' => 3, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), // Panel:canuck_header Section: image_header. 'canuck_contact_hours' => array( 'name' => 'canuck_contact_hours', 'title' => __( 'Hours of Operation', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'No HTML allowed, suggest : M-F, 9-5', 'canuck' ), 'section' => 'contact_strip', 'priority' => 1, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_contact_phone' => array( 'name' => 'canuck_contact_phone', 'title' => __( 'Phone Number', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'No HTML allowed, Suggest : 1-800-123-4567', 'canuck' ), 'section' => 'contact_strip', 'priority' => 2, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_contact_page' => array( 'name' => 'canuck_contact_page', 'title' => __( 'Contact Page Link', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Create a contact page and provide the link here.', 'canuck' ), 'section' => 'contact_strip', 'priority' => 3, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), // Panel:canuck_footer Section:footer_footer. 'canuck_show_footer_top_strip' => array( 'name' => 'canuck_show_footer_top_strip', 'title' => __( 'Show Contact/Social strip in footer', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'This strip will be placed at the top of the footer.', 'canuck' ), 'section' => 'footer_footer', 'priority' => 0, 'default' => true, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_show_footer' => array( 'name' => 'canuck_show_footer', 'title' => __( 'Show footer area', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'The footer area with 3 or 4 widgetized columns will be shown.', 'canuck' ), 'section' => 'footer_footer', 'priority' => 1, 'default' => true, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_footer_background_image' => array( 'name' => 'canuck_footer_background_image', 'title' => __( 'Footer Background Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'Upload and use a background image', 'canuck' ), 'section' => 'footer_footer', 'priority' => 2, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_footer_overlay_opacity' => array( 'name' => 'canuck_footer_overlay_opacity', 'title' => __( 'Footer-Overlay Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to place a dark shadow over the background image.', 'canuck' ), 'section' => 'footer_footer', 'priority' => 3, 'default' => 0, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_footer_cols' => array( 'name' => 'canuck_footer_cols', 'title' => __( 'Select footer columns', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( '3' => '3', '4' => '4', ), 'description' => __( 'you can have 3 or 4 footer columns', 'canuck' ), 'section' => 'footer_footer', 'priority' => 4, 'default' => '3', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), // Panel:canuck_footer Section:footer_copyright. 'canuck_show_copyright_strip' => array( 'name' => 'canuck_show_copyright_strip', 'title' => __( 'Show Copyright Strip', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'you can choose to not show a copyright strip', 'canuck' ), 'section' => 'footer_copyright', 'priority' => 0, 'default' => true, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_left_copyright_text' => array( 'name' => 'canuck_left_copyright_text', 'title' => __( 'Copyright left text', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Some HTML allowed, suggest :', 'canuck' ) . ' &copy; ' . __( 'copyright YEAR', 'canuck' ) . "<a href='#'>www.yoursite.url</a>", 'section' => 'footer_copyright', 'priority' => 1, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_middle_copyright_text' => array( 'name' => 'canuck_middle_copyright_text', 'title' => __( 'Copyright middle text', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Some HTML allowed, suggest : site by', 'canuck' ) . " &nbsp; <a href='#'>www.developer.url</a>", 'section' => 'footer_copyright', 'priority' => 2, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_right_copyright_text' => array( 'name' => 'canuck_right_copyright_text', 'title' => __( 'Copyright right text', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Some HTML allowed,', 'canuck' ), 'section' => 'footer_copyright', 'priority' => 3, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), // Panel:canuck_styles Section:styles_general. 'canuck_color_scheme' => array( 'name' => 'canuck_color_scheme', 'title' => __( 'Color Scheme', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'gray-pink' => __( 'Gray with Pink accents' , 'canuck' ), 'gray-green' => __( 'Gray with Green accents' , 'canuck' ), 'gray-red' => __( 'Gray with Red accents' , 'canuck' ), 'gray-blue' => __( 'Gray with Blue accents' , 'canuck' ), ), 'description' => __( 'Select a color scheme for your site', 'canuck' ), 'section' => 'styles_general', 'priority' => 1, 'default' => 'gray-pink', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), // Panel:canuck_styles Section:styles_header_font. 'canuck_header_font' => array( 'name' => 'canuck_header_font', 'title' => __( 'Font for Headers', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'default' => __( 'default', 'canuck' ), 'Arial' => 'Arial', 'Artifika' => 'Artifika', 'Arvo' => 'Arvo', 'Book Antiqua' => 'Book Antiqua', 'Bubbler One' => 'Bubbler One', 'Cabin' => 'Cabin', 'Cambria' => 'Cambria', 'Comic Sans MS' => 'Comic Sans MS', 'Corben' => 'Corben', 'Droid Sans' => 'Droid Sans', 'Droid Serif' => 'Droid Serif', 'Great Vibes' => 'Great Vibes', 'Georgia' => 'Georgia', 'Josefin Sans' => 'Josefin Sans', 'Josefin Slab' => 'Josefin Slab', 'Karla' => 'Karla', 'Lato' => 'Lato', 'Lobster' => 'Lobster', 'Old Standard TT' => 'Old Standard TT', 'Open Sans' => __( 'Open Sans' , 'canuck' ), 'PT Sans' => 'PT Sans', 'PT Serif' => 'PT Serif', 'Puritan' => 'Puritan', 'Raleway' => 'Raleway', 'Tahoma' => 'Tahoma', 'Times New Roman' => 'Times New Roman', 'Titillium Web' => 'Titillium Web', 'Trebuchet MS' => 'Trebuchet MS', 'Ubuntu' => 'Ubuntu', 'Verdana' => 'Verdana', 'Vollkorn' => 'Vollkorn', ), 'description' => __( 'Select a font for headers', 'canuck' ), 'section' => 'styles_general', 'priority' => 2, 'default' => 'Open Sans', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), // Panel:canuck_styles Section:styles_body_font. 'canuck_body_font' => array( 'name' => 'canuck_body_font', 'title' => __( 'Font for Body Text', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'default' => __( 'default', 'canuck' ), 'Arial' => 'Arial', 'Artifika' => 'Artifika', 'Arvo' => 'Arvo', 'Book Antiqua' => 'Book Antiqua', 'Bubbler One' => 'Bubbler One', 'Cabin' => 'Cabin', 'Cambria' => 'Cambria', 'Comic Sans MS' => 'Comic Sans MS', 'Corben' => 'Corben', 'Droid Sans' => 'Droid Sans', 'Droid Serif' => 'Droid Serif', 'Great Vibes' => 'Great Vibes', 'Georgia' => 'Georgia', 'Josefin Sans' => 'Josefin Sans', 'Josefin Slab' => 'Josefin Slab', 'Karla' => 'Karla', 'Lato' => 'Lato', 'Lobster' => 'Lobster', 'Old Standard TT' => 'Old Standard TT', 'Open Sans' => __( 'Open Sans' , 'canuck' ), 'PT Sans' => 'PT Sans', 'PT Serif' => 'PT Serif', 'Puritan' => 'Puritan', 'Raleway' => 'Raleway', 'Tahoma' => 'Tahoma', 'Times New Roman' => 'Times New Roman', 'Titillium Web' => 'Titillium Web', 'Trebuchet MS' => 'Trebuchet MS', 'Ubuntu' => 'Ubuntu', 'Verdana' => 'Verdana', 'Vollkorn' => 'Vollkorn', ), 'description' => __( 'Select a font for main text', 'canuck' ), 'section' => 'styles_general', 'priority' => 2, 'default' => 'Open Sans', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), // Panel:canuck_styles Section:styles_custom_font. 'canuck_page_title_font' => array( 'name' => 'canuck_page_title_font', 'title' => __( 'Font for Page Titles', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'default' => __( 'default', 'canuck' ), 'Arial' => 'Arial', 'Artifika' => 'Artifika', 'Arvo' => 'Arvo', 'Book Antiqua' => 'Book Antiqua', 'Bubbler One' => 'Bubbler One', 'Cabin' => 'Cabin', 'Cambria' => 'Cambria', 'Comic Sans MS' => 'Comic Sans MS', 'Corben' => 'Corben', 'Droid Sans' => 'Droid Sans', 'Droid Serif' => 'Droid Serif', 'Great Vibes' => 'Great Vibes', 'Georgia' => 'Georgia', 'Josefin Sans' => 'Josefin Sans', 'Josefin Slab' => 'Josefin Slab', 'Karla' => 'Karla', 'Lato' => 'Lato', 'Lobster' => 'Lobster', 'Old Standard TT' => 'Old Standard TT', 'Open Sans' => __( 'Open Sans' , 'canuck' ), 'PT Sans' => 'PT Sans', 'PT Serif' => 'PT Serif', 'Puritan' => 'Puritan', 'Raleway' => 'Raleway', 'Tahoma' => 'Tahoma', 'Times New Roman' => 'Times New Roman', 'Titillium Web' => 'Titillium Web', 'Trebuchet MS' => 'Trebuchet MS', 'Ubuntu' => 'Ubuntu', 'Verdana' => 'Verdana', 'Vollkorn' => 'Vollkorn', ), 'description' => __( 'Select a font for page titles', 'canuck' ), 'section' => 'styles_general', 'priority' => 2, 'default' => 'Open Sans', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), // Panel:canuck_blog Section:blog_general. 'canuck_blog_title' => array( 'name' => 'canuck_blog_title', 'title' => __( 'Blog Title', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'If you choose to display a title this one is used', 'canuck' ), 'section' => 'blog_general', 'priority' => 1, 'default' => 'Blog', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_blog_title_option' => array( 'name' => 'canuck_blog_title_option', 'title' => __( 'Disable Title', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to remove the title', 'canuck' ), 'section' => 'blog_general', 'priority' => 2, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_blog_layout' => array( 'name' => 'canuck_blog_layout', 'title' => __( 'Layout Option', 'canuck' ), 'option_type' => 'radio_image', 'setting_type' => 'theme_mod', 'choices' => array( 'left_sidebar' => get_template_directory_uri() . '/images/A-C.png', 'right_sidebar' => get_template_directory_uri() . '/images/C-A.png', 'both_sidebars' => get_template_directory_uri() . '/images/A-C-B.png', 'fullwidth' => get_template_directory_uri() . '/images/FW.png', ), 'description' => __( 'Select a layout from the list', 'canuck' ), 'section' => 'blog_general', 'priority' => 3, 'default' => 'right_sidebar', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_blog_style' => array( 'name' => 'canuck_blog_style', 'title' => __( 'Blog Style', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'top_feature' => __( 'Top Feature - all layouts except fullwidth', 'canuck' ), 'side_feature' => __( 'Side Feature - all layouts except two sidebars', 'canuck' ), 'two_column_grid' => __( 'Two Column Grid - all layouts except two sidebars', 'canuck' ), 'three_column_grid' => __( 'Three Column Grid - only full width layouts', 'canuck' ), 'two_stamp' => __( 'Two Stamp Grid - all layouts except two sidebars', 'canuck' ), 'three_stamp' => __( 'Three Stamp Grid - only full width layouts', 'canuck' ), ), 'description' => __( 'Select a blog style from the dropdown list.', 'canuck' ), 'section' => 'blog_general', 'priority' => 4, 'default' => 'top_feature', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_blog_feature' => array( 'name' => 'canuck_blog_feature', 'title' => __( 'Blog Feature Options', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'background_image' => __( 'Background Image', 'canuck' ), 'button_nav' => __( 'Slider', 'canuck' ), 'no_feature' => __( 'No feature', 'canuck' ), ), 'description' => __( 'If you are using the Background Image option, set up the background image in the customizer "Header Image" tab.', 'canuck' ), 'section' => 'blog_general', 'priority' => 5, 'default' => 'background_image', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_blog_feature_category' => array( 'name' => 'canuck_blog_feature_category', 'title' => __( 'Feature Slider Category', 'canuck' ), 'option_type' => 'scat', 'setting_type' => 'theme_mod', 'description' => __( 'If using the Slider option, set up posts with a feature image.', 'canuck' ) . ' ' . __( 'Select the special category you use for those posts in the dropdown.', 'canuck' ), 'section' => 'blog_general', 'priority' => 6, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), // Panel:canuck_blog Section:blog_posts. 'canuck_use_excerpts' => array( 'name' => 'canuck_use_excerpts', 'title' => __( 'Use excerpts', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'The Top Feature and Side Feature blog layout options offer this feature.', 'canuck' ) . ' ' . __( 'Other layout options use excerpts.', 'canuck' ), 'section' => 'blog_posts', 'priority' => 1, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_excerpt_length' => array( 'name' => 'canuck_excerpt_length', 'title' => __( 'Excerpt Length', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Enter the excerpt length in words.', 'canuck' ), 'section' => 'blog_posts', 'priority' => 2, 'default' => '30', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_exclude_author' => array( 'name' => 'canuck_exclude_author', 'title' => __( 'Exclude author name in blog posts', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check and the author will not show', 'canuck' ), 'section' => 'blog_posts', 'priority' => 5, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_exclude_timestamp' => array( 'name' => 'canuck_exclude_timestamp', 'title' => __( 'Exclude date in blog posts', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check and the timestamp will not show', 'canuck' ), 'section' => 'blog_posts', 'priority' => 6, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_exclude_category' => array( 'name' => 'canuck_exclude_category', 'title' => __( 'Exclude categories in blog posts', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check and the category will not show', 'canuck' ), 'section' => 'blog_posts', 'priority' => 7, 'default' => false, // 0 for off 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_exclude_tags' => array( 'name' => 'canuck_exclude_tags', 'title' => __( 'Exclude tags in blog posts', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check and the tags will not show', 'canuck' ), 'section' => 'blog_posts', 'priority' => 8, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), // Panel:canuck_home Section:Home Template. 'canuck_home_feature' => array( 'name' => 'canuck_home_feature', 'title' => __( 'Home Page Feature', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'background_image' => __( 'Background Image', 'canuck' ), 'button_nav' => __( 'Slider', 'canuck' ), 'no_feature' => __( 'No feature', 'canuck' ), ), 'description' => __( 'If you are using the Background Image option, set up the background image in the customizer "Header Image" tab.', 'canuck' ), 'section' => 'home_one', 'priority' => 1, 'default' => 'background_image', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_home_feature_category' => array( 'name' => 'canuck_home_feature_category', 'title' => __( 'Home Slider Feature Category', 'canuck' ), 'option_type' => 'scat', 'setting_type' => 'theme_mod', 'description' => __( 'If using the Slider option, set up posts with a feature image.', 'canuck' ) . ' ' . __( 'Select the special category you use for those posts in the dropdown.', 'canuck' ), 'section' => 'home_one', 'priority' => 2, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_home_title' => array( 'name' => 'canuck_home_title', 'title' => __( 'Home Title', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Used when Home Page Feature is set to background image.', 'canuck' ) . ' ' . __( 'Uses Blog Title if blank.', 'canuck' ), 'section' => 'home_one', 'priority' => 3, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_home_description' => array( 'name' => 'canuck_home_description', 'title' => __( 'Home Description', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Used when Home Page Feature is set to background image.', 'canuck' ) . ' ' . __( 'Uses Blog Description if blank.', 'canuck' ), 'section' => 'home_one', 'priority' => 4, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), // Panel:canuck_home Section:home_layout. 'canuck_home_area_1' => array( 'name' => 'canuck_home_area_1', 'title' => __( 'Home Page Area 1', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'Section 1' => __( 'Section 1 - one column and button' , 'canuck' ), 'Section 2' => __( 'Section 2 - three column service box' , 'canuck' ), 'Section 3' => __( 'Section 3 - one column and button' , 'canuck' ), 'Section 4' => __( 'Section 4 - two column service box' , 'canuck' ), 'Section 5' => __( 'Section 5 - one column and button' , 'canuck' ), 'Section 6' => __( 'Section 6 - two column service box' , 'canuck' ), 'Section 7' => __( 'Section 7 - one column and button' , 'canuck' ), 'Section 8' => __( 'Section 8 - four column service box' , 'canuck' ), 'Section 9' => __( 'Section 9 - portfolio' , 'canuck' ), 'Section 10' => __( 'Section 10 - image left, content right' , 'canuck' ), 'Section 11' => __( 'Section 11 - content left, image right' , 'canuck' ), 'Section 12' => __( 'Section 12 - carousel medium size' , 'canuck' ), 'Section 13' => __( 'Section 13 - carousel small size' , 'canuck' ), 'none' => __( 'none' , 'canuck' ), ), 'description' => __( 'Set the section for Area 1', 'canuck' ), 'section' => 'home_layout', 'priority' => 1, 'default' => 'none', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_home_area_2' => array( 'name' => 'canuck_home_area_2', 'title' => __( 'Home Page Area 2', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'Section 1' => __( 'Section 1 - one column and button' , 'canuck' ), 'Section 2' => __( 'Section 2 - three column service box' , 'canuck' ), 'Section 3' => __( 'Section 3 - one column and button' , 'canuck' ), 'Section 4' => __( 'Section 4 - two column service box' , 'canuck' ), 'Section 5' => __( 'Section 5 - one column and button' , 'canuck' ), 'Section 6' => __( 'Section 6 - two column service box' , 'canuck' ), 'Section 7' => __( 'Section 7 - one column and button' , 'canuck' ), 'Section 8' => __( 'Section 8 - four column service box' , 'canuck' ), 'Section 9' => __( 'Section 9 - portfolio' , 'canuck' ), 'Section 10' => __( 'Section 10 - image left, content right' , 'canuck' ), 'Section 11' => __( 'Section 11 - content left, image right' , 'canuck' ), 'Section 12' => __( 'Section 12 - carousel medium size' , 'canuck' ), 'Section 13' => __( 'Section 13 - carousel small size' , 'canuck' ), 'none' => __( 'none' , 'canuck' ), ), 'description' => __( 'Set the section for Area 2', 'canuck' ), 'section' => 'home_layout', 'priority' => 2, 'default' => 'none', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_home_area_3' => array( 'name' => 'canuck_home_area_3', 'title' => __( 'Home Page Area 3', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'Section 1' => __( 'Section 1 - one column and button' , 'canuck' ), 'Section 2' => __( 'Section 2 - three column service box' , 'canuck' ), 'Section 3' => __( 'Section 3 - one column and button' , 'canuck' ), 'Section 4' => __( 'Section 4 - two column service box' , 'canuck' ), 'Section 5' => __( 'Section 5 - one column and button' , 'canuck' ), 'Section 6' => __( 'Section 6 - two column service box' , 'canuck' ), 'Section 7' => __( 'Section 7 - one column and button' , 'canuck' ), 'Section 8' => __( 'Section 8 - four column service box' , 'canuck' ), 'Section 9' => __( 'Section 9 - portfolio' , 'canuck' ), 'Section 10' => __( 'Section 10 - image left, content right' , 'canuck' ), 'Section 11' => __( 'Section 11 - content left, image right' , 'canuck' ), 'Section 12' => __( 'Section 12 - carousel medium size' , 'canuck' ), 'Section 13' => __( 'Section 13 - carousel small size' , 'canuck' ), 'none' => __( 'none' , 'canuck' ), ), 'description' => __( 'Set the section for Area 3', 'canuck' ), 'section' => 'home_layout', 'priority' => 4, 'default' => 'none', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_home_area_4' => array( 'name' => 'canuck_home_area_4', 'title' => __( 'Home Page Area 4', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'Section 1' => __( 'Section 1 - one column and button' , 'canuck' ), 'Section 2' => __( 'Section 2 - three column service box' , 'canuck' ), 'Section 3' => __( 'Section 3 - one column and button' , 'canuck' ), 'Section 4' => __( 'Section 4 - two column service box' , 'canuck' ), 'Section 5' => __( 'Section 5 - one column and button' , 'canuck' ), 'Section 6' => __( 'Section 6 - two column service box' , 'canuck' ), 'Section 7' => __( 'Section 7 - one column and button' , 'canuck' ), 'Section 8' => __( 'Section 8 - four column service box' , 'canuck' ), 'Section 9' => __( 'Section 9 - portfolio' , 'canuck' ), 'Section 10' => __( 'Section 10 - image left, content right' , 'canuck' ), 'Section 11' => __( 'Section 11 - content left, image right' , 'canuck' ), 'Section 12' => __( 'Section 12 - carousel medium size' , 'canuck' ), 'Section 13' => __( 'Section 13 - carousel small size' , 'canuck' ), 'none' => __( 'none' , 'canuck' ), ), 'description' => __( 'Set the section for Area 4', 'canuck' ), 'section' => 'home_layout', 'priority' => 4, 'default' => 'none', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_home_area_5' => array( 'name' => 'canuck_home_area_5', 'title' => __( 'Home Page Area 5', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'Section 1' => __( 'Section 1 - one column and button' , 'canuck' ), 'Section 2' => __( 'Section 2 - three column service box' , 'canuck' ), 'Section 3' => __( 'Section 3 - one column and button' , 'canuck' ), 'Section 4' => __( 'Section 4 - two column service box' , 'canuck' ), 'Section 5' => __( 'Section 5 - one column and button' , 'canuck' ), 'Section 6' => __( 'Section 6 - two column service box' , 'canuck' ), 'Section 7' => __( 'Section 7 - one column and button' , 'canuck' ), 'Section 8' => __( 'Section 8 - four column service box' , 'canuck' ), 'Section 9' => __( 'Section 9 - portfolio' , 'canuck' ), 'Section 10' => __( 'Section 10 - image left, content right' , 'canuck' ), 'Section 11' => __( 'Section 11 - content left, image right' , 'canuck' ), 'Section 12' => __( 'Section 12 - carousel medium size' , 'canuck' ), 'Section 13' => __( 'Section 13 - carousel small size' , 'canuck' ), 'none' => __( 'none' , 'canuck' ), ), 'description' => __( 'Set the section for Area 5', 'canuck' ), 'section' => 'home_layout', 'priority' => 5, 'default' => 'none', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_home_area_6' => array( 'name' => 'canuck_home_area_6', 'title' => __( 'Home Page Area 6', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'Section 1' => __( 'Section 1 - one column and button' , 'canuck' ), 'Section 2' => __( 'Section 2 - three column service box' , 'canuck' ), 'Section 3' => __( 'Section 3 - one column and button' , 'canuck' ), 'Section 4' => __( 'Section 4 - two column service box' , 'canuck' ), 'Section 5' => __( 'Section 5 - one column and button' , 'canuck' ), 'Section 6' => __( 'Section 6 - two column service box' , 'canuck' ), 'Section 7' => __( 'Section 7 - one column and button' , 'canuck' ), 'Section 8' => __( 'Section 8 - four column service box' , 'canuck' ), 'Section 9' => __( 'Section 9 - portfolio' , 'canuck' ), 'Section 10' => __( 'Section 10 - image left, content right' , 'canuck' ), 'Section 11' => __( 'Section 11 - content left, image right' , 'canuck' ), 'Section 12' => __( 'Section 12 - carousel medium size' , 'canuck' ), 'Section 13' => __( 'Section 13 - carousel small size' , 'canuck' ), 'none' => __( 'none' , 'canuck' ), ), 'description' => __( 'Set the section for Area 6', 'canuck' ), 'section' => 'home_layout', 'priority' => 6, 'default' => 'none', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_home_area_7' => array( 'name' => 'canuck_home_area_7', 'title' => __( 'Home Page Area 7', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'Section 1' => __( 'Section 1 - one column and button' , 'canuck' ), 'Section 2' => __( 'Section 2 - three column service box' , 'canuck' ), 'Section 3' => __( 'Section 3 - one column and button' , 'canuck' ), 'Section 4' => __( 'Section 4 - two column service box' , 'canuck' ), 'Section 5' => __( 'Section 5 - one column and button' , 'canuck' ), 'Section 6' => __( 'Section 6 - two column service box' , 'canuck' ), 'Section 7' => __( 'Section 7 - one column and button' , 'canuck' ), 'Section 8' => __( 'Section 8 - four column service box' , 'canuck' ), 'Section 9' => __( 'Section 9 - portfolio' , 'canuck' ), 'Section 10' => __( 'Section 10 - image left, content right' , 'canuck' ), 'Section 11' => __( 'Section 11 - content left, image right' , 'canuck' ), 'Section 12' => __( 'Section 12 - carousel medium size' , 'canuck' ), 'Section 13' => __( 'Section 13 - carousel small size' , 'canuck' ), 'none' => __( 'none' , 'canuck' ), ), 'description' => __( 'Set the section for Area 7', 'canuck' ), 'section' => 'home_layout', 'priority' => 7, 'default' => 'none', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_home_area_8' => array( 'name' => 'canuck_home_area_8', 'title' => __( 'Home Page Area 8', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'Section 1' => __( 'Section 1 - one column and button' , 'canuck' ), 'Section 2' => __( 'Section 2 - three column service box' , 'canuck' ), 'Section 3' => __( 'Section 3 - one column and button' , 'canuck' ), 'Section 4' => __( 'Section 4 - two column service box' , 'canuck' ), 'Section 5' => __( 'Section 5 - one column and button' , 'canuck' ), 'Section 6' => __( 'Section 6 - two column service box' , 'canuck' ), 'Section 7' => __( 'Section 7 - one column and button' , 'canuck' ), 'Section 8' => __( 'Section 8 - four column service box' , 'canuck' ), 'Section 9' => __( 'Section 9 - portfolio' , 'canuck' ), 'Section 10' => __( 'Section 10 - image left, content right' , 'canuck' ), 'Section 11' => __( 'Section 11 - content left, image right' , 'canuck' ), 'Section 12' => __( 'Section 12 - carousel medium size' , 'canuck' ), 'Section 13' => __( 'Section 13 - carousel small size' , 'canuck' ), 'none' => __( 'none' , 'canuck' ), ), 'description' => __( 'Set the section for Area 8', 'canuck' ), 'section' => 'home_layout', 'priority' => 8, 'default' => 'none', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_home_area_9' => array( 'name' => 'canuck_home_area_9', 'title' => __( 'Home Page Area 9', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'Section 1' => __( 'Section 1 - one column and button' , 'canuck' ), 'Section 2' => __( 'Section 2 - three column service box' , 'canuck' ), 'Section 3' => __( 'Section 3 - one column and button' , 'canuck' ), 'Section 4' => __( 'Section 4 - two column service box' , 'canuck' ), 'Section 5' => __( 'Section 5 - one column and button' , 'canuck' ), 'Section 6' => __( 'Section 6 - two column service box' , 'canuck' ), 'Section 7' => __( 'Section 7 - one column and button' , 'canuck' ), 'Section 8' => __( 'Section 8 - four column service box' , 'canuck' ), 'Section 9' => __( 'Section 9 - portfolio' , 'canuck' ), 'Section 10' => __( 'Section 10 - image left, content right' , 'canuck' ), 'Section 11' => __( 'Section 11 - content left, image right' , 'canuck' ), 'Section 12' => __( 'Section 12 - carousel medium size' , 'canuck' ), 'Section 13' => __( 'Section 13 - carousel small size' , 'canuck' ), 'none' => __( 'none' , 'canuck' ), ), 'description' => __( 'Set the section for Area 8', 'canuck' ), 'section' => 'home_layout', 'priority' => 9, 'default' => 'none', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_home_area_10' => array( 'name' => 'canuck_home_area_10', 'title' => __( 'Home Page Area 10', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'Section 1' => __( 'Section 1 - one column and button' , 'canuck' ), 'Section 2' => __( 'Section 2 - three column service box' , 'canuck' ), 'Section 3' => __( 'Section 3 - one column and button' , 'canuck' ), 'Section 4' => __( 'Section 4 - two column service box' , 'canuck' ), 'Section 5' => __( 'Section 5 - one column and button' , 'canuck' ), 'Section 6' => __( 'Section 6 - two column service box' , 'canuck' ), 'Section 7' => __( 'Section 7 - one column and button' , 'canuck' ), 'Section 8' => __( 'Section 8 - four column service box' , 'canuck' ), 'Section 9' => __( 'Section 9 - portfolio' , 'canuck' ), 'Section 10' => __( 'Section 10 - image left, content right' , 'canuck' ), 'Section 11' => __( 'Section 11 - content left, image right' , 'canuck' ), 'Section 12' => __( 'Section 12 - carousel medium size' , 'canuck' ), 'Section 13' => __( 'Section 13 - carousel small size' , 'canuck' ), 'none' => __( 'none' , 'canuck' ), ), 'description' => __( 'Set the section for Area 10', 'canuck' ), 'section' => 'home_layout', 'priority' => 10, 'default' => 'none', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_home_area_11' => array( 'name' => 'canuck_home_area_11', 'title' => __( 'Home Page Area 11', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'Section 1' => __( 'Section 1 - one column and button' , 'canuck' ), 'Section 2' => __( 'Section 2 - three column service box' , 'canuck' ), 'Section 3' => __( 'Section 3 - one column and button' , 'canuck' ), 'Section 4' => __( 'Section 4 - two column service box' , 'canuck' ), 'Section 5' => __( 'Section 5 - one column and button' , 'canuck' ), 'Section 6' => __( 'Section 6 - two column service box' , 'canuck' ), 'Section 7' => __( 'Section 7 - one column and button' , 'canuck' ), 'Section 8' => __( 'Section 8 - four column service box' , 'canuck' ), 'Section 9' => __( 'Section 9 - portfolio' , 'canuck' ), 'Section 10' => __( 'Section 10 - image left, content right' , 'canuck' ), 'Section 11' => __( 'Section 11 - content left, image right' , 'canuck' ), 'Section 12' => __( 'Section 12 - carousel medium size' , 'canuck' ), 'Section 13' => __( 'Section 13 - carousel small size' , 'canuck' ), 'none' => __( 'none' , 'canuck' ), ), 'description' => __( 'Set the section for Area 11', 'canuck' ), 'section' => 'home_layout', 'priority' => 11, 'default' => 'none', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_home_area_12' => array( 'name' => 'canuck_home_area_12', 'title' => __( 'Home Page Area 12', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'Section 1' => __( 'Section 1 - one column and button' , 'canuck' ), 'Section 2' => __( 'Section 2 - three column service box' , 'canuck' ), 'Section 3' => __( 'Section 3 - one column and button' , 'canuck' ), 'Section 4' => __( 'Section 4 - two column service box' , 'canuck' ), 'Section 5' => __( 'Section 5 - one column and button' , 'canuck' ), 'Section 6' => __( 'Section 6 - two column service box' , 'canuck' ), 'Section 7' => __( 'Section 7 - one column and button' , 'canuck' ), 'Section 8' => __( 'Section 8 - four column service box' , 'canuck' ), 'Section 9' => __( 'Section 9 - portfolio' , 'canuck' ), 'Section 10' => __( 'Section 10 - image left, content right' , 'canuck' ), 'Section 11' => __( 'Section 11 - content left, image right' , 'canuck' ), 'Section 12' => __( 'Section 12 - carousel medium size' , 'canuck' ), 'Section 13' => __( 'Section 13 - carousel small size' , 'canuck' ), 'none' => __( 'none' , 'canuck' ), ), 'description' => __( 'Set the section for Area 12', 'canuck' ), 'section' => 'home_layout', 'priority' => 12, 'default' => 'none', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_home_area_13' => array( 'name' => 'canuck_home_area_13', 'title' => __( 'Home Page Area 13', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'Section 1' => __( 'Section 1 - one column and button' , 'canuck' ), 'Section 2' => __( 'Section 2 - three column service box' , 'canuck' ), 'Section 3' => __( 'Section 3 - one column and button' , 'canuck' ), 'Section 4' => __( 'Section 4 - two column service box' , 'canuck' ), 'Section 5' => __( 'Section 5 - one column and button' , 'canuck' ), 'Section 6' => __( 'Section 6 - two column service box' , 'canuck' ), 'Section 7' => __( 'Section 7 - one column and button' , 'canuck' ), 'Section 8' => __( 'Section 8 - four column service box' , 'canuck' ), 'Section 9' => __( 'Section 9 - portfolio' , 'canuck' ), 'Section 10' => __( 'Section 10 - image left, content right' , 'canuck' ), 'Section 11' => __( 'Section 11 - content left, image right' , 'canuck' ), 'Section 12' => __( 'Section 12 - carousel medium size' , 'canuck' ), 'Section 13' => __( 'Section 13 - carousel small size' , 'canuck' ), 'none' => __( 'none' , 'canuck' ), ), 'description' => __( 'Set the section for Area 13', 'canuck' ), 'section' => 'home_layout', 'priority' => 13, 'default' => 'none', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), // Panel:canuck_home Section:home_section_1 ********************************************. 'canuck_section1_usage' => array( 'name' => 'canuck_section1_usage', 'title' => __( 'Section 1-Usage Options', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'normal' => 'normal', 'shortcode' => 'shortcode', 'widgetized' => 'widgetized', ), 'description' => __( 'Normal - all options apply.', 'canuck' ) . '
' . __( 'Widgetized - Drag your widget over to "Home Page Section 1" under "Appearance->Widgets".', 'canuck' ) . ' ' . __( 'Content, link and button options will not work for this option.', 'canuck' ) . '
' . __( 'Shortcode - Enter the shortcode you want to use in the shortcode text area box.', 'canuck' ) . ' ' . __( 'Link and button options will not work for this option.', 'canuck' ), 'section' => 'home_section_1', 'priority' => 1, 'default' => 'normal', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section1_background_image' => array( 'name' => 'canuck_section1_background_image', 'title' => __( 'Section 1-Background Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'Upload and use a background image', 'canuck' ), 'section' => 'home_section_1', 'priority' => 2, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section1_overlay_opacity' => array( 'name' => 'canuck_section1_overlay_opacity', 'title' => __( 'Section 1-Overlay Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to place a dark shadow over the background image.', 'canuck' ), 'section' => 'home_section_1', 'priority' => 3, 'default' => 0, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section1_use_parallax' => array( 'name' => 'canuck_section1_use_parallax', 'title' => __( 'Section 1-Use Parallax', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to use parallax effect for the image.', 'canuck' ), 'section' => 'home_section_1', 'priority' => 4, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section1_background_color' => array( 'name' => 'canuck_section1_background_color', 'title' => __( 'Section 1-Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color. Note this will not be used if a background image is set up.', 'canuck' ), 'section' => 'home_section_1', 'priority' => 5, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section1_background_color_opacity' => array( 'name' => 'canuck_section1_background_color_opacity', 'title' => __( 'Section 1-Background Color Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to set the opacity of the background color.', 'canuck' ), 'section' => 'home_section_1', 'priority' => 6, 'default' => 1, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section1_text_color' => array( 'name' => 'canuck_section1_text_color', 'title' => __( 'Section 1-Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a text color', 'canuck' ), 'section' => 'home_section_1', 'priority' => 7, 'default' => '#4c4c4c', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section1_text' => array( 'name' => 'canuck_section1_text', 'title' => __( 'Section 1-Content', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_1', 'priority' => 8, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section1_shortcode' => array( 'name' => 'canuck_section1_shortcode', 'title' => __( 'Section 1-Shortcode', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'Add your shortcode here if using shortcode as a Useage Option.', 'canuck' ), 'section' => 'home_section_1', 'priority' => 9, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_include_section1_button' => array( 'name' => 'canuck_include_section1_button', 'title' => __( 'Section 1-Link', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to use a link, then use the options below.', 'canuck' ), 'section' => 'home_section_1', 'priority' => 10, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section1_button_name' => array( 'name' => 'canuck_section1_button_name', 'title' => __( 'Section 1-Button Label', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed, use single quotes for classes', 'canuck' ), 'section' => 'home_section_1', 'priority' => 11, 'default' => " " . __( 'more', 'canuck' ), 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section1_button_link' => array( 'name' => 'canuck_section1_button_link', 'title' => __( 'Section 1-Button URI', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Format:http://your.website.url/contact/', 'canuck' ), 'section' => 'home_section_1', 'priority' => 12, 'default' => '#', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section1_button_background_color' => array( 'name' => 'canuck_section1_button_background_color', 'title' => __( 'Section 1-Button Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color for the button.', 'canuck' ), 'section' => 'home_section_1', 'priority' => 13, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section1_button_text_color' => array( 'name' => 'canuck_section1_button_text_color', 'title' => __( 'Section 1-Button Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a color for button text.', 'canuck' ), 'section' => 'home_section_1', 'priority' => 14, 'default' => $button_hover_default, 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section1_button_hover_background_color' => array( 'name' => 'canuck_section1_button_hover_background_color', 'title' => __( 'Section 1-Button Hover Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'The button changes to this color when a mouse pointer hovers over it.', 'canuck' ), 'section' => 'home_section_1', 'priority' => 15, 'default' => $button_hover_default, 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section1_button_hover_text_color' => array( 'name' => 'canuck_section1_button_hover_text_color', 'title' => __( 'Section 1-Button Hover Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'The button text changes to this color when a mouse pointer hovers over it.', 'canuck' ), 'section' => 'home_section_1', 'priority' => 16, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), // Panel:canuck_home Section:home_section_2 ====================================================. // General options for Section 2. 'canuck_section2_background_image' => array( 'name' => 'canuck_section2_background_image', 'title' => __( 'Section 2-Background Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'Upload and use a background image', 'canuck' ), 'section' => 'home_section_2', 'priority' => 1, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section2_overlay_opacity' => array( 'name' => 'canuck_section2_overlay_opacity', 'title' => __( 'Section 2-Overlay Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to place a dark shadow over the background image.', 'canuck' ), 'section' => 'home_section_2', 'priority' => 2, 'default' => 0, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section2_use_parallax' => array( 'name' => 'canuck_section2_use_parallax', 'title' => __( 'Section 2-Use Parallax', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to use parallax effect for the image.', 'canuck' ), 'section' => 'home_section_2', 'priority' => 3, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section2_background_color' => array( 'name' => 'canuck_section2_background_color', 'title' => __( 'Section 2-Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color. Note this will not be used if a background image is set up.', 'canuck' ), 'section' => 'home_section_2', 'priority' => 4, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section2_background_color_opacity' => array( 'name' => 'canuck_section2_background_color_opacity', 'title' => __( 'Section 2-Background Color Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to set the opacity of the background color.', 'canuck' ), 'section' => 'home_section_2', 'priority' => 5, 'default' => 1, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section2_text_color' => array( 'name' => 'canuck_section2_text_color', 'title' => __( 'Section 2-Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a text color', 'canuck' ), 'section' => 'home_section_2', 'priority' => 6, 'default' => '#4c4c4c', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section2_button_background_color' => array( 'name' => 'canuck_section2_button_background_color', 'title' => __( 'Section 2-Button Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color for the button.', 'canuck' ), 'section' => 'home_section_2', 'priority' => 7, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section2_button_text_color' => array( 'name' => 'canuck_section2_button_text_color', 'title' => __( 'Section 2-Button Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a text color for the button.', 'canuck' ), 'section' => 'home_section_2', 'priority' => 8, 'default' => $button_hover_default, 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section2_button_hover_background_color' => array( 'name' => 'canuck_section2_button_hover_background_color', 'title' => __( 'Section 2-Button Hover Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'The button changes to this color when a mouse pointer hovers over it.', 'canuck' ), 'section' => 'home_section_2', 'priority' => 9, 'default' => $button_hover_default, 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section2_button_hover_text_color' => array( 'name' => 'canuck_section2_button_hover_text_color', 'title' => __( 'Section 2-Button Hover Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'The button text changes to this color when a mouse pointer hovers over it.', 'canuck' ), 'section' => 'home_section_2', 'priority' => 10, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), // Service box 1. 'canuck_section2_box1_use_font_icon' => array( 'name' => 'canuck_section2_box1_use_font_icon', 'title' => __( 'Section 2-Box 1-Font Icon', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Use font icon instead of image', 'canuck' ), 'section' => 'home_section_2', 'priority' => 11, 'default' => false, // 0 for off 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section2_box1_image_font' => array( 'name' => 'canuck_section2_box1_image_font', 'title' => __( 'Section 2-Box 1-Font Icon Code', 'canuck' ), 'option_type' => 'fa', 'setting_type' => 'theme_mod', 'choices' => canuck_fontawesome(), 'description' => __( 'Select a Font Awesome icon.', 'canuck' ), 'section' => 'home_section_2', 'priority' => 12, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section2_box1_image' => array( 'name' => 'canuck_section2_box1_image', 'title' => __( 'Section 2-Box 1-Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'upload and use an image', 'canuck' ), 'section' => 'home_section_2', 'priority' => 13, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section2_box1_title' => array( 'name' => 'canuck_section2_box1_title', 'title' => __( 'Section 2-Box 1-Title', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'no html', 'canuck' ), 'section' => 'home_section_2', 'priority' => 14, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section2_box1_text' => array( 'name' => 'canuck_section2_box1_text', 'title' => __( 'Section 2-Box 1-Content', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_2', 'priority' => 15, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section2_box1_include_link' => array( 'name' => 'canuck_section2_box1_include_link', 'title' => __( 'Section 2-Box 1-Link', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to use a link', 'canuck' ), 'section' => 'home_section_2', 'priority' => 16, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section2_box1_button_link' => array( 'name' => 'canuck_section2_box1_button_link', 'title' => __( 'Section 2-Box 1-Link URL', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Format:http://your.website.url/page/', 'canuck' ), 'section' => 'home_section_2', 'priority' => 17, 'default' => '#', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section2_box1_button_title' => array( 'name' => 'canuck_section2_box1_button_title', 'title' => __( 'Section 2-Box 1-Link Label', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed, use single quotes for classes. Note: Leave this blank to use image or icon as the link.', 'canuck' ) . ' ' . __( 'Default : ', 'canuck' ) . "<i class='fa fa-link'></i> more ", 'section' => 'home_section_2', 'priority' => 18, 'default' => " " . __( 'more', 'canuck' ), 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), // Service box 2. 'canuck_section2_box2_use_font_icon' => array( 'name' => 'canuck_section2_box2_use_font_icon', 'title' => __( 'Section 2-Box 2-Font Icon', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Use font icon instead of image', 'canuck' ), 'section' => 'home_section_2', 'priority' => 19, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section2_box2_image_font' => array( 'name' => 'canuck_section2_box2_image_font', 'title' => __( 'Section 2-Box 2-Font Icon Code', 'canuck' ), 'option_type' => 'fa', 'setting_type' => 'theme_mod', 'choices' => canuck_fontawesome(), 'description' => __( 'Select a Font Awesome icon.', 'canuck' ), 'section' => 'home_section_2', 'priority' => 20, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section2_box2_image' => array( 'name' => 'canuck_section2_box2_image', 'title' => __( 'Section 2-Box 2-Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'upload and use an image', 'canuck' ), 'section' => 'home_section_2', 'priority' => 21, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section2_box2_title' => array( 'name' => 'canuck_section2_box2_title', 'title' => __( 'Section 2-Box 2-Title', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'no html', 'canuck' ), 'section' => 'home_section_2', 'priority' => 22, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section2_box2_text' => array( 'name' => 'canuck_section2_box2_text', 'title' => __( 'Section 2-Box 2-Content', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_2', 'priority' => 23, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section2_box2_include_link' => array( 'name' => 'canuck_section2_box2_include_link', 'title' => __( 'Section 2-Box 2-Link', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'check to use a link', 'canuck' ), 'section' => 'home_section_2', 'priority' => 24, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section2_box2_button_link' => array( 'name' => 'canuck_section2_box2_button_link', 'title' => __( 'Section 2-Box 2-Link URL', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Format:http://your.website.url/page/', 'canuck' ), 'section' => 'home_section_2', 'priority' => 25, 'default' => '#', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section2_box2_button_title' => array( 'name' => 'canuck_section2_box2_button_title', 'title' => __( 'Section 2-Box 2-Link Label', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed, use single quotes for classes. Note: Leave this blank to use image or icon as the link.', 'canuck' ) . ' ' . __( 'Default : ', 'canuck' ) . "<i class='fa fa-link'></i> more ", 'section' => 'home_section_2', 'priority' => 26, 'default' => " " . __( 'more', 'canuck' ), 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), // Service box 3. 'canuck_section2_box3_use_font_icon' => array( 'name' => 'canuck_section2_box3_use_font_icon', 'title' => __( 'Section 2-Box 3-Font Icon', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Use font icon instead of image', 'canuck' ), 'section' => 'home_section_2', 'priority' => 27, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section2_box3_image_font' => array( 'name' => 'canuck_section2_box3_image_font', 'title' => __( 'Section 2-Box 3-Font Icon Code', 'canuck' ), 'option_type' => 'fa', 'setting_type' => 'theme_mod', 'choices' => canuck_fontawesome(), 'description' => __( 'Select a Font Awesome icon.', 'canuck' ), 'section' => 'home_section_2', 'priority' => 28, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section2_box3_image' => array( 'name' => 'canuck_section2_box3_image', 'title' => __( 'Section 2-Box 3-Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'upload and use an image', 'canuck' ), 'section' => 'home_section_2', 'priority' => 29, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section2_box3_title' => array( 'name' => 'canuck_section2_box3_title', 'title' => __( 'Section 2-Box 3-Title', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'no html', 'canuck' ), 'section' => 'home_section_2', 'priority' => 30, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section2_box3_text' => array( 'name' => 'canuck_section2_box3_text', 'title' => __( 'Section 2-Box 3-Content', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_2', 'priority' => 31, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section2_box3_include_link' => array( 'name' => 'canuck_section2_box3_include_link', 'title' => __( 'Section 2-Box 3-Link', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'check to use a link', 'canuck' ), 'section' => 'home_section_2', 'priority' => 32, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section2_box3_button_link' => array( 'name' => 'canuck_section2_box3_button_link', 'title' => __( 'Section 2-Box 3-Link URL', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Format:http://your.website.url/page/', 'canuck' ), 'section' => 'home_section_2', 'priority' => 33, 'default' => '#', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section2_box3_button_title' => array( 'name' => 'canuck_section2_box3_button_title', 'title' => __( 'Section 2-Box 3-Link Label', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed, use single quotes for classes. Note: Leave this blank to use image or icon as the link.', 'canuck' ) . ' ' . __( 'Default : ', 'canuck' ) . "<i class='fa fa-link'></i> more ", 'section' => 'home_section_2', 'priority' => 34, 'default' => " " . __( 'more', 'canuck' ), 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), // Panel:canuck_home Section:home_section_3 ********************************************. 'canuck_section3_usage' => array( 'name' => 'canuck_section3_usage', 'title' => __( 'Section 3-Usage Options', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'normal' => 'normal', 'shortcode' => 'shortcode', 'widgetized' => 'widgetized', ), 'description' => __( 'Normal - all options apply.', 'canuck' ) . '
' . __( 'Widgetized - Drag your widget over to "Home Page Section 1" under "Appearance->Widgets".', 'canuck' ) . ' ' . __( 'Content, link and button options will not work for this option.', 'canuck' ) . '
' . __( 'Shortcode - Enter the shortcode you want to use in the shortcode text area box.', 'canuck' ) . ' ' . __( 'Link and button options will not work for this option.', 'canuck' ), 'section' => 'home_section_3', 'priority' => 1, 'default' => 'normal', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section3_background_image' => array( 'name' => 'canuck_section3_background_image', 'title' => __( 'Section 3-Background Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'Upload and use a background image', 'canuck' ), 'section' => 'home_section_3', 'priority' => 2, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section3_overlay_opacity' => array( 'name' => 'canuck_section3_overlay_opacity', 'title' => __( 'Section 3-Overlay Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to place a dark shadow over the background image.', 'canuck' ), 'section' => 'home_section_3', 'priority' => 3, 'default' => 0, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section3_use_parallax' => array( 'name' => 'canuck_section3_use_parallax', 'title' => __( 'Section 3-Use Parallax', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to use parallax effect for the image.', 'canuck' ), 'section' => 'home_section_3', 'priority' => 4, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section3_background_color' => array( 'name' => 'canuck_section3_background_color', 'title' => __( 'Section 3-Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color. Note this will not be used if a background image is set up.', 'canuck' ), 'section' => 'home_section_3', 'priority' => 5, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section3_background_color_opacity' => array( 'name' => 'canuck_section3_background_color_opacity', 'title' => __( 'Section 3-Background Color Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to set the opacity of the background color.', 'canuck' ), 'section' => 'home_section_3', 'priority' => 6, 'default' => 1, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section3_text_color' => array( 'name' => 'canuck_section3_text_color', 'title' => __( 'Section 3-Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a text color', 'canuck' ), 'section' => 'home_section_3', 'priority' => 7, 'default' => '#4c4c4c', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section3_text' => array( 'name' => 'canuck_section3_text', 'title' => __( 'Section 3-Content', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_3', 'priority' => 8, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section3_shortcode' => array( 'name' => 'canuck_section3_shortcode', 'title' => __( 'Section 3-Shortcode', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'Add your shortcode here if using shortcode as a Useage Option.', 'canuck' ), 'section' => 'home_section_3', 'priority' => 9, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_include_section3_button' => array( 'name' => 'canuck_include_section3_button', 'title' => __( 'Section 3-Link', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to use a link, then use the options below.', 'canuck' ), 'section' => 'home_section_3', 'priority' => 10, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section3_button_name' => array( 'name' => 'canuck_section3_button_name', 'title' => __( 'Section 3-Button Label', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed, note use single quotes for classes.', 'canuck' ), 'section' => 'home_section_3', 'priority' => 11, 'default' => " " . __( 'more', 'canuck' ), 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section3_button_link' => array( 'name' => 'canuck_section3_button_link', 'title' => __( 'Section 3-Button URI', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Format:http://your.website.url/contact/', 'canuck' ), 'section' => 'home_section_3', 'priority' => 12, 'default' => '#', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section3_button_background_color' => array( 'name' => 'canuck_section3_button_background_color', 'title' => __( 'Section 3-Button Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color for the button.', 'canuck' ), 'section' => 'home_section_3', 'priority' => 13, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section3_button_text_color' => array( 'name' => 'canuck_section3_button_text_color', 'title' => __( 'Section 3-Button Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a color for button text.', 'canuck' ), 'section' => 'home_section_3', 'priority' => 14, 'default' => $button_hover_default, 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section3_button_hover_background_color' => array( 'name' => 'canuck_section3_button_hover_background_color', 'title' => __( 'Section 3-Button Hover Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'The button changes to this color when a mouse pointer hovers over it.', 'canuck' ), 'section' => 'home_section_3', 'priority' => 15, 'default' => $button_hover_default, 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section3_button_hover_text_color' => array( 'name' => 'canuck_section3_button_hover_text_color', 'title' => __( 'Section 3-Button Hover Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'The button text changes to this color when a mouse pointer hovers over it.', 'canuck' ), 'section' => 'home_section_3', 'priority' => 16, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), // Panel:canuck_home Section:home_section_4 ===============================================. 'canuck_section4_background_image' => array( 'name' => 'canuck_section4_background_image', 'title' => __( 'Section 4-Background Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'Upload and use a background image', 'canuck' ), 'section' => 'home_section_4', 'priority' => 1, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section4_overlay_opacity' => array( 'name' => 'canuck_section4_overlay_opacity', 'title' => __( 'Section 4-Overlay Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to place a dark shadow over the background image.', 'canuck' ), 'section' => 'home_section_4', 'priority' => 2, 'default' => 3, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section4_use_parallax' => array( 'name' => 'canuck_section4_use_parallax', 'title' => __( 'Section 4-Use Parallax', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to use parallax effect for the image.', 'canuck' ), 'section' => 'home_section_4', 'priority' => 3, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section4_background_color' => array( 'name' => 'canuck_section4_background_color', 'title' => __( 'Section 4-Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color. Note this will not be used if a background image is set up.', 'canuck' ), 'section' => 'home_section_4', 'priority' => 4, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section4_background_color_opacity' => array( 'name' => 'canuck_section4_background_color_opacity', 'title' => __( 'Section 4-Background Color Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to set the opacity of the background color.', 'canuck' ), 'section' => 'home_section_4', 'priority' => 5, 'default' => 1, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section4_text_color' => array( 'name' => 'canuck_section4_text_color', 'title' => __( 'Section 4-Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a text color', 'canuck' ), 'section' => 'home_section_4', 'priority' => 6, 'default' => '#4c4c4c', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section4_button_background_color' => array( 'name' => 'canuck_section4_button_background_color', 'title' => __( 'Section 4-Button Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color for the button.', 'canuck' ), 'section' => 'home_section_4', 'priority' => 7, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section4_button_text_color' => array( 'name' => 'canuck_section4_button_text_color', 'title' => __( 'Section 4-Button Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a text color for the button.', 'canuck' ), 'section' => 'home_section_4', 'priority' => 8, 'default' => $button_hover_default, 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section4_button_hover_background_color' => array( 'name' => 'canuck_section4_button_hover_background_color', 'title' => __( 'Section 4-Button Hover Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'The button changes to this color when a mouse pointer hovers over it.', 'canuck' ), 'section' => 'home_section_4', 'priority' => 9, 'default' => $button_hover_default, 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section4_button_hover_text_color' => array( 'name' => 'canuck_section4_button_hover_text_color', 'title' => __( 'Section 4-Button Hover Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'The button text changes to this color when a mouse pointer hovers over it.', 'canuck' ), 'section' => 'home_section_4', 'priority' => 10, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), // Service Box 1. 'canuck_section4_box1_use_font_icon' => array( 'name' => 'canuck_section4_box1_use_font_icon', 'title' => __( 'Section 4-Box 1-Font Icon', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Use font icon instead of image', 'canuck' ), 'section' => 'home_section_4', 'priority' => 11, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section4_box1_image_font' => array( 'name' => 'canuck_section4_box1_image_font', 'title' => __( 'Section 4-Box 1-Font Icon Code', 'canuck' ), 'option_type' => 'fa', 'setting_type' => 'theme_mod', 'choices' => canuck_fontawesome(), 'description' => __( 'Select a Font Awesome icon.', 'canuck' ), 'section' => 'home_section_4', 'priority' => 12, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section4_box1_image' => array( 'name' => 'canuck_section4_box1_image', 'title' => __( 'Section 4-Box 1-Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'upload and use an image', 'canuck' ), 'section' => 'home_section_4', 'priority' => 13, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section4_box1_title' => array( 'name' => 'canuck_section4_box1_title', 'title' => __( 'Section 4-Box 1-Title', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'no html', 'canuck' ), 'section' => 'home_section_4', 'priority' => 14, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section4_box1_text' => array( 'name' => 'canuck_section4_box1_text', 'title' => __( 'Section 4-Box 1-Content', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_4', 'priority' => 15, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section4_box1_include_link' => array( 'name' => 'canuck_section4_box1_include_link', 'title' => __( 'Section 4-Box 1-Link', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'check to use a link', 'canuck' ), 'section' => 'home_section_4', 'priority' => 16, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section4_box1_button_link' => array( 'name' => 'canuck_section4_box1_button_link', 'title' => __( 'Section 4-Box 1-Link URL', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Format:http://your.website.url/page/', 'canuck' ), 'section' => 'home_section_4', 'priority' => 17, 'default' => '#', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section4_box1_button_title' => array( 'name' => 'canuck_section4_box1_button_title', 'title' => __( 'Section 4-Box 1-Link Label', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed, use single quotes for classes. Note: Leave this blank to use image or icon as the link.', 'canuck' ) . ' ' . __( 'Default : ', 'canuck' ) . "<i class='fa fa-link'></i> more ", 'section' => 'home_section_4', 'priority' => 18, 'default' => " " . __( 'more', 'canuck' ), 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), // Service Box 2. 'canuck_section4_box2_use_font_icon' => array( 'name' => 'canuck_section4_box2_use_font_icon', 'title' => __( 'Section 4-Box 2-Font Icon', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Use font icon instead of image', 'canuck' ), 'section' => 'home_section_4', 'priority' => 19, 'default' => false, // 0 for off 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section4_box2_image_font' => array( 'name' => 'canuck_section4_box2_image_font', 'title' => __( 'Section 4-Box 2-Font Icon Code', 'canuck' ), 'option_type' => 'fa', 'setting_type' => 'theme_mod', 'choices' => canuck_fontawesome(), 'description' => __( 'Select a Font Awesome icon.', 'canuck' ), 'section' => 'home_section_4', 'priority' => 20, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section4_box2_image' => array( 'name' => 'canuck_section4_box2_image', 'title' => __( 'Section 4-Box 2-Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'upload and use an image', 'canuck' ), 'section' => 'home_section_4', 'priority' => 21, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section4_box2_title' => array( 'name' => 'canuck_section4_box2_title', 'title' => __( 'Section 4-Box 2-Title', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'no html', 'canuck' ), 'section' => 'home_section_4', 'priority' => 22, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section4_box2_text' => array( 'name' => 'canuck_section4_box2_text', 'title' => __( 'Section 4-Box 2-Content', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_4', 'priority' => 23, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section4_box2_include_link' => array( 'name' => 'canuck_section4_box2_include_link', 'title' => __( 'Section 4-Box 2-Link', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'check to use a link', 'canuck' ), 'section' => 'home_section_4', 'priority' => 24, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section4_box2_button_link' => array( 'name' => 'canuck_section4_box2_button_link', 'title' => __( 'Section 4-Box 2-Link URL', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Format:http://your.website.url/page/', 'canuck' ), 'section' => 'home_section_4', 'priority' => 25, 'default' => '#', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section4_box2_button_title' => array( 'name' => 'canuck_section4_box2_button_title', 'title' => __( 'Section 4-Box 2-Link Label', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed, use single quotes for classes. Note: Leave this blank to use image or icon as the link.', 'canuck' ) . ' ' . __( 'Default : ', 'canuck' ) . "<i class='fa fa-link'></i> more ", 'section' => 'home_section_4', 'priority' => 26, 'default' => " " . __( 'more', 'canuck' ), 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), // Panel:canuck_home Section:home_section_5. 'canuck_section5_usage' => array( 'name' => 'canuck_section5_usage', 'title' => __( 'Section 5-Usage Options', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'normal' => 'normal', 'shortcode' => 'shortcode', 'widgetized' => 'widgetized', ), 'description' => __( 'Normal - all options apply.', 'canuck' ) . '
' . __( 'Widgetized - Drag your widget over to "Home Page Section 1" under "Appearance->Widgets".', 'canuck' ) . ' ' . __( 'Content, link and button options will not work for this option.', 'canuck' ) . '
' . __( 'Shortcode - Enter the shortcode you want to use in the shortcode text area box.', 'canuck' ) . ' ' . __( 'Link and button options will not work for this option.', 'canuck' ), 'section' => 'home_section_5', 'priority' => 1, 'default' => 'normal', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section5_background_image' => array( 'name' => 'canuck_section5_background_image', 'title' => __( 'Section 5-Background Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'Upload and use a background image', 'canuck' ), 'section' => 'home_section_5', 'priority' => 2, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section5_overlay_opacity' => array( 'name' => 'canuck_section5_overlay_opacity', 'title' => __( 'Section 5-Overlay Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to place a dark shadow over the background image.', 'canuck' ), 'section' => 'home_section_5', 'priority' => 3, 'default' => 0, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section5_use_parallax' => array( 'name' => 'canuck_section5_use_parallax', 'title' => __( 'Section 5-Use Parallax', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to use parallax effect for the image.', 'canuck' ), 'section' => 'home_section_5', 'priority' => 4, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section5_background_color' => array( 'name' => 'canuck_section5_background_color', 'title' => __( 'Section 5-Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color. Note this will not be used if a background image is set up.', 'canuck' ), 'section' => 'home_section_5', 'priority' => 5, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section5_background_color_opacity' => array( 'name' => 'canuck_section5_background_color_opacity', 'title' => __( 'Section 5-Background Color Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to set the opacity of the background color.', 'canuck' ), 'section' => 'home_section_5', 'priority' => 6, 'default' => 1, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section5_text_color' => array( 'name' => 'canuck_section5_text_color', 'title' => __( 'Section 5-Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a text color', 'canuck' ), 'section' => 'home_section_5', 'priority' => 7, 'default' => '#4c4c4c', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section5_text' => array( 'name' => 'canuck_section5_text', 'title' => __( 'Section 5-Content', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_5', 'priority' => 8, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section5_shortcode' => array( 'name' => 'canuck_section5_shortcode', 'title' => __( 'Section 5-Shortcode', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'Add your shortcode here if using shortcode as a Useage Option.', 'canuck' ), 'section' => 'home_section_5', 'priority' => 9, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_include_section5_button' => array( 'name' => 'canuck_include_section5_button', 'title' => __( 'Section 5-Link', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to use a link, then use the options below.', 'canuck' ), 'section' => 'home_section_5', 'priority' => 10, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section5_button_name' => array( 'name' => 'canuck_section5_button_name', 'title' => __( 'Section 5-Button Label', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed, note use single quotes for classes.', 'canuck' ), 'section' => 'home_section_5', 'priority' => 11, 'default' => " " . __( 'more', 'canuck' ), 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section5_button_link' => array( 'name' => 'canuck_section5_button_link', 'title' => __( 'Section 5-Button URI', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Format:http://your.website.url/contact/', 'canuck' ), 'section' => 'home_section_5', 'priority' => 12, 'default' => '#', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section5_button_background_color' => array( 'name' => 'canuck_section5_button_background_color', 'title' => __( 'Section 5-Button Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color for the button.', 'canuck' ), 'section' => 'home_section_5', 'priority' => 13, 'default' => '#fffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section5_button_text_color' => array( 'name' => 'canuck_section5_button_text_color', 'title' => __( 'Section 5-Button Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a color for button text.', 'canuck' ), 'section' => 'home_section_5', 'priority' => 14, 'default' => $button_hover_default, 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section5_button_hover_background_color' => array( 'name' => 'canuck_section5_button_hover_background_color', 'title' => __( 'Section 5-Button Hover Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'The button changes to this color when a mouse pointer hovers over it.', 'canuck' ), 'section' => 'home_section_5', 'priority' => 15, 'default' => $button_hover_default, 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section5_button_hover_text_color' => array( 'name' => 'canuck_section5_button_hover_text_color', 'title' => __( 'Section 5-Button Hover Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'The button text changes to this color when a mouse pointer hovers over it.', 'canuck' ), 'section' => 'home_section_5', 'priority' => 16, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), // Panel:canuck_home Section:home_section_6 =======================================. 'canuck_section6_background_image' => array( 'name' => 'canuck_section6_background_image', 'title' => __( 'Section 6-Background Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'Upload and use a background image', 'canuck' ), 'section' => 'home_section_6', 'priority' => 1, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section6_overlay_opacity' => array( 'name' => 'canuck_section6_overlay_opacity', 'title' => __( 'Section 6-Overlay Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to place a dark shadow over the background image.', 'canuck' ), 'section' => 'home_section_6', 'priority' => 2, 'default' => 0, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section6_use_parallax' => array( 'name' => 'canuck_section6_use_parallax', 'title' => __( 'Section 6-Use Parallax', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to use parallax effect for the image.', 'canuck' ), 'section' => 'home_section_6', 'priority' => 3, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section6_background_color' => array( 'name' => 'canuck_section6_background_color', 'title' => __( 'Section 6-Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color. Note this will not be used if a background image is set up.', 'canuck' ), 'section' => 'home_section_6', 'priority' => 4, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section6_background_color_opacity' => array( 'name' => 'canuck_section6_background_color_opacity', 'title' => __( 'Section 6-Background Color Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to set the opacity of the background color.', 'canuck' ), 'section' => 'home_section_6', 'priority' => 5, 'default' => 1, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section6_text_color' => array( 'name' => 'canuck_section6_text_color', 'title' => __( 'Section 6-Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a text color', 'canuck' ), 'section' => 'home_section_6', 'priority' => 6, 'default' => '#4c4c4c', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section6_button_background_color' => array( 'name' => 'canuck_section6_button_background_color', 'title' => __( 'Section 6-Button Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color for the button.', 'canuck' ), 'section' => 'home_section_6', 'priority' => 7, 'default' => '#fffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section6_button_text_color' => array( 'name' => 'canuck_section6_button_text_color', 'title' => __( 'Section 6-Button Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a text color for the button.', 'canuck' ), 'section' => 'home_section_6', 'priority' => 8, 'default' => $button_hover_default, 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section6_button_hover_background_color' => array( 'name' => 'canuck_section6_button_hover_background_color', 'title' => __( 'Section 6-Button Hover Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'The button changes to this color when a mouse pointer hovers over it.', 'canuck' ), 'section' => 'home_section_6', 'priority' => 9, 'default' => $button_hover_default, 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section6_button_hover_text_color' => array( 'name' => 'canuck_section6_button_hover_text_color', 'title' => __( 'Section 6-Button Hover Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'The button text changes to this color when a mouse pointer hovers over it.', 'canuck' ), 'section' => 'home_section_6', 'priority' => 10, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), // Service Box 1. 'canuck_section6_box1_use_font_icon' => array( 'name' => 'canuck_section6_box1_use_font_icon', 'title' => __( 'Section 6-Box 1-Font Icon', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Use font icon instead of image', 'canuck' ), 'section' => 'home_section_6', 'priority' => 11, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section6_box1_image_font' => array( 'name' => 'canuck_section6_box1_image_font', 'title' => __( 'Section 6-Box 1-Font Icon Code', 'canuck' ), 'option_type' => 'fa', 'setting_type' => 'theme_mod', 'choices' => canuck_fontawesome(), 'description' => __( 'Select a Font Awesome icon.', 'canuck' ), 'section' => 'home_section_6', 'priority' => 12, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section6_box1_image' => array( 'name' => 'canuck_section6_box1_image', 'title' => __( 'Section 6-Box 1-Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'upload and use an image', 'canuck' ), 'section' => 'home_section_6', 'priority' => 13, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section6_box1_title' => array( 'name' => 'canuck_section6_box1_title', 'title' => __( 'Section 6-Box 1-Title', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'no html', 'canuck' ), 'section' => 'home_section_6', 'priority' => 14, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section6_box1_text' => array( 'name' => 'canuck_section6_box1_text', 'title' => __( 'Section 6-Box 1-Content', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_6', 'priority' => 15, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section6_box1_include_link' => array( 'name' => 'canuck_section6_box1_include_link', 'title' => __( 'Section 6-Box 1-Link', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'check to use a link', 'canuck' ), 'section' => 'home_section_6', 'priority' => 16, 'default' => false, // 0 for off 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section6_box1_button_link' => array( 'name' => 'canuck_section6_box1_button_link', 'title' => __( 'Section 6-Box 1-Link URL', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Format:http://your.website.url/page/', 'canuck' ), 'section' => 'home_section_6', 'priority' => 17, 'default' => '#', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section6_box1_button_title' => array( 'name' => 'canuck_section6_box1_button_title', 'title' => __( 'Section 6-Box 1-Link Label', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed, use single quotes for classes. Note: Leave this blank to use image or icon as the link.', 'canuck' ) . ' ' . __( 'Default : ', 'canuck' ) . "<i class='fa fa-link'></i> more ", 'section' => 'home_section_6', 'priority' => 18, 'default' => " " . __( 'more', 'canuck' ), 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), // Service Box 2. 'canuck_section6_box2_use_font_icon' => array( 'name' => 'canuck_section6_box2_use_font_icon', 'title' => __( 'Section 6-Box 2-Font Icon', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Use font icon instead of image', 'canuck' ), 'section' => 'home_section_6', 'priority' => 19, 'default' => false, // 0 for off 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section6_box2_image_font' => array( 'name' => 'canuck_section6_box2_image_font', 'title' => __( 'Section 6-Box 2-Font Icon Code', 'canuck' ), 'option_type' => 'fa', 'setting_type' => 'theme_mod', 'choices' => canuck_fontawesome(), 'description' => __( 'Select a Font Awesome icon.', 'canuck' ), 'section' => 'home_section_6', 'priority' => 20, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section6_box2_image' => array( 'name' => 'canuck_section6_box2_image', 'title' => __( 'Section 6-Box 2-Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'upload and use an image', 'canuck' ), 'section' => 'home_section_6', 'priority' => 21, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section6_box2_title' => array( 'name' => 'canuck_section6_box2_title', 'title' => __( 'Section 6-Box 2-Title', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'no html', 'canuck' ), 'section' => 'home_section_6', 'priority' => 22, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section6_box2_text' => array( 'name' => 'canuck_section6_box2_text', 'title' => __( 'Section 6-Box 2-Content', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_6', 'priority' => 23, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section6_box2_include_link' => array( 'name' => 'canuck_section6_box2_include_link', 'title' => __( 'Section 6-Box 2-Link', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'check to use a link', 'canuck' ), 'section' => 'home_section_6', 'priority' => 24, 'default' => false, // 0 for off 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section6_box2_button_link' => array( 'name' => 'canuck_section6_box2_button_link', 'title' => __( 'Section 6-Box 2-Link URL', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Format:http://your.website.url/page/', 'canuck' ), 'section' => 'home_section_6', 'priority' => 25, 'default' => '#', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section6_box2_button_title' => array( 'name' => 'canuck_section6_box2_button_title', 'title' => __( 'Section 6-Box 2-Link Label', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed, use single quotes for classes. Note: Leave this blank to use image or icon as the link.', 'canuck' ) . ' ' . __( 'Default : ', 'canuck' ) . "<i class='fa fa-link'></i> more ", 'section' => 'home_section_6', 'priority' => 26, 'default' => " " . __( 'more', 'canuck' ), 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), // Panel:canuck_home Section:home_section_7. 'canuck_section7_usage' => array( 'name' => 'canuck_section7_usage', 'title' => __( 'Section 7-Usage Options', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'normal' => 'normal', 'shortcode' => 'shortcode', 'widgetized' => 'widgetized', ), 'description' => __( 'Normal - all options apply.', 'canuck' ) . '
' . __( 'Widgetized - Drag your widget over to "Home Page Section 1" under "Appearance->Widgets".', 'canuck' ) . ' ' . __( 'Content, link and button options will not work for this option.', 'canuck' ) . '
' . __( 'Shortcode - Enter the shortcode you want to use in the shortcode text area box.', 'canuck' ) . ' ' . __( 'Link and button options will not work for this option.', 'canuck' ), 'section' => 'home_section_7', 'priority' => 1, 'default' => 'normal', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section7_background_image' => array( 'name' => 'canuck_section7_background_image', 'title' => __( 'Section 7-Background Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'Upload and use a background image', 'canuck' ), 'section' => 'home_section_7', 'priority' => 2, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section7_use_parallax' => array( 'name' => 'canuck_section7_use_parallax', 'title' => __( 'Section 7-Use Parallax', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to use parallax effect for the image.', 'canuck' ), 'section' => 'home_section_7', 'priority' => 3, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section7_overlay_opacity' => array( 'name' => 'canuck_section7_overlay_opacity', 'title' => __( 'Section 7-Overlay Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to place a dark shadow over the background image.', 'canuck' ), 'section' => 'home_section_7', 'priority' => 4, 'default' => 0, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section7_background_color' => array( 'name' => 'canuck_section7_background_color', 'title' => __( 'Section 7-Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color. Note this will not be used if a background image is set up.', 'canuck' ), 'section' => 'home_section_7', 'priority' => 5, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section7_background_color_opacity' => array( 'name' => 'canuck_section7_background_color_opacity', 'title' => __( 'Section 7-Background Color Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to set the opacity of the background color.', 'canuck' ), 'section' => 'home_section_7', 'priority' => 6, 'default' => 1, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section7_text_color' => array( 'name' => 'canuck_section7_text_color', 'title' => __( 'Section 7-Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a text color', 'canuck' ), 'section' => 'home_section_7', 'priority' => 7, 'default' => '#4c4c4c', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section7_text' => array( 'name' => 'canuck_section7_text', 'title' => __( 'Section 7-Content', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_7', 'priority' => 8, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section7_shortcode' => array( 'name' => 'canuck_section7_shortcode', 'title' => __( 'Section 7-Shortcode', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'Add your shortcode here if using shortcode as a Useage Option.', 'canuck' ), 'section' => 'home_section_7', 'priority' => 9, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_include_section7_button' => array( 'name' => 'canuck_include_section7_button', 'title' => __( 'Section 7-Link', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to use a link, then use the options below.', 'canuck' ), 'section' => 'home_section_7', 'priority' => 10, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section7_button_name' => array( 'name' => 'canuck_section7_button_name', 'title' => __( 'Section 7-Button Label', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed, note use single quotes for classes.', 'canuck' ), 'section' => 'home_section_7', 'priority' => 11, 'default' => " " . __( 'more', 'canuck' ), 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section7_button_link' => array( 'name' => 'canuck_section7_button_link', 'title' => __( 'Section 7-Button URI', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Format:http://your.website.url/contact/', 'canuck' ), 'section' => 'home_section_7', 'priority' => 12, 'default' => '#', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section7_button_background_color' => array( 'name' => 'canuck_section7_button_background_color', 'title' => __( 'Section 7-Button Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color for the button.', 'canuck' ), 'section' => 'home_section_7', 'priority' => 13, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section7_button_text_color' => array( 'name' => 'canuck_section7_button_text_color', 'title' => __( 'Section 7-Button Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a color for button text.', 'canuck' ), 'section' => 'home_section_7', 'priority' => 14, 'default' => $button_hover_default, 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section7_button_hover_background_color' => array( 'name' => 'canuck_section7_button_hover_background_color', 'title' => __( 'Section 7-Button Hover Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'The button changes to this color when a mouse pointer hovers over it.', 'canuck' ), 'section' => 'home_section_7', 'priority' => 15, 'default' => $button_hover_default, 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section7_button_hover_text_color' => array( 'name' => 'canuck_section7_button_hover_text_color', 'title' => __( 'Section 7-Button Hover Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'The button text changes to this color when a mouse pointer hovers over it.', 'canuck' ), 'section' => 'home_section_7', 'priority' => 16, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), // Panel:canuck_home Section:home_section_8 ================================================. // General options for Section 8. 'canuck_section8_background_image' => array( 'name' => 'canuck_section8_background_image', 'title' => __( 'Section 8-Background Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'Upload and use a background image', 'canuck' ), 'section' => 'home_section_8', 'priority' => 1, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section8_overlay_opacity' => array( 'name' => 'canuck_section8_overlay_opacity', 'title' => __( 'Section 8-Overlay Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to place a dark shadow over the background image.', 'canuck' ), 'section' => 'home_section_8', 'priority' => 2, 'default' => 0, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section8_use_parallax' => array( 'name' => 'canuck_section8_use_parallax', 'title' => __( 'Section 8-Use Parallax', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to use parallax effect for the image.', 'canuck' ), 'section' => 'home_section_8', 'priority' => 3, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section8_background_color' => array( 'name' => 'canuck_section8_background_color', 'title' => __( 'Section 8-Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color. Note this will not be used if a background image is set up.', 'canuck' ), 'section' => 'home_section_8', 'priority' => 4, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section8_background_color_opacity' => array( 'name' => 'canuck_section8_background_color_opacity', 'title' => __( 'Section 8-Background Color Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to set the opacity of the background color.', 'canuck' ), 'section' => 'home_section_8', 'priority' => 5, 'default' => 1, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section8_text_color' => array( 'name' => 'canuck_section8_text_color', 'title' => __( 'Section 8-Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a text color', 'canuck' ), 'section' => 'home_section_8', 'priority' => 6, 'default' => '#4c4c4c', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section8_button_background_color' => array( 'name' => 'canuck_section8_button_background_color', 'title' => __( 'Section 8-Button Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color for the button.', 'canuck' ), 'section' => 'home_section_8', 'priority' => 7, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section8_button_text_color' => array( 'name' => 'canuck_section8_button_text_color', 'title' => __( 'Section 8-Button Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a text color for the button.', 'canuck' ), 'section' => 'home_section_8', 'priority' => 8, 'default' => $button_hover_default, 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section8_button_hover_background_color' => array( 'name' => 'canuck_section8_button_hover_background_color', 'title' => __( 'Section 8-Button Hover Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'The button changes to this color when a mouse pointer hovers over it.', 'canuck' ), 'section' => 'home_section_8', 'priority' => 9, 'default' => $button_hover_default, 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section8_button_hover_text_color' => array( 'name' => 'canuck_section8_button_hover_text_color', 'title' => __( 'Section 8-Button Hover Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'The button text changes to this color when a mouse pointer hovers over it.', 'canuck' ), 'section' => 'home_section_8', 'priority' => 10, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), // Service box 1. 'canuck_section8_box1_use_font_icon' => array( 'name' => 'canuck_section8_box1_use_font_icon', 'title' => __( 'Section 8-Box 1-Font Icon', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Use font icon instead of image', 'canuck' ), 'section' => 'home_section_8', 'priority' => 11, 'default' => false, // 0 for off 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section8_box1_image_font' => array( 'name' => 'canuck_section8_box1_image_font', 'title' => __( 'Section 8-Box 1-Font Icon Code', 'canuck' ), 'option_type' => 'fa', 'setting_type' => 'theme_mod', 'choices' => canuck_fontawesome(), 'description' => __( 'Select a Font Awesome icon.', 'canuck' ), 'section' => 'home_section_8', 'priority' => 12, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section8_box1_image' => array( 'name' => 'canuck_section8_box1_image', 'title' => __( 'Section 8-Box 1-Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'upload and use an image', 'canuck' ), 'section' => 'home_section_8', 'priority' => 13, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section8_box1_title' => array( 'name' => 'canuck_section8_box1_title', 'title' => __( 'Section 8-Box 1-Title', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'no html', 'canuck' ), 'section' => 'home_section_8', 'priority' => 14, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section8_box1_text' => array( 'name' => 'canuck_section8_box1_text', 'title' => __( 'Section 8-Box 1-Content', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_8', 'priority' => 15, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section8_box1_include_link' => array( 'name' => 'canuck_section8_box1_include_link', 'title' => __( 'Section 8-Box 1-Link', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to use a link', 'canuck' ), 'section' => 'home_section_8', 'priority' => 16, 'default' => false, // 0 for off 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section8_box1_button_link' => array( 'name' => 'canuck_section8_box1_button_link', 'title' => __( 'Section 8-Box 1-Link URL', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Format:http://your.website.url/page/', 'canuck' ), 'section' => 'home_section_8', 'priority' => 17, 'default' => '#', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section8_box1_button_title' => array( 'name' => 'canuck_section8_box1_button_title', 'title' => __( 'Section 8-Box 1-Link Label', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed, use single quotes for classes. Note: Leave this blank to use image or icon as the link.', 'canuck' ) . ' ' . __( 'Default : ', 'canuck' ) . "<i class='fa fa-link'></i> more ", 'section' => 'home_section_8', 'priority' => 18, 'default' => " " . __( 'more', 'canuck' ), 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), // Service box 2. 'canuck_section8_box2_use_font_icon' => array( 'name' => 'canuck_section8_box2_use_font_icon', 'title' => __( 'Section 8-Box 2-Font Icon', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Use font icon instead of image', 'canuck' ), 'section' => 'home_section_8', 'priority' => 19, 'default' => false, // 0 for off 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section8_box2_image_font' => array( 'name' => 'canuck_section8_box2_image_font', 'title' => __( 'Section 8-Box 2-Font Icon Code', 'canuck' ), 'option_type' => 'fa', 'setting_type' => 'theme_mod', 'choices' => canuck_fontawesome(), 'description' => __( 'Select a Font Awesome icon.', 'canuck' ), 'section' => 'home_section_8', 'priority' => 20, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section8_box2_image' => array( 'name' => 'canuck_section8_box2_image', 'title' => __( 'Section 8-Box 2-Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'upload and use an image', 'canuck' ), 'section' => 'home_section_8', 'priority' => 21, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section8_box2_title' => array( 'name' => 'canuck_section8_box2_title', 'title' => __( 'Section 8-Box 2-Title', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'no html', 'canuck' ), 'section' => 'home_section_8', 'priority' => 22, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section8_box2_text' => array( 'name' => 'canuck_section8_box2_text', 'title' => __( 'Section 8-Box 2-Content', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_8', 'priority' => 23, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section8_box2_include_link' => array( 'name' => 'canuck_section8_box2_include_link', 'title' => __( 'Section 8-Box 2-Link', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'check to use a link', 'canuck' ), 'section' => 'home_section_8', 'priority' => 24, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section8_box2_button_link' => array( 'name' => 'canuck_section8_box2_button_link', 'title' => __( 'Section 8-Box 2-Link URL', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Format:http://your.website.url/page/', 'canuck' ), 'section' => 'home_section_8', 'priority' => 25, 'default' => '#', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section8_box2_button_title' => array( 'name' => 'canuck_section8_box2_button_title', 'title' => __( 'Section 8-Box 2-Link Label', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed, use single quotes for classes. Note: Leave this blank to use image or icon as the link.', 'canuck' ) . ' ' . __( 'Default : ', 'canuck' ) . "<i class='fa fa-link'></i> more ", 'section' => 'home_section_8', 'priority' => 26, 'default' => " " . __( 'more', 'canuck' ), 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), // Sservice box 3. 'canuck_section8_box3_use_font_icon' => array( 'name' => 'canuck_section8_box3_use_font_icon', 'title' => __( 'Section 8-Box 3-Font Icon', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Use font icon instead of image', 'canuck' ), 'section' => 'home_section_8', 'priority' => 27, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section8_box3_image_font' => array( 'name' => 'canuck_section8_box3_image_font', 'title' => __( 'Section 8-Box 3-Font Icon Code', 'canuck' ), 'option_type' => 'fa', 'setting_type' => 'theme_mod', 'choices' => canuck_fontawesome(), 'description' => __( 'Select a Font Awesome icon.', 'canuck' ), 'section' => 'home_section_8', 'priority' => 28, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section8_box3_image' => array( 'name' => 'canuck_section8_box3_image', 'title' => __( 'Section 8-Box 3-Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'upload and use an image', 'canuck' ), 'section' => 'home_section_8', 'priority' => 29, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section8_box3_title' => array( 'name' => 'canuck_section8_box3_title', 'title' => __( 'Section 8-Box 3-Title', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'no html', 'canuck' ), 'section' => 'home_section_8', 'priority' => 30, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section8_box3_text' => array( 'name' => 'canuck_section8_box3_text', 'title' => __( 'Section 8-Box 3-Content', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_8', 'priority' => 31, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section8_box3_include_link' => array( 'name' => 'canuck_section8_box3_include_link', 'title' => __( 'Section 8-Box 3-Link', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'check to use a link', 'canuck' ), 'section' => 'home_section_8', 'priority' => 32, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section8_box3_button_link' => array( 'name' => 'canuck_section8_box3_button_link', 'title' => __( 'Section 8-Box 3-Link URL', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Format:http://your.website.url/page/', 'canuck' ), 'section' => 'home_section_8', 'priority' => 33, 'default' => '#', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section8_box3_button_title' => array( 'name' => 'canuck_section8_box3_button_title', 'title' => __( 'Section 8-Box 3-Link Label', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed, use single quotes for classes. Note: Leave this blank to use image or icon as the link.', 'canuck' ) . ' ' . __( 'Default : ', 'canuck' ) . "<i class='fa fa-link'></i> more ", 'section' => 'home_section_8', 'priority' => 34, 'default' => " " . __( 'more', 'canuck' ), 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), // Service box 4. 'canuck_section8_box4_use_font_icon' => array( 'name' => 'canuck_section8_box4_use_font_icon', 'title' => __( 'Section 8-Box 4-Font Icon', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Use font icon instead of image', 'canuck' ), 'section' => 'home_section_8', 'priority' => 35, 'default' => false, // 0 for off 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section8_box4_image_font' => array( 'name' => 'canuck_section8_box4_image_font', 'title' => __( 'Section 8-Box 4-Font Icon Code', 'canuck' ), 'option_type' => 'fa', 'setting_type' => 'theme_mod', 'choices' => canuck_fontawesome(), 'description' => __( 'Select a Font Awesome icon.', 'canuck' ), 'section' => 'home_section_8', 'priority' => 36, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section8_box4_image' => array( 'name' => 'canuck_section8_box4_image', 'title' => __( 'Section 8-Box 4-Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'upload and use an image', 'canuck' ), 'section' => 'home_section_8', 'priority' => 37, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section8_box4_title' => array( 'name' => 'canuck_section8_box4_title', 'title' => __( 'Section 8-Box 4-Title', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'no html', 'canuck' ), 'section' => 'home_section_8', 'priority' => 38, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section8_box4_text' => array( 'name' => 'canuck_section8_box4_text', 'title' => __( 'Section 8-Box 4-Content', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_8', 'priority' => 39, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section8_box4_include_link' => array( 'name' => 'canuck_section8_box4_include_link', 'title' => __( 'Section 8-Box 4-Link', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'check to use a link', 'canuck' ), 'section' => 'home_section_8', 'priority' => 40, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section8_box4_button_link' => array( 'name' => 'canuck_section8_box4_button_link', 'title' => __( 'Section 8-Box 4-Link URL', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Format:http://your.website.url/page/', 'canuck' ), 'section' => 'home_section_8', 'priority' => 41, 'default' => '#', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section8_box4_button_title' => array( 'name' => 'canuck_section8_box4_button_title', 'title' => __( 'Section 8-Box 4-Link Label', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed, use single quotes for classes. Note: Leave this blank to use image or icon as the link.', 'canuck' ) . ' ' . __( 'Default : ', 'canuck' ) . "<i class='fa fa-link'></i> more ", 'section' => 'home_section_8', 'priority' => 42, 'default' => " " . __( 'more', 'canuck' ), 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), // Section 9 : Portfolio. 'canuck_section9_background_image' => array( 'name' => 'canuck_section9_background_image', 'title' => __( 'Section 9-Background Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'Upload and use a background image', 'canuck' ), 'section' => 'home_section_9', 'priority' => 1, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section9_overlay_opacity' => array( 'name' => 'canuck_section9_overlay_opacity', 'title' => __( 'Section 9-Overlay Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to place a dark shadow over the background image.', 'canuck' ), 'section' => 'home_section_9', 'priority' => 2, 'default' => 0, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section9_use_parallax' => array( 'name' => 'canuck_section9_use_parallax', 'title' => __( 'Section 9-Use Parallax', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to use parallax effect for the image.', 'canuck' ), 'section' => 'home_section_9', 'priority' => 3, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section9_background_color' => array( 'name' => 'canuck_section9_background_color', 'title' => __( 'Section 9-Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color. Note this will not be used if a background image is set up.', 'canuck' ), 'section' => 'home_section_9', 'priority' => 4, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section9_background_color_opacity' => array( 'name' => 'canuck_section9_background_color_opacity', 'title' => __( 'Section 9-Background Color Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to set the opacity of the background color.', 'canuck' ), 'section' => 'home_section_9', 'priority' => 5, 'default' => 1, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section9_text_color' => array( 'name' => 'canuck_section9_text_color', 'title' => __( 'Section 9-Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a text color', 'canuck' ), 'section' => 'home_section_9', 'priority' => 6, 'default' => '#4c4c4c', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section9_title' => array( 'name' => 'canuck_section9_title', 'title' => __( 'Section 9-Title', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_9', 'priority' => 7, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section9_text' => array( 'name' => 'canuck_section9_text', 'title' => __( 'Section 9-Content', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_9', 'priority' => 8, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section9_portfolio_category' => array( 'name' => 'canuck_section9_portfolio_category', 'title' => __( 'Section 9-Portfolio Category', 'canuck' ), 'option_type' => 'scat', 'setting_type' => 'theme_mod', 'description' => __( 'Select the category you have used for the feature posts you are using for this portfolio section.', 'canuck' ), 'section' => 'home_section_9', 'priority' => 9, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section9_portfolio_columns' => array( 'name' => 'canuck_section9_portfolio_columns', 'title' => __( 'Section 9-Portfolio Columns', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( '3' => '3', '4' => '4', ), 'description' => __( 'you can have 3 or 4 portfolio columns', 'canuck' ), 'section' => 'home_section_9', 'priority' => 10, 'default' => '3', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), // Section 10 : Media Left - Content Right. 'canuck_section10_background_image' => array( 'name' => 'canuck_section10_background_image', 'title' => __( 'Section 10-Background Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'Upload and use a background image', 'canuck' ), 'section' => 'home_section_10', 'priority' => 1, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section10_overlay_opacity' => array( 'name' => 'canuck_section10_overlay_opacity', 'title' => __( 'Section 10-Overlay Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to place a dark shadow over the background image.', 'canuck' ), 'section' => 'home_section_10', 'priority' => 2, 'default' => 0, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section10_use_parallax' => array( 'name' => 'canuck_section10_use_parallax', 'title' => __( 'Section 10-Use Parallax', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to use parallax effect for the image.', 'canuck' ), 'section' => 'home_section_10', 'priority' => 3, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section10_background_color' => array( 'name' => 'canuck_section10_background_color', 'title' => __( 'Section 10-Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color. Note this will not be used if a background image is set up.', 'canuck' ), 'section' => 'home_section_10', 'priority' => 4, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section10_background_color_opacity' => array( 'name' => 'canuck_section10_background_color_opacity', 'title' => __( 'Section 10-Background Color Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to set the opacity of the background color.', 'canuck' ), 'section' => 'home_section_10', 'priority' => 5, 'default' => 1, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section10_text_color' => array( 'name' => 'canuck_section10_text_color', 'title' => __( 'Section 10-Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a text color', 'canuck' ), 'section' => 'home_section_10', 'priority' => 6, 'default' => '#4c4c4c', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section10_media_area_usage' => array( 'name' => 'canuck_section10_media_area_usage', 'title' => __( 'Section 10-Media Area Usage Options', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'normal' => 'image', 'shortcode' => 'shortcode', 'widgetized' => 'widgetized', ), 'description' => __( 'You can use an image for the media area or use a shortcode or widget in the media area.', 'canuck' ) . ' ' . __( 'If using an image, upload the image below.', 'canuck' ) . ' ' . __( 'If using a shortcode, enter the scortcode in the shortcode entry box below.', 'canuck' ) . ' ' . __( 'If using a widget set up your widget in Appearence -> widgets using the Home Page Section 10 tab.', 'canuck' ), 'section' => 'home_section_10', 'priority' => 7, 'default' => 'normal', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section10_image' => array( 'name' => 'canuck_section10_image', 'title' => __( 'Section 10-Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'upload and use an image', 'canuck' ), 'section' => 'home_section_10', 'priority' => 8, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section10_shortcode' => array( 'name' => 'canuck_section10_shortcode', 'title' => __( 'Section 10-Shortcode', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'Add your shortcode here if using shortcode as a Media Area Useage Option.', 'canuck' ), 'section' => 'home_section_10', 'priority' => 9, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section10_title' => array( 'name' => 'canuck_section10_title', 'title' => __( 'Section 10-Title', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'no html', 'canuck' ), 'section' => 'home_section_10', 'priority' => 10, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section10_text' => array( 'name' => 'canuck_section10_text', 'title' => __( 'Section 10-Content', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_10', 'priority' => 11, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section10_include_link' => array( 'name' => 'canuck_section10_include_link', 'title' => __( 'Section 10-Include Link', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'check to use a link', 'canuck' ), 'section' => 'home_section_10', 'priority' => 12, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section10_button_link' => array( 'name' => 'canuck_section10_button_link', 'title' => __( 'Section 10-Button Link', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Format:http://your.website.url/page/', 'canuck' ), 'section' => 'home_section_10', 'priority' => 13, 'default' => '#', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section10_button_title' => array( 'name' => 'canuck_section10_button_title', 'title' => __( 'Section 10-Button Label', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed, use single quotes for classes. Note: Leave this blank to use image or icon as the link.', 'canuck' ) . ' ' . __( 'Default : ', 'canuck' ) . "<i class='fa fa-link'></i> more ", 'section' => 'home_section_10', 'priority' => 14, 'default' => " " . __( 'more', 'canuck' ), 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section10_button_background_color' => array( 'name' => 'canuck_section10_button_background_color', 'title' => __( 'Section 10-Button Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color for the button.', 'canuck' ), 'section' => 'home_section_10', 'priority' => 15, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section10_button_text_color' => array( 'name' => 'canuck_section10_button_text_color', 'title' => __( 'Section 10-Button Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a color for button text.', 'canuck' ), 'section' => 'home_section_10', 'priority' => 16, 'default' => $button_hover_default, 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section10_button_hover_background_color' => array( 'name' => 'canuck_section10_button_hover_background_color', 'title' => __( 'Section 10-Button Hover Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'The button changes to this color when a mouse pointer hovers over it.', 'canuck' ), 'section' => 'home_section_10', 'priority' => 17, 'default' => $button_hover_default, 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section10_button_hover_text_color' => array( 'name' => 'canuck_section10_button_hover_text_color', 'title' => __( 'Section 10-Button Hover Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'The button text changes to this color when a mouse pointer hovers over it.', 'canuck' ), 'section' => 'home_section_10', 'priority' => 18, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), // Section 11: Content Left - Media Right. 'canuck_section11_background_image' => array( 'name' => 'canuck_section11_background_image', 'title' => __( 'Section 11-Background Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'Upload and use a background image', 'canuck' ), 'section' => 'home_section_11', 'priority' => 1, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section11_overlay_opacity' => array( 'name' => 'canuck_section11_overlay_opacity', 'title' => __( 'Section 11-Overlay Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to place a dark shadow over the background image.', 'canuck' ), 'section' => 'home_section_11', 'priority' => 2, 'default' => 0, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section11_use_parallax' => array( 'name' => 'canuck_section11_use_parallax', 'title' => __( 'Section 11-Use Parallax', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to use parallax effect for the image.', 'canuck' ), 'section' => 'home_section_11', 'priority' => 3, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section11_background_color' => array( 'name' => 'canuck_section11_background_color', 'title' => __( 'Section 11-Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color. Note this will not be used if a background image is set up.', 'canuck' ), 'section' => 'home_section_11', 'priority' => 4, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section11_background_color_opacity' => array( 'name' => 'canuck_section11_background_color_opacity', 'title' => __( 'Section 11-Background Color Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to set the opacity of the background color.', 'canuck' ), 'section' => 'home_section_11', 'priority' => 5, 'default' => 1, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section11_text_color' => array( 'name' => 'canuck_section11_text_color', 'title' => __( 'Section 11-Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a text color', 'canuck' ), 'section' => 'home_section_11', 'priority' => 6, 'default' => '#4c4c4c', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section11_media_area_usage' => array( 'name' => 'canuck_section11_media_area_usage', 'title' => __( 'Section 11-Media Area Usage Options', 'canuck' ), 'option_type' => 'select', 'setting_type' => 'theme_mod', 'choices' => array( 'normal' => 'image', 'shortcode' => 'shortcode', 'widgetized' => 'widgetized', ), 'description' => __( 'You can use an image for the media area or use a shortcode or widget in the media area.', 'canuck' ) . ' ' . __( 'If using an image, upload the image below.', 'canuck' ) . ' ' . __( 'If using a shortcode, enter the scortcode in the shortcode box below.', 'canuck' ) . ' ' . __( 'If using a widget set up your widget in Appearence -> widgets using the Home Page Section 11 tab.', 'canuck' ), 'section' => 'home_section_11', 'priority' => 7, 'default' => 'normal', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section11_image' => array( 'name' => 'canuck_section11_image', 'title' => __( 'Section 11-Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'upload and use an image', 'canuck' ), 'section' => 'home_section_11', 'priority' => 8, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section11_shortcode' => array( 'name' => 'canuck_section11_shortcode', 'title' => __( 'Section 11-Shortcode', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'Add your shortcode here if using shortcode as a Media Area Useage Option.', 'canuck' ), 'section' => 'home_section_11', 'priority' => 9, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section11_title' => array( 'name' => 'canuck_section11_title', 'title' => __( 'Section 11-Title', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'no html', 'canuck' ), 'section' => 'home_section_11', 'priority' => 10, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section11_text' => array( 'name' => 'canuck_section11_text', 'title' => __( 'Section 11-Content', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_11', 'priority' => 11, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section11_include_link' => array( 'name' => 'canuck_section11_include_link', 'title' => __( 'Section 11-Include Link', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'check to use a link', 'canuck' ), 'section' => 'home_section_11', 'priority' => 12, 'default' => false, // 0 for off 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section11_button_link' => array( 'name' => 'canuck_section11_button_link', 'title' => __( 'Section 11-Button Link', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'Format:http://your.website.url/page/', 'canuck' ), 'section' => 'home_section_11', 'priority' => 13, 'default' => '#', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section11_button_title' => array( 'name' => 'canuck_section11_button_title', 'title' => __( 'Section 11-Button Label', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed, use single quotes for classes. Note: Leave this blank to use image or icon as the link.', 'canuck' ) . ' ' . __( 'Default : ', 'canuck' ) . "<i class='fa fa-link'></i> more ", 'section' => 'home_section_11', 'priority' => 14, 'default' => '...more', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section11_button_background_color' => array( 'name' => 'canuck_section11_button_background_color', 'title' => __( 'Section 11-Button Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color for the button.', 'canuck' ), 'section' => 'home_section_11', 'priority' => 15, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section11_button_text_color' => array( 'name' => 'canuck_section11_button_text_color', 'title' => __( 'Section 11-Button Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a color for button text.', 'canuck' ), 'section' => 'home_section_11', 'priority' => 16, 'default' => $button_hover_default, 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section11_button_hover_background_color' => array( 'name' => 'canuck_section11_button_hover_background_color', 'title' => __( 'Section 11-Button Hover Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'The button changes to this color when a mouse pointer hovers over it.', 'canuck' ), 'section' => 'home_section_11', 'priority' => 17, 'default' => $button_hover_default, 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section11_button_hover_text_color' => array( 'name' => 'canuck_section11_button_hover_text_color', 'title' => __( 'Section 11-Button Hover Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'The button text changes to this color when a mouse pointer hovers over it.', 'canuck' ), 'section' => 'home_section_11', 'priority' => 18, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), // Section 12 : Carousel. 'canuck_section12_background_image' => array( 'name' => 'canuck_section12_background_image', 'title' => __( 'Section 12-Background Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'Upload and use a background image', 'canuck' ), 'section' => 'home_section_12', 'priority' => 1, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section12_overlay_opacity' => array( 'name' => 'canuck_section12_overlay_opacity', 'title' => __( 'Section 12-Overlay Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to place a dark shadow over the background image.', 'canuck' ), 'section' => 'home_section_12', 'priority' => 2, 'default' => 0, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section12_use_parallax' => array( 'name' => 'canuck_section12_use_parallax', 'title' => __( 'Section 12-Use Parallax', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to use parallax effect for the image.', 'canuck' ), 'section' => 'home_section_12', 'priority' => 3, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section12_background_color' => array( 'name' => 'canuck_section12_background_color', 'title' => __( 'Section 12-Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color. Note this will not be used if a background image is set up.', 'canuck' ), 'section' => 'home_section_12', 'priority' => 4, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section12_background_color_opacity' => array( 'name' => 'canuck_section12_background_color_opacity', 'title' => __( 'Section 12-Background Color Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to set the opacity of the background color.', 'canuck' ), 'section' => 'home_section_12', 'priority' => 5, 'default' => 1, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section12_text_color' => array( 'name' => 'canuck_section12_text_color', 'title' => __( 'Section 12-Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a text color', 'canuck' ), 'section' => 'home_section_12', 'priority' => 6, 'default' => '#4c4c4c', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section12_title' => array( 'name' => 'canuck_section12_title', 'title' => __( 'Section 12-Title', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_12', 'priority' => 7, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section12_text' => array( 'name' => 'canuck_section12_text', 'title' => __( 'Section 12-Content', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_12', 'priority' => 8, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section12_portfolio_category' => array( 'name' => 'canuck_section12_portfolio_category', 'title' => __( 'Section 12-Portfolio Category', 'canuck' ), 'option_type' => 'scat', 'setting_type' => 'theme_mod', 'description' => __( 'Select the category you have used for the feature posts you are using for this portfolio section.', 'canuck' ), 'section' => 'home_section_12', 'priority' => 9, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), // Section 13 : Carousel. 'canuck_section13_background_image' => array( 'name' => 'canuck_section13_background_image', 'title' => __( 'Section 13-Background Image', 'canuck' ), 'option_type' => 'image', 'setting_type' => 'theme_mod', 'description' => __( 'Upload and use a background image', 'canuck' ), 'section' => 'home_section_13', 'priority' => 1, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'esc_url_raw', ), 'canuck_section13_overlay_opacity' => array( 'name' => 'canuck_section13_overlay_opacity', 'title' => __( 'Section 13-Overlay Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to place a dark shadow over the background image.', 'canuck' ), 'section' => 'home_section_13', 'priority' => 2, 'default' => 0, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section13_use_parallax' => array( 'name' => 'canuck_section13_use_parallax', 'title' => __( 'Section 13-Use Parallax', 'canuck' ), 'option_type' => 'checkbox', 'setting_type' => 'theme_mod', 'description' => __( 'Check to use parallax effect for the image.', 'canuck' ), 'section' => 'home_section_13', 'priority' => 3, 'default' => false, 'transport' => 'refresh', 'sanitize' => 'wp_validate_boolean', ), 'canuck_section13_background_color' => array( 'name' => 'canuck_section13_background_color', 'title' => __( 'Section 13-Background Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a background color. Note this will not be used if a background image is set up.', 'canuck' ), 'section' => 'home_section_13', 'priority' => 4, 'default' => '#ffffff', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section13_background_color_opacity' => array( 'name' => 'canuck_section13_background_color_opacity', 'title' => __( 'Section 13-Background Color Opacity', 'canuck' ), 'option_type' => 'range', 'setting_type' => 'theme_mod', 'choices' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'class' => 'range1-class', 'style' => 'color: #B26969', ), 'description' => __( 'This option allows you to set the opacity of the background color.', 'canuck' ), 'section' => 'home_section_13', 'priority' => 5, 'default' => 1, 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), 'canuck_section13_text_color' => array( 'name' => 'canuck_section13_text_color', 'title' => __( 'Section 13-Text Color', 'canuck' ), 'option_type' => 'color', 'setting_type' => 'theme_mod', 'description' => __( 'Choose a text color', 'canuck' ), 'section' => 'home_section_13', 'priority' => 6, 'default' => '#4c4c4c', 'transport' => 'refresh', 'sanitize' => 'sanitize_hex_color', ), 'canuck_section13_title' => array( 'name' => 'canuck_section13_title', 'title' => __( 'Section 13-Title', 'canuck' ), 'option_type' => 'text', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_13', 'priority' => 7, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section13_text' => array( 'name' => 'canuck_section13_text', 'title' => __( 'Section 13-Content', 'canuck' ), 'option_type' => 'textarea', 'setting_type' => 'theme_mod', 'description' => __( 'html allowed', 'canuck' ), 'section' => 'home_section_13', 'priority' => 8, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'wp_kses_post', ), 'canuck_section13_portfolio_category' => array( 'name' => 'canuck_section13_portfolio_category', 'title' => __( 'Section 13-Portfolio Category', 'canuck' ), 'option_type' => 'scat', 'setting_type' => 'theme_mod', 'description' => __( 'Select the category you have used for the feature posts you are using for this portfolio section.', 'canuck' ), 'section' => 'home_section_13', 'priority' => 9, 'default' => '', 'transport' => 'refresh', 'sanitize' => 'sanitize_text_field', ), ); return apply_filters( 'canuck_get_customizer_option_parameters', $options ); } /** * Register set up the options. * * @param array $wp_customize global array. */ function canuck_customize_register( $wp_customize ) { global $wp_customize; // Start by adding custom controls. canuck_add_custom_controls(); // Set up Customizer Panels and Sections. canuck_setup_panels_sections(); // Set up the options. $canuck_customize_options = canuck_get_customizer_option_partameters(); foreach ( $canuck_customize_options as $canuck_option ) { // Add option setting. canuck_add_setting_theme_mod( $canuck_option ); // Add option control. canuck_add_control_theme_mod( $canuck_option ); } if ( is_child_theme() ) { $wp_customize->add_setting( 'canuck_import_parent_theme_options' , array( 'default' => false, 'type' => 'theme_mod', 'capability' => 'edit_theme_options', 'theme_supports' => '', 'transport' => 'refresh', 'sanitize_callback' => 'wp_validate_boolean', ) ); $wp_customize->add_control( 'canuck_import_parent_theme_options', array( 'label' => __( 'Import Parent Theme Options', 'canuck' ), 'section' => 'general_backup_options', 'settings' => 'canuck_import_parent_theme_options', 'type' => 'checkbox', 'description' => __( 'This option is being displayed because you are using a child theme.', 'canuck' ) . ' ' . __( 'When you initially set up a child theme, all options are reset to defaults.', 'canuck' ) . ' ' . __( 'If you check the box above and then "Save and Publish", all Canuck custom options from the parent theme will be imported to the child theme. ', 'canuck' ) . '

' . __( 'Options that are set to the default value in the child theme will be overwritten by options in the Parent Theme that are not default. ', 'canuck' ) . __( 'Only use for initial set up of the child theme, and do not use again or you may lose default settings you wish to keep.', 'canuck' ) . '

' . '' . __( 'Un-check the box and "Save & Publish" after you do the import to prevent it from happening again.', 'canuck' ) . '

', 'priority' => 2, ) ); } } add_action( 'customize_register', 'canuck_customize_register' ); /** * SETUP PANELS AND SECTIONS * * This helper function sets up panels and sections for Theme Customizer. */ function canuck_setup_panels_sections() { global $wp_customize; $groups = array(); $group = array(); $groups = canuck_get_customizer_groups(); foreach ( $groups as $group ) { // Add panel. $wp_customize->add_panel( $group['name'], array( 'priority' => $group['priority'], 'capability' => 'edit_theme_options', 'theme_supports' => '', 'title' => $group['title'], 'description' => $group['description'], ) ); // Add sections in panel. foreach ( $group['sections'] as $section ) { $wp_customize->add_section( $section['name'] , array( 'priority' => $section['priority'], 'capability' => 'edit_theme_options', 'theme_supports' => '', 'title' => $section['title'], 'description' => $section['description'], 'panel' => $group['name'], ) ); } } } /** * ADD SETTING THEME MOD TABLE * * This helper function loads adds a setting in Theme Customizer. * This setting function applies to options with 'setting_type'=>'theme_mod'. * * -------- capability --------------------------------------------------------------. * Note that capability is set to 'edit_theme_options' and will apply to all settings. * If you want to add different capabilities to each setting then change it to * $canuck_option['capability'] and add 'capability' => 'capability you want' to the * options array below. * -------- theme_supports ----------------------------------------------------------. * Note that theme_supports is set to '' and will apply to all settings. * If you want to add theme_cupports to each setting then change it to * $canuck_option['supports'] and add 'supports' => 'support you want' to the * options array below. * -------- sanitize_js_callback ----------------------------------------------------------. * Note that sanitize_js_callback is commented out. I initially set to '', but themecheck * was giving errors, and I was informed to just comment it out. * If you want to add sanitize_js_callback to each setting then change it to * $canuck_option['sanitize_js_callback'] and add 'sanitize_js_callback' => 'your js callback' * to the options array below. * ----------------------------------------------------------------------------------. * ref: https://codex.wordpress.org/Class_Reference/WP_Customize_Manager/add_setting. * * @param array $canuck_option contains the custom option parameters. */ function canuck_add_setting_theme_mod( $canuck_option ) { global $wp_customize; // Add_setting for option. $wp_customize->add_setting( $canuck_option['name'] , array( 'default' => $canuck_option['default'], 'type' => $canuck_option['setting_type'], 'capability' => 'edit_theme_options', 'theme_supports' => '', 'transport' => $canuck_option['transport'], 'sanitize_callback' => $canuck_option['sanitize'], ) ); } /** * ADD CONTROL THEME MOD TABLE * * This helper function adds a control for Theme Customizer. * This function applies to options with 'setting_type'=>'theme_mod'. * * ref:https://codex.wordpress.org/Class_Reference/WP_Customize_Manager/add_control. * * @param array $canuck_option contains the custom option parameters. */ function canuck_add_control_theme_mod( $canuck_option ) { global $wp_customize; if ( 'text' === $canuck_option['option_type'] ) { $wp_customize->add_control( $canuck_option['name'], array( 'label' => $canuck_option['title'], 'section' => $canuck_option['section'], 'settings' => $canuck_option['name'], 'type' => $canuck_option['option_type'], 'description' => $canuck_option['description'], 'priority' => $canuck_option['priority'], ) ); } elseif ( 'textarea' === $canuck_option['option_type'] ) { $wp_customize->add_control( $canuck_option['name'], array( 'label' => $canuck_option['title'], 'section' => $canuck_option['section'], 'settings' => $canuck_option['name'], 'type' => $canuck_option['option_type'], 'description' => $canuck_option['description'], 'priority' => $canuck_option['priority'], ) ); } elseif ( 'checkbox' === $canuck_option['option_type'] ) { $wp_customize->add_control( $canuck_option['name'], array( 'label' => $canuck_option['title'], 'section' => $canuck_option['section'], 'settings' => $canuck_option['name'], 'type' => $canuck_option['option_type'], 'description' => $canuck_option['description'], 'priority' => $canuck_option['priority'], ) ); } elseif ( 'radio' === $canuck_option['option_type'] ) { $wp_customize->add_control( $canuck_option['name'], array( 'label' => $canuck_option['title'], 'section' => $canuck_option['section'], 'settings' => $canuck_option['name'], 'type' => $canuck_option['option_type'], 'description' => $canuck_option['description'], 'priority' => $canuck_option['priority'], 'choices' => $canuck_option['choices'], ) ); } elseif ( 'select' === $canuck_option['option_type'] ) { $wp_customize->add_control( $canuck_option['name'], array( 'label' => $canuck_option['title'], 'section' => $canuck_option['section'], 'settings' => $canuck_option['name'], 'type' => $canuck_option['option_type'], 'description' => $canuck_option['description'], 'priority' => $canuck_option['priority'], 'choices' => $canuck_option['choices'], ) ); } elseif ( 'range' === $canuck_option['option_type'] ) { $wp_customize->add_control( $canuck_option['name'], array( 'label' => $canuck_option['title'], 'section' => $canuck_option['section'], 'settings' => $canuck_option['name'], 'type' => $canuck_option['option_type'], 'description' => $canuck_option['description'], 'priority' => $canuck_option['priority'], 'input_attrs' => $canuck_option['choices'], ) ); } elseif ( 'color' === $canuck_option['option_type'] ) { $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, $canuck_option['name'], array( 'label' => $canuck_option['title'], 'section' => $canuck_option['section'], 'settings' => $canuck_option['name'], 'type' => $canuck_option['option_type'], 'description' => $canuck_option['description'], 'priority' => $canuck_option['priority'], ) ) ); } elseif ( 'image' === $canuck_option['option_type'] ) { $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, $canuck_option['name'], array( 'label' => $canuck_option['title'], 'section' => $canuck_option['section'], 'settings' => $canuck_option['name'], 'type' => $canuck_option['option_type'], 'description' => $canuck_option['description'], 'priority' => $canuck_option['priority'], ) ) ); } elseif ( 'upload' === $canuck_option['option_type'] ) { $wp_customize->add_control( new WP_Customize_Upload_Control( $wp_customize, $canuck_option['name'], array( 'label' => $canuck_option['title'], 'section' => $canuck_option['section'], 'settings' => $canuck_option['name'], 'type' => $canuck_option['option_type'], 'description' => $canuck_option['description'], 'priority' => $canuck_option['priority'], ) ) ); } elseif ( 'scat' === $canuck_option['option_type'] ) { $wp_customize->add_control( new Canuck_Category_Dropdown_Custom_Control( $wp_customize, $canuck_option['name'], array( 'label' => $canuck_option['title'], 'section' => $canuck_option['section'], 'settings' => $canuck_option['name'], 'type' => $canuck_option['option_type'], 'description' => $canuck_option['description'], 'priority' => $canuck_option['priority'], ) ) ); } elseif ( 'stag' === $canuck_option['option_type'] ) { $wp_customize->add_control( new Canuck_Tags_Dropdown_Custom_Control( $wp_customize, $canuck_option['name'], array( 'label' => $canuck_option['title'], 'section' => $canuck_option['section'], 'settings' => $canuck_option['name'], 'type' => $canuck_option['option_type'], 'description' => $canuck_option['description'], 'priority' => $canuck_option['priority'], ) ) ); } elseif ( 'mcat' === $canuck_option['option_type'] ) { $wp_customize->add_control( new Canuck_Category_Checkboxes_Control( $wp_customize, $canuck_option['name'], array( 'label' => $canuck_option['title'], 'section' => $canuck_option['section'], 'settings' => $canuck_option['name'], 'type' => $canuck_option['option_type'], 'description' => $canuck_option['description'], 'priority' => $canuck_option['priority'], ) ) ); } elseif ( 'fa' === $canuck_option['option_type'] ) { $wp_customize->add_control( new Canuck_Customizer_Fontawesome_Control($wp_customize, $canuck_option['name'], array( 'label' => $canuck_option['title'], 'section' => $canuck_option['section'], 'settings' => $canuck_option['name'], 'type' => $canuck_option['option_type'], 'description' => $canuck_option['description'], 'priority' => $canuck_option['priority'], 'choices' => $canuck_option['choices'], ) ) ); } elseif ( 'radio_image' === $canuck_option['option_type'] ) { $wp_customize->add_control( new Canuck_Custom_Radio_Image_Control($wp_customize, $canuck_option['name'], array( 'label' => $canuck_option['title'], 'section' => $canuck_option['section'], 'settings' => $canuck_option['name'], 'type' => $canuck_option['option_type'], 'description' => $canuck_option['description'], 'priority' => $canuck_option['priority'], 'choices' => $canuck_option['choices'], ) ) ); } } /** * CUSTOM CONTROLS * * This helper function loads the Custom Controls for Theme Customizer */ function canuck_add_custom_controls() { if ( class_exists( 'WP_Customize_Control' ) ) { /** * Class to create a custom category control. * * Source: https://github.com/bueltge/Wordpress-Theme-Customizer-Custom-Controls. */ class Canuck_Category_Dropdown_Custom_Control extends WP_Customize_Control { /** * Render Content */ public function render_content() { ?> label ); ?> description ); ?> ' . esc_html( $category->cat_name ) . '
'; } // Loads the hidden input field that stores the saved category list. ?> link() ); ?> value="value() ); ?>"> choices ) ) { return; } $name = '_customize-radio-' . $this->id; ?> label ); ?> description ) ) { ?> description ); ?>
choices as $value => $label ) { ?> link(); ?> value(), $value ); ?>>
choices ) ) { return; } ?> '', 'fa-address-book' => '', 'fa-address-book-o' => '', 'fa-address-card' => '', 'fa-address-card-o' => '', 'fa-adjust' => '', 'fa-adn' => '', 'fa-align-center' => '', 'fa-align-justify' => '', 'fa-align-left' => '', 'fa-align-right' => '', 'fa-amazon' => '', 'fa-ambulance' => '', 'fa-american-sign-language-interpreting' => '', 'fa-anchor' => '', 'fa-android' => '', 'fa-angellist' => '', 'fa-angle-double-down' => '', 'fa-angle-double-left' => '', 'fa-angle-double-right' => '', 'fa-angle-double-up' => '', 'fa-angle-down' => '', 'fa-angle-left' => '', 'fa-angle-right' => '', 'fa-angle-up' => '', 'fa-apple' => '', 'fa-archive' => '', 'fa-area-chart' => '', 'fa-arrow-circle-down' => '', 'fa-arrow-circle-left' => '', 'fa-arrow-circle-o-down' => '', 'fa-arrow-circle-o-left' => '', 'fa-arrow-circle-o-right' => '', 'fa-arrow-circle-o-up' => '', 'fa-arrow-circle-right' => '', 'fa-arrow-circle-up' => '', 'fa-arrow-down' => '', 'fa-arrow-left' => '', 'fa-arrow-right' => '', 'fa-arrows' => '', 'fa-arrows-alt' => '', 'fa-arrows-h' => '', 'fa-arrows-v' => '', 'fa-arrow-up' => '', 'fa-assistive-listening-systems' => '', 'fa-asterisk' => '', 'fa-at' => '', 'fa-audio-description' => '', 'fa-backward' => '', 'fa-balance-scale' => '', 'fa-ban' => '', 'fa-bandcamp' => '', 'fa-bar-chart' => '', 'fa-barcode' => '', 'fa-bars' => '', 'fa-bath' => '', 'fa-battery-empty' => '', 'fa-battery-full' => '', 'fa-battery-half' => '', 'fa-battery-quarter' => '', 'fa-battery-three-quarters' => '', 'fa-bed' => '', 'fa-beer' => '', 'fa-behance' => '', 'fa-behance-square' => '', 'fa-bell' => '', 'fa-bell-o' => '', 'fa-bell-slash' => '', 'fa-bell-slash-o' => '', 'fa-bicycle' => '', 'fa-binoculars' => '', 'fa-birthday-cake' => '', 'fa-bitbucket' => '', 'fa-bitbucket-square' => '', 'fa-black-tie' => '', 'fa-blind' => '', 'fa-bluetooth' => '', 'fa-bluetooth-b' => '', 'fa-bold' => '', 'fa-bolt' => '', 'fa-bomb' => '', 'fa-book' => '', 'fa-bookmark' => '', 'fa-bookmark-o' => '', 'fa-braille' => '', 'fa-briefcase' => '', 'fa-btc' => '', 'fa-bug' => '', 'fa-building' => '', 'fa-building-o' => '', 'fa-bullhorn' => '', 'fa-bullseye' => '', 'fa-bus' => '', 'fa-buysellads' => '', 'fa-calculator' => '', 'fa-calendar' => '', 'fa-calendar-check-o' => '', 'fa-calendar-minus-o' => '', 'fa-calendar-o' => '', 'fa-calendar-plus-o' => '', 'fa-calendar-times-o' => '', 'fa-camera' => '', 'fa-camera-retro' => '', 'fa-car' => '', 'fa-caret-down' => '', 'fa-caret-left' => '', 'fa-caret-right' => '', 'fa-caret-square-o-down' => '', 'fa-caret-square-o-left' => '', 'fa-caret-square-o-right' => '', 'fa-caret-square-o-up' => '', 'fa-caret-up' => '', 'fa-cart-arrow-down' => '', 'fa-cart-plus' => '', 'fa-cc' => '', 'fa-cc-amex' => '', 'fa-cc-diners-club' => '', 'fa-cc-discover' => '', 'fa-cc-jcb' => '', 'fa-cc-mastercard' => '', 'fa-cc-paypal' => '', 'fa-cc-stripe' => '', 'fa-cc-visa' => '', 'fa-certificate' => '', 'fa-chain-broken' => '', 'fa-check' => '', 'fa-check-circle' => '', 'fa-check-circle-o' => '', 'fa-check-square' => '', 'fa-check-square-o' => '', 'fa-chevron-circle-down' => '', 'fa-chevron-circle-left' => '', 'fa-chevron-circle-right' => '', 'fa-chevron-circle-up' => '', 'fa-chevron-down' => '', 'fa-chevron-left' => '', 'fa-chevron-right' => '', 'fa-chevron-up' => '', 'fa-child' => '', 'fa-chrome' => '', 'fa-circle' => '', 'fa-circle-o' => '', 'fa-circle-o-notch' => '', 'fa-circle-thin' => '', 'fa-clipboard' => '', 'fa-clock-o' => '', 'fa-clone' => '', 'fa-cloud' => '', 'fa-cloud-download' => '', 'fa-cloud-upload' => '', 'fa-code' => '', 'fa-code-fork' => '', 'fa-codepen' => '', 'fa-codiepie' => '', 'fa-coffee' => '', 'fa-cog' => '', 'fa-cogs' => '', 'fa-columns' => '', 'fa-comment' => '', 'fa-commenting' => '', 'fa-commenting-o' => '', 'fa-comment-o' => '', 'fa-comments' => '', 'fa-comments-o' => '', 'fa-compass' => '', 'fa-compress' => '', 'fa-connectdevelop' => '', 'fa-contao' => '', 'fa-copyright' => '', 'fa-creative-commons' => '', 'fa-credit-card' => '', 'fa-credit-card-alt' => '', 'fa-crop' => '', 'fa-crosshairs' => '', 'fa-css3' => '', 'fa-cube' => '', 'fa-cubes' => '', 'fa-cutlery' => '', 'fa-dashcube' => '', 'fa-database' => '', 'fa-deaf' => '', 'fa-delicious' => '', 'fa-desktop' => '', 'fa-deviantart' => '', 'fa-diamond' => '', 'fa-digg' => '', 'fa-dot-circle-o' => '', 'fa-download' => '', 'fa-dribbble' => '', 'fa-dropbox' => '', 'fa-drupal' => '', 'fa-edge' => '', 'fa-eercast' => '', 'fa-eject' => '', 'fa-ellipsis-h' => '', 'fa-ellipsis-v' => '', 'fa-empire' => '', 'fa-envelope' => '', 'fa-envelope-o' => '', 'fa-envelope-open' => '', 'fa-envelope-open-o' => '', 'fa-envelope-square' => '', 'fa-envira' => '', 'fa-eraser' => '', 'fa-etsy' => '', 'fa-eur' => '', 'fa-exchange' => '', 'fa-exclamation' => '', 'fa-exclamation-circle' => '', 'fa-exclamation-triangle' => '', 'fa-expand' => '', 'fa-expeditedssl' => '', 'fa-external-link' => '', 'fa-external-link-square' => '', 'fa-eye' => '', 'fa-eyedropper' => '', 'fa-eye-slash' => '', 'fa-facebook' => '', 'fa-facebook-official' => '', 'fa-facebook-square' => '', 'fa-fast-backward' => '', 'fa-fast-forward' => '', 'fa-fax' => '', 'fa-female' => '', 'fa-fighter-jet' => '', 'fa-file' => '', 'fa-file-archive-o' => '', 'fa-file-audio-o' => '', 'fa-file-code-o' => '', 'fa-file-excel-o' => '', 'fa-file-image-o' => '', 'fa-file-o' => '', 'fa-file-pdf-o' => '', 'fa-file-powerpoint-o' => '', 'fa-files-o' => '', 'fa-file-text' => '', 'fa-file-text-o' => '', 'fa-file-video-o' => '', 'fa-file-word-o' => '', 'fa-film' => '', 'fa-filter' => '', 'fa-fire' => '', 'fa-fire-extinguisher' => '', 'fa-firefox' => '', 'fa-first-order' => '', 'fa-flag' => '', 'fa-flag-checkered' => '', 'fa-flag-o' => '', 'fa-flask' => '', 'fa-flickr' => '', 'fa-floppy-o' => '', 'fa-folder' => '', 'fa-folder-o' => '', 'fa-folder-open' => '', 'fa-folder-open-o' => '', 'fa-font' => '', 'fa-font-awesome' => '', 'fa-fonticons' => '', 'fa-fort-awesome' => '', 'fa-forumbee' => '', 'fa-forward' => '', 'fa-foursquare' => '', 'fa-free-code-camp' => '', 'fa-frown-o' => '', 'fa-futbol-o' => '', 'fa-gamepad' => '', 'fa-gavel' => '', 'fa-gbp' => '', 'fa-genderless' => '', 'fa-get-pocket' => '', 'fa-gg' => '', 'fa-gg-circle' => '', 'fa-gift' => '', 'fa-git' => '', 'fa-github' => '', 'fa-github-alt' => '', 'fa-github-square' => '', 'fa-gitlab' => '', 'fa-git-square' => '', 'fa-glass' => '', 'fa-glide' => '', 'fa-glide-g' => '', 'fa-globe' => '', 'fa-google' => '', 'fa-google-plus' => '', 'fa-google-plus-official' => '', 'fa-google-plus-square' => '', 'fa-google-wallet' => '', 'fa-graduation-cap' => '', 'fa-gratipay' => '', 'fa-grav' => '', 'fa-hacker-news' => '', 'fa-hand-lizard-o' => '', 'fa-hand-o-down' => '', 'fa-hand-o-left' => '', 'fa-hand-o-right' => '', 'fa-hand-o-up' => '', 'fa-hand-paper-o' => '', 'fa-hand-peace-o' => '', 'fa-hand-pointer-o' => '', 'fa-hand-rock-o' => '', 'fa-hand-scissors-o' => '', 'fa-handshake-o' => '', 'fa-hand-spock-o' => '', 'fa-hashtag' => '', 'fa-hdd-o' => '', 'fa-header' => '', 'fa-headphones' => '', 'fa-heart' => '', 'fa-heartbeat' => '', 'fa-heart-o' => '', 'fa-history' => '', 'fa-home' => '', 'fa-hospital-o' => '', 'fa-hourglass' => '', 'fa-hourglass-end' => '', 'fa-hourglass-half' => '', 'fa-hourglass-o' => '', 'fa-hourglass-start' => '', 'fa-houzz' => '', 'fa-h-square' => '', 'fa-html5' => '', 'fa-i-cursor' => '', 'fa-id-badge' => '', 'fa-id-card' => '', 'fa-id-card-o' => '', 'fa-ils' => '', 'fa-imdb' => '', 'fa-inbox' => '', 'fa-indent' => '', 'fa-industry' => '', 'fa-info' => '', 'fa-info-circle' => '', 'fa-inr' => '', 'fa-instagram' => '', 'fa-internet-explorer' => '', 'fa-ioxhost' => '', 'fa-italic' => '', 'fa-joomla' => '', 'fa-jpy' => '', 'fa-jsfiddle' => '', 'fa-key' => '', 'fa-keyboard-o' => '', 'fa-krw' => '', 'fa-language' => '', 'fa-laptop' => '', 'fa-lastfm' => '', 'fa-lastfm-square' => '', 'fa-leaf' => '', 'fa-leanpub' => '', 'fa-lemon-o' => '', 'fa-level-down' => '', 'fa-level-up' => '', 'fa-life-ring' => '', 'fa-lightbulb-o' => '', 'fa-line-chart' => '', 'fa-link' => '', 'fa-linkedin' => '', 'fa-linkedin-square' => '', 'fa-linode' => '', 'fa-linux' => '', 'fa-list' => '', 'fa-list-alt' => '', 'fa-list-ol' => '', 'fa-list-ul' => '', 'fa-location-arrow' => '', 'fa-lock' => '', 'fa-long-arrow-down' => '', 'fa-long-arrow-left' => '', 'fa-long-arrow-right' => '', 'fa-long-arrow-up' => '', 'fa-low-vision' => '', 'fa-magic' => '', 'fa-magnet' => '', 'fa-male' => '', 'fa-map' => '', 'fa-map-marker' => '', 'fa-map-o' => '', 'fa-map-pin' => '', 'fa-map-signs' => '', 'fa-mars' => '', 'fa-mars-double' => '', 'fa-mars-stroke' => '', 'fa-mars-stroke-h' => '', 'fa-mars-stroke-v' => '', 'fa-maxcdn' => '', 'fa-meanpath' => '', 'fa-medium' => '', 'fa-medkit' => '', 'fa-meetup' => '', 'fa-meh-o' => '', 'fa-mercury' => '', 'fa-microchip' => '', 'fa-microphone' => '', 'fa-microphone-slash' => '', 'fa-minus' => '', 'fa-minus-circle' => '', 'fa-minus-square' => '', 'fa-minus-square-o' => '', 'fa-mixcloud' => '', 'fa-mobile' => '', 'fa-modx' => '', 'fa-money' => '', 'fa-moon-o' => '', 'fa-motorcycle' => '', 'fa-mouse-pointer' => '', 'fa-music' => '', 'fa-neuter' => '', 'fa-newspaper-o' => '', 'fa-object-group' => '', 'fa-object-ungroup' => '', 'fa-odnoklassniki' => '', 'fa-odnoklassniki-square' => '', 'fa-opencart' => '', 'fa-openid' => '', 'fa-opera' => '', 'fa-optin-monster' => '', 'fa-outdent' => '', 'fa-pagelines' => '', 'fa-paint-brush' => '', 'fa-paperclip' => '', 'fa-paper-plane' => '', 'fa-paper-plane-o' => '', 'fa-paragraph' => '', 'fa-pause' => '', 'fa-pause-circle' => '', 'fa-pause-circle-o' => '', 'fa-paw' => '', 'fa-paypal' => '', 'fa-pencil' => '', 'fa-pencil-square' => '', 'fa-pencil-square-o' => '', 'fa-percent' => '', 'fa-phone' => '', 'fa-phone-square' => '', 'fa-picture-o' => '', 'fa-pie-chart' => '', 'fa-pied-piper' => '', 'fa-pied-piper-alt' => '', 'fa-pied-piper-pp' => '', 'fa-pinterest' => '', 'fa-pinterest-p' => '', 'fa-pinterest-square' => '', 'fa-plane' => '', 'fa-play' => '', 'fa-play-circle' => '', 'fa-play-circle-o' => '', 'fa-plug' => '', 'fa-plus' => '', 'fa-plus-circle' => '', 'fa-plus-square' => '', 'fa-plus-square-o' => '', 'fa-podcast' => '', 'fa-power-off' => '', 'fa-print' => '', 'fa-product-hunt' => '', 'fa-puzzle-piece' => '', 'fa-qq' => '', 'fa-qrcode' => '', 'fa-question' => '', 'fa-question-circle' => '', 'fa-question-circle-o' => '', 'fa-quora' => '', 'fa-quote-left' => '', 'fa-quote-right' => '', 'fa-random' => '', 'fa-ravelry' => '', 'fa-rebel' => '', 'fa-recycle' => '', 'fa-reddit' => '', 'fa-reddit-alien' => '', 'fa-reddit-square' => '', 'fa-refresh' => '', 'fa-registered' => '', 'fa-renren' => '', 'fa-repeat' => '', 'fa-reply' => '', 'fa-reply-all' => '', 'fa-retweet' => '', 'fa-road' => '', 'fa-rocket' => '', 'fa-rss' => '', 'fa-rss-square' => '', 'fa-rub' => '', 'fa-safari' => '', 'fa-scissors' => '', 'fa-scribd' => '', 'fa-search' => '', 'fa-search-minus' => '', 'fa-search-plus' => '', 'fa-sellsy' => '', 'fa-server' => '', 'fa-share' => '', 'fa-share-alt' => '', 'fa-share-alt-square' => '', 'fa-share-square' => '', 'fa-share-square-o' => '', 'fa-shield' => '', 'fa-ship' => '', 'fa-shirtsinbulk' => '', 'fa-shopping-bag' => '', 'fa-shopping-basket' => '', 'fa-shopping-cart' => '', 'fa-shower' => '', 'fa-signal' => '', 'fa-sign-in' => '', 'fa-sign-language' => '', 'fa-sign-out' => '', 'fa-simplybuilt' => '', 'fa-sitemap' => '', 'fa-skyatlas' => '', 'fa-skype' => '', 'fa-slack' => '', 'fa-sliders' => '', 'fa-slideshare' => '', 'fa-smile-o' => '', 'fa-snapchat' => '', 'fa-snapchat-ghost' => '', 'fa-snapchat-square' => '', 'fa-snowflake-o' => '', 'fa-sort' => '', 'fa-sort-alpha-asc' => '', 'fa-sort-alpha-desc' => '', 'fa-sort-amount-asc' => '', 'fa-sort-amount-desc' => '', 'fa-sort-asc' => '', 'fa-sort-desc' => '', 'fa-sort-numeric-asc' => '', 'fa-sort-numeric-desc' => '', 'fa-soundcloud' => '', 'fa-space-shuttle' => '', 'fa-spinner' => '', 'fa-spoon' => '', 'fa-spotify' => '', 'fa-square' => '', 'fa-square-o' => '', 'fa-stack-exchange' => '', 'fa-stack-overflow' => '', 'fa-star' => '', 'fa-star-half' => '', 'fa-star-half-o' => '', 'fa-star-o' => '', 'fa-steam' => '', 'fa-steam-square' => '', 'fa-step-backward' => '', 'fa-step-forward' => '', 'fa-stethoscope' => '', 'fa-sticky-note' => '', 'fa-sticky-note-o' => '', 'fa-stop' => '', 'fa-stop-circle' => '', 'fa-stop-circle-o' => '', 'fa-street-view' => '', 'fa-strikethrough' => '', 'fa-stumbleupon' => '', 'fa-stumbleupon-circle' => '', 'fa-subscript' => '', 'fa-subway' => '', 'fa-suitcase' => '', 'fa-sun-o' => '', 'fa-superpowers' => '', 'fa-superscript' => '', 'fa-table' => '', 'fa-tablet' => '', 'fa-tachometer' => '', 'fa-tag' => '', 'fa-tags' => '', 'fa-tasks' => '', 'fa-taxi' => '', 'fa-telegram' => '', 'fa-television' => '', 'fa-tencent-weibo' => '', 'fa-terminal' => '', 'fa-text-height' => '', 'fa-text-width' => '', 'fa-th' => '', 'fa-themeisle' => '', 'fa-thermometer-empty' => '', 'fa-thermometer-full' => '', 'fa-thermometer-half' => '', 'fa-thermometer-quarter' => '', 'fa-thermometer-three-quarters' => '', 'fa-th-large' => '', 'fa-th-list' => '', 'fa-thumbs-down' => '', 'fa-thumbs-o-down' => '', 'fa-thumbs-o-up' => '', 'fa-thumbs-up' => '', 'fa-thumb-tack' => '', 'fa-ticket' => '', 'fa-times' => '', 'fa-times-circle' => '', 'fa-times-circle-o' => '', 'fa-tint' => '', 'fa-toggle-off' => '', 'fa-toggle-on' => '', 'fa-trademark' => '', 'fa-train' => '', 'fa-transgender' => '', 'fa-transgender-alt' => '', 'fa-trash' => '', 'fa-trash-o' => '', 'fa-tree' => '', 'fa-trello' => '', 'fa-tripadvisor' => '', 'fa-trophy' => '', 'fa-truck' => '', 'fa-try' => '', 'fa-tty' => '', 'fa-tumblr' => '', 'fa-tumblr-square' => '', 'fa-twitch' => '', 'fa-twitter' => '', 'fa-twitter-square' => '', 'fa-umbrella' => '', 'fa-underline' => '', 'fa-undo' => '', 'fa-universal-access' => '', 'fa-university' => '', 'fa-unlock' => '', 'fa-unlock-alt' => '', 'fa-upload' => '', 'fa-usb' => '', 'fa-usd' => '', 'fa-user' => '', 'fa-user-circle' => '', 'fa-user-circle-o' => '', 'fa-user-md' => '', 'fa-user-o' => '', 'fa-user-plus' => '', 'fa-users' => '', 'fa-user-secret' => '', 'fa-user-times' => '', 'fa-venus' => '', 'fa-venus-double' => '', 'fa-venus-mars' => '', 'fa-viacoin' => '', 'fa-viadeo' => '', 'fa-viadeo-square' => '', 'fa-video-camera' => '', 'fa-vimeo' => '', 'fa-vimeo-square' => '', 'fa-vine' => '', 'fa-vk' => '', 'fa-volume-control-phone' => '', 'fa-volume-down' => '', 'fa-volume-off' => '', 'fa-volume-up' => '', 'fa-weibo' => '', 'fa-weixin' => '', 'fa-whatsapp' => '', 'fa-wheelchair' => '', 'fa-wheelchair-alt' => '', 'fa-wifi' => '', 'fa-wikipedia-w' => '', 'fa-window-close' => '', 'fa-window-close-o' => '', 'fa-window-maximize' => '', 'fa-window-minimize' => '', 'fa-window-restore' => '', 'fa-windows' => '', 'fa-wordpress' => '', 'fa-wpbeginner' => '', 'fa-wpexplorer' => '', 'fa-wpforms' => '', 'fa-wrench' => '', 'fa-xing' => '', 'fa-xing-square' => '', 'fa-yahoo' => '', 'fa-y-combinator' => '', 'fa-yelp' => '', 'fa-yoast' => '', 'fa-youtube' => '', 'fa-youtube-play' => '', 'fa-youtube-square' => '', ); } /** * Function to back up options to a post.. */ function canuck_backup_options() { $canuck_backup_options_to_post = get_theme_mod( 'canuck_backup_options_to_post' ) ? true : false; if ( true === $canuck_backup_options_to_post ) { $postarray = array(); $content = ''; $content .= '

' . __( 'Canuck Options Backup', 'canuck' ) . '

' . PHP_EOL; $content .= '

' . __( 'Introduction', 'canuck' ) . '

' . PHP_EOL; $content .= '

' . __( 'This page contains a backup of options for the Canuck WordPress Theme. ', 'canuck' ); $content .= __( 'The purpose of the backup is to provide a source to refer to if the options must be rebuilt. ', 'canuck' ); $content .= __( 'Another purpose for the backup is to prevent content loss on theme switch.', 'canuck' ); $content .= __( 'When a user switches themes this content will still be available to the user when setting up their site on the new theme.', 'canuck' ) . '

' . PHP_EOL; $content .= '

' . __( 'Please note the following : ', 'canuck' ) . '

' . PHP_EOL; $content .= '' . PHP_EOL; // General post setup. $postarray['post_title'] = 'Canuck Option Backup'; $postarray['post_type'] = 'page'; $postarray['post_status'] = 'draft'; $postarray['comment_status'] = 'closed'; $postarray['post_password'] = 'Canuck'; $content .= canuck_general_options_backup(); $content .= canuck_layouts_options_backup(); $content .= canuck_header_options_backup(); $content .= canuck_footer_options_backup(); $content .= canuck_styles_options_backup(); $content .= canuck_blog_options_backup(); $content .= canuck_home_options_backup(); $content .= canuck_custom_widget_content_backup(); $page = get_page_by_title( 'Canuck Option Backup' ); if ( isset ( $page ) && '' !== $page->ID ) { $postarray['ID'] = $page->ID; $postarray['post_content'] = $content; wp_update_post( $postarray ); } else { $postarray['ID'] = 0; $postarray['post_content'] = $content; wp_insert_post( $postarray ); } } } add_action( 'customize_save_after', 'canuck_backup_options' ); /** * Canuck Option Content: Canuck General * * There are 12 options in this panel.canuck_disable_lazy_load */ function canuck_general_options_backup() { $string = ''; $string .= '

' . __( 'Panel: Canuck General ', 'canuck' ) . '

' . PHP_EOL; $string .= '
' . __( 'Section: Backup Options', 'canuck' ) . '
' . PHP_EOL; $string .= '

' . __( 'This section intentionally left out as it is not needed by the user on theme switch or rebuild.', 'canuck' ) . '

' . PHP_EOL; // Exclude Categories. $string .= '
' . __( 'Section: Exclude Categories', 'canuck' ) . '
' . PHP_EOL; $exclude_categories_list = canuck_exclude_category_validation(); $cat_string = ''; if ( '' !== $exclude_categories_list ) { $exclude_ids = array(); $exclude_ids = explode( ',', $exclude_categories_list ); if ( '' !== $exclude_ids ) { foreach ( $exclude_ids as $exclude_id ) { $cat_string .= get_cat_name( $exclude_id ) . ', '; } $cat_string = trim( $cat_string , ', ' ); $cat_string = '' . $cat_string . '
' . PHP_EOL; } else { $cat_string .= '' . __( 'There are no categories selected', 'canuck' ) . '
' . PHP_EOL; } } $string .= $cat_string; // Flex Slider. $string .= '
' . __( 'Section: Flex Slider Options', 'canuck' ) . '
' . PHP_EOL; $string .= '' . __( 'Feature Slider', 'canuck' ) . '
' . PHP_EOL; $string .= '' . __( 'Feature Slider Auto Mode: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_flex_slider_auto' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Feature Slider Transition Effect: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_flex_slider_effect', 'fade' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Feature Slider Pause Time: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_flex_slider_pause', '5000' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Feature Slider Transition Time: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_flex_slider_trans', '600' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Gallery Slider', 'canuck' ) . '
' . PHP_EOL; $string .= '' . __( 'Gallery Slider Auto Mode: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_flex_gallery_auto' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Gallery Slider Transition Effect: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_flex_gallery_effect', 'fade' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Gallery Slider Pause Time: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_flex_gallery_pause', '5000' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Gallery Slider Transition Time: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_flex_gallery_trans', '600' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Disable the widget flex slider: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_disable_widget_slider' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; // jQuery Options. $string .= '
' . __( 'Section: jQuery Options', 'canuck' ) . '
' . PHP_EOL; $string .= '' . __( 'Disable colorbox.js plugin: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_disable_colorboxjs' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Disable fitvids.js plugin: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_disable_fitvidsjs' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Disable smooth scroll js script: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_disable_smoothscroll' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Disable scrollreveal.js plugin: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_disable_scrollreveal' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; return $string; } /** * Canuck Option Content: Canuck Layouts. * * There are 14 options in this panel. */ function canuck_layouts_options_backup() { $string = ''; $string .= '

' . __( 'Panel: Canuck Layouts', 'canuck' ) . '

' . PHP_EOL; // General Layout Options. $string .= '
' . __( 'Section: General Layout Options', 'canuck' ) . '
' . PHP_EOL; $string .= '' . __( 'Include Breadcrumbs: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_breadcrumbs' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; // Default Page Setup. $string .= '
' . __( 'Section: Default Page Setup', 'canuck' ) . '
' . PHP_EOL; $string .= '' . __( 'Default Page Layout Option: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_index_layout', 'right_sidebar' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Default Page Disable Title: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_index_title' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; // Author Page Setup. $string .= '
' . __( 'Section: Author Page Setup', 'canuck' ) . '
' . PHP_EOL; $string .= '' . __( 'Default Page Layout Option: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_author_layout', 'right_sidebar' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Include Author Bio: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_include_author_bio' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; // Category Page Setup. $string .= '
' . __( 'Section: Category Page Setup', 'canuck' ) . '
' . PHP_EOL; $string .= '' . __( 'Category Page Layout Option: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_category_layout', 'right_sidebar' ) ) . '
' . PHP_EOL; // Date Page Setup. $string .= '
' . __( 'Section: Date Page Setup', 'canuck' ) . '
' . PHP_EOL; $string .= '' . __( 'Date Page Layout Option: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_date_layout', 'right_sidebar' ) ) . '
' . PHP_EOL; // Search Page Setup. $string .= '
' . __( 'Section: Search Page Setup', 'canuck' ) . '
' . PHP_EOL; $string .= '' . __( 'Search Page Layout Option: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_search_layout', 'right_sidebar' ) ) . '
' . PHP_EOL; // Single Page Setup. $string .= '
' . __( 'Section: Single Page Setup', 'canuck' ) . '
' . PHP_EOL; $string .= '' . __( 'Single Page Layout Option: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_single_post_layout', 'right_sidebar' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Single Page Disable Title: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_single_title' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Single Page Sidebar A: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_single_sidebar_a', 'right_sidebar' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Single Page Sidebar B: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_single_sidebar_b', 'right_sidebar' ) ) . '
' . PHP_EOL; // Tag Page Setup. $string .= '
' . __( 'Section: Tag Page Setup', 'canuck' ) . '
' . PHP_EOL; $string .= '' . __( 'Tag Page Layout Option: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_tag_layout', 'right_sidebar' ) ) . '
' . PHP_EOL; // Error Page Setup. $string .= '
' . __( 'Section: Error Page Setup', 'canuck' ) . '
' . PHP_EOL; $string .= '' . __( 'Error Page Layout Option: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_404_layout', 'right_sidebar' ) ) . '
' . PHP_EOL; return $string; } /** * Canuck Option Content: Canuck Headers. * * There are 6 options in this panel. */ function canuck_header_options_backup() { $string = ''; $string .= '

' . __( 'Panel: Canuck Headers', 'canuck' ) . '

'; // Image background options. $string .= '
' . __( 'Section: Image background options', 'canuck' ) . '
'; $string .= '' . __( 'Header Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_image_header_background_color', '#000000' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Header Background Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_image_header_background_opacity', '0.5' ) ) . '
' . PHP_EOL; if ( '' === get_theme_mod( 'canuck_image_header_logo', '' ) ) { $string .= '' . __( 'Logo to overlay image backgrounds: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Logo to overlay image backgrounds: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_image_header_logo', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'alternate logo', 'canuck' ) . '
' . PHP_EOL; } // Contact Information. $string .= '
' . __( 'Section: Contact Information', 'canuck' ) . '
'; $string .= '' . __( 'Hours of Operation: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_contact_hours', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Phone Number: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_contact_phone', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Contact Page Link: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_contact_page', '' ) ) . '
' . PHP_EOL; return $string; } /** * Canuck Option Content: Canuck Footer. * * There are 9 options in this panel. */ function canuck_footer_options_backup() { $string = ''; $string .= '

' . __( 'Panel: Canuck Footer', 'canuck' ) . '

'; // Footer Options. $string .= '
' . __( 'Section: Footer Options', 'canuck' ) . '
'; $string .= '' . __( 'Show Contact/Social strip in footer: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_show_footer_top_strip' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Show footer area: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_show_footer' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; if ( '' === get_theme_mod( 'canuck_footer_background_image', '' ) ) { $string .= '' . __( 'Footer Background Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Footer Background Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_footer_background_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'footer background image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Footer-Overlay Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_footer_overlay_opacity', '0' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Select footer columns: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_footer_cols', '3' ) ) . '
' . PHP_EOL; // Copyright Strip Options. $string .= '
' . __( 'Section: Copyright Strip Options', 'canuck' ) . '
'; $string .= '' . __( 'Show Copyright Strip: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_show_copyright_strip' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Copyright left text: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_left_copyright_text', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Copyright middle text: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_middle_copyright_text', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Copyright right text: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_right_copyright_text', '' ) ) . '
' . PHP_EOL; return $string; } /** * Canuck Option Content: Canuck Styles. * * There are 4 options in this panel. */ function canuck_styles_options_backup() { $string = ''; $string .= '

' . __( 'Panel: Canuck Styles', 'canuck' ) . '

'; // General Styles. $string .= '
' . __( 'Section: Canuck: General Styles', 'canuck' ) . '
'; $string .= '' . __( 'Color Scheme: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_color_scheme', 'gray-pink' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Font for Headers: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_header_font', 'Open Sans' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Font for Body Text: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_body_font', 'Open Sans' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Font for Page Titles: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_page_title_font', 'Open Sans' ) ) . '
' . PHP_EOL; return $string; } /** * Canuck Option Content: Canuck Blog. * There are 12 options in this panel. */ function canuck_blog_options_backup() { $string = ''; $string .= '

' . __( 'Panel: Blog Options', 'canuck' ) . '

'; // General Blog Options. $string .= '
' . __( 'Section: General Blog Options', 'canuck' ) . '
'; $string .= '' . __( 'Blog Title: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_blog_title', 'Blog' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Disable Title: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_blog_title_option' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Blog Layout Option: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_blog_layout', 'Blog' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Blog Style: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_blog_style', 'top-feature' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Blog Feature Options: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_blog_feature', 'background_image' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Feature Slider Category: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_blog_feature_category', '' ) ) . '
' . PHP_EOL; // Post Options. $string .= '
' . __( 'Section: Post Options', 'canuck' ) . '
'; $string .= '' . __( 'Use excerpts: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_use_excerpts' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Excerpt Length: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_excerpt_length', '30' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Exclude author name in blog posts: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_exclude_author' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Exclude date in blog posts: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_exclude_timestamp' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Exclude categories in blog posts: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_exclude_category' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Exclude tags in blog posts: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_exclude_tags' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; return $string; } /** * Canuck Option Content: Canuck Home Page. * * There are many (273 :) options in this panel. */ function canuck_home_options_backup() { global $button_hover_default; $string = ''; $string .= '

' . __( 'Panel: Canuck Home Page', 'canuck' ) . '

'; // Home Feature Options ===============================================================================================================================================. $string .= '
' . __( 'Section: Home Feature Options', 'canuck' ) . '
'; $string .= '' . __( 'Home Page Feature: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_home_feature', 'background_image' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Home Slider Feature Category: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_home_feature_category', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Home Title: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_home_title', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Home Description: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_home_description', '' ) ) . '
' . PHP_EOL; // Section Layout Options ===============================================================================================================================================. $string .= '
' . __( 'Section: Section Layout Options', 'canuck' ) . '
'; $string .= '' . __( 'Home Page Area 1: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_home_area_1', 'none' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Home Page Area 2: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_home_area_2', 'none' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Home Page Area 3: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_home_area_3', 'none' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Home Page Area 4: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_home_area_4', 'none' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Home Page Area 5: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_home_area_5', 'none' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Home Page Area 6: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_home_area_6', 'none' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Home Page Area 7: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_home_area_7', 'none' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Home Page Area 8: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_home_area_8', 'none' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Home Page Area 9: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_home_area_9', 'none' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Home Page Area 10: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_home_area_10', 'none' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Home Page Area 11: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_home_area_11', 'none' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Home Page Area 12: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_home_area_12', 'none' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Home Page Area 13: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_home_area_13', 'none' ) ) . '
' . PHP_EOL; // Section 1 Options ===============================================================================================================================================. $string .= '
' . __( 'Section: Section 1 Options', 'canuck' ) . '
'; $string .= '' . __( 'Section 1-Usage Options: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section1_usage', 'normal' ) ) . '
' . PHP_EOL; if ( '' === get_theme_mod( 'canuck_section1_background_image', '' ) ) { $string .= '' . __( 'Section 1 Background Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 1 Background Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section1_background_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 1 background image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 1-Overlay Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section1_overlay_opacity', '0' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 1-Use Parallax: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section1_use_parallax' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 1-Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section1_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 1-Background Color Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section1_background_color_opacity', '1' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 1-Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section1_text_color', '#4c4c4c' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 1-Content: ', 'canuck' ) . '' . esc_textarea( get_theme_mod( 'canuck_section1_text', '' ) ) . '
' . PHP_EOL; $sec1_shortcode = get_theme_mod( 'canuck_section1_shortcode', '' ); $sec1_shortcode = str_replace( '[', '[', $sec1_shortcode ); $sec1_shortcode = str_replace( ']',']', $sec1_shortcode ); $sec1_shortcode = str_replace( '<','<', $sec1_shortcode ); $sec1_shortcode = str_replace( '>','>', $sec1_shortcode ); $string .= '' . __( 'Section 1-Shortcode: ', 'canuck' ) . '' . wp_kses_post( $sec1_shortcode ) . '
' . PHP_EOL; $string .= '' . __( 'Section 1-Link: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_include_section1_button' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 1-Button Label: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section1_button_name', " " . __( 'more', 'canuck' ) ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 1-Button URI: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section1_button_link', '#' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 1-Button Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section1_button_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 1-Button Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section1_button_text_color', $button_hover_default ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 1-Button Hover Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section1_button_hover_background_color', $button_hover_default ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 1-Button Hover Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section1_button_hover_text_color', '#ffffff' ) ) . '
' . PHP_EOL; // Section 2 Options ===============================================================================================================================================. $string .= '
' . __( 'Section: Section 2 Options', 'canuck' ) . '
'; if ( '' === get_theme_mod( 'canuck_section2_background_image', '' ) ) { $string .= '' . __( 'Section 2-Background Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 2-Background Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_background_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 2 background image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 2-Overlay Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_overlay_opacity', '0' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Use Parallax: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section2_use_parallax' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Background Color Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_background_color_opacity', '1' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_text_color', '#4c4c4c' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Button Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_button_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Button Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_button_text_color', $button_hover_default ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Button Hover Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_button_hover_background_color', $button_hover_default ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Button Hover Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_button_hover_text_color', '#fffff' ) ) . '
' . PHP_EOL; // Section 2 box 1 specific. $string .= '' . __( 'Section 2-Box 1-Font Icon: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section2_box1_use_font_icon' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Box 1-Font Icon Code: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_box1_image_font', '' ) ) . '
' . PHP_EOL; if ( '' === get_theme_mod( 'canuck_section2_box1_image', '' ) ) { $string .= '' . __( 'Section 2-Box 1-Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 2-Box 1-Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_box1_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 2 box 1 image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 2-Box 1-Title: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_box1_title', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Box 1-Content: ', 'canuck' ) . '' . esc_textarea( get_theme_mod( 'canuck_section2_box1_text', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Box 1-Link: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section2_box1_include_link' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Box 1-Link URL: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_box1_button_link', '#' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Box 1-Link Label: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_box1_button_title', " " . __( 'more', 'canuck' ) ) ) . '
' . PHP_EOL; // Section 2 box 2 specific. $string .= '' . __( 'Section 2-Box 2-Font Icon: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section2_box2_use_font_icon' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Box 2-Font Icon Code: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_box2_image_font', '' ) ) . '
' . PHP_EOL; if ( '' === get_theme_mod( 'canuck_section2_box2_image', '' ) ) { $string .= '' . __( 'Section 2-Box 2-Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 2-Box 2-Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_box2_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 2 box 2 image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 2-Box 2-Title: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_box2_title', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Box 2-Content: ', 'canuck' ) . '' . esc_textarea( get_theme_mod( 'canuck_section2_box2_text', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Box 2-Link: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section2_box2_include_link' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Box 2-Link URL: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_box2_button_link', '#' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Box 2-Link Label: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_box2_button_title', " " . __( 'more', 'canuck' ) ) ) . '
' . PHP_EOL; // Section 2 box 3 specific. $string .= '' . __( 'Section 2-Box 3-Font Icon: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section2_box3_use_font_icon' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Box 3-Font Icon Code: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_box3_image_font', '' ) ) . '
' . PHP_EOL; if ( '' === get_theme_mod( 'canuck_section2_box3_image', '' ) ) { $string .= '' . __( 'Section 2-Box 3-Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 2-Box 3-Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_box3_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 2 box 3 image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 2-Box 3-Title: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_box3_title', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Box 3-Content: ', 'canuck' ) . '' . esc_textarea( get_theme_mod( 'canuck_section2_box3_text', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Box 3-Link: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section2_box3_include_link' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Box 3-Link URL: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_box3_button_link', '#' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 2-Box 3-Link Label: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section2_box3_button_title', " " . __( 'more', 'canuck' ) ) ) . '
' . PHP_EOL; // Section 3 Options ===============================================================================================================================================. $string .= '
' . __( 'Section: Section 3 Options', 'canuck' ) . '
'; $string .= '' . __( 'Section 3-Usage Options: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section3_usage', 'normal' ) ) . '
' . PHP_EOL; if ( '' === get_theme_mod( 'canuck_section3_background_image', '' ) ) { $string .= '' . __( 'Section 3-Background Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 3-Background Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section3_background_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 3 background image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 3-Overlay Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section3_overlay_opacity', '0' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 3-Use Parallax: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section3_use_parallax' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 3-Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section3_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 3-Background Color Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section3_background_color_opacity', '1' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 3-Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section3_text_color', '#4c4c4c' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 3-Content: ', 'canuck' ) . '' . esc_textarea( get_theme_mod( 'canuck_section3_text', '' ) ) . '
' . PHP_EOL; $sec3_shortcode = get_theme_mod( 'canuck_section3_shortcode', '' ); $sec3_shortcode = str_replace( '[', '[', $sec3_shortcode ); $sec3_shortcode = str_replace( ']',']', $sec3_shortcode ); $sec3_shortcode = str_replace( '<','<', $sec3_shortcode ); $sec3_shortcode = str_replace( '>','>', $sec3_shortcode ); $string .= '' . __( 'Section 3-Shortcode: ', 'canuck' ) . '' . esc_html( $sec3_shortcode ) . '
' . PHP_EOL; $string .= '' . __( 'Section 3-Link: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_include_section3_button' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 3-Button Label: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section3_button_name', " " . __( 'more', 'canuck' ) ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 3-Button URI: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section3_button_link', '#' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 3-Button Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section3_button_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 3-Button Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section3_button_text_color', $button_hover_default ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 3-Button Hover Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section3_button_hover_background_color', $button_hover_default ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 3-Button Hover Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section3_button_hover_text_color', '#ffffff' ) ) . '
' . PHP_EOL; // Section 4 Options ===============================================================================================================================================. $string .= '
' . __( 'Section: Section 4 Options', 'canuck' ) . '
'; if ( '' === get_theme_mod( 'canuck_section4_background_image', '' ) ) { $string .= '' . __( 'Section 4-Background Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 4-Background Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section4_background_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 4 background image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 4-Overlay Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section4_overlay_opacity', '0' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 4-Use Parallax: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section4_use_parallax' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 4-Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section4_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 4-Background Color Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section4_background_color_opacity', '1' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 4-Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section4_text_color', '#4c4c4c' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 4-Button Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section4_button_background_color', '#4c4c4c' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 4-Button Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section4_button_text_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 4-Button Hover Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section4_button_hover_background_color', $button_hover_default ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 4-Button Hover Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section4_button_hover_text_color', '#ffffff' ) ) . '
' . PHP_EOL; // Section 4 box 1 specific. $string .= '' . __( 'Section 4-Box 1-Font Icon: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section4_box1_use_font_icon' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 4-Box 1-Font Icon Code: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section4_box1_image_font', '' ) ) . '
' . PHP_EOL; if ( '' === get_theme_mod( 'canuck_section4_box1_image', '' ) ) { $string .= '' . __( 'Section 4-Box 1-Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 4-Box 1-Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section4_box1_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 4 box 1 image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 4-Box 1-Title: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section4_box1_title', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 4-Box 1-Content: ', 'canuck' ) . '' . esc_textarea( get_theme_mod( 'canuck_section4_box1_text', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 4-Box 1-Link: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section4_box1_include_link' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 4-Box 1-Link URL: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section4_box1_button_link', '#' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 4-Box 1-Link Label: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section4_box1_button_title', " " . __( 'more', 'canuck' ) ) ) . '
' . PHP_EOL; // Section 4 box 2 specific. $string .= '' . __( 'Section 4-Box 2-Font Icon: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section4_box2_use_font_icon' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 4-Box 2-Font Icon Code: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section4_box2_image_font', '' ) ) . '
' . PHP_EOL; if ( '' === get_theme_mod( 'canuck_section4_box2_image', '' ) ) { $string .= '' . __( 'Section 4-Box 2-Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 4-Box 2-Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section4_box2_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 4 box 2 image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 4-Box 2-Title: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section4_box2_title', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 4-Box 2-Content: ', 'canuck' ) . '' . esc_textarea( get_theme_mod( 'canuck_section4_box2_text', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 4-Box 2-Link: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section4_box2_include_link' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 4-Box 2-Link URL: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section4_box2_button_link', '#' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 4-Box 2-Link Label: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section4_box2_button_title', " " . __( 'more', 'canuck' ) ) ) . '
' . PHP_EOL; // Section 5 Options ===============================================================================================================================================. $string .= '
' . __( 'Section: Section 5 Options', 'canuck' ) . '
'; $string .= '' . __( 'Section 5-Usage Options: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section5_usage', 'normal' ) ) . '
' . PHP_EOL; if ( '' === get_theme_mod( 'canuck_section5_background_image', '' ) ) { $string .= '' . __( 'Section 5-Background Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 5-Background Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section5_background_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 5 background image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 5-Overlay Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section5_overlay_opacity', '0' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 5-Use Parallax: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section5_use_parallax' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 5-Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section5_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 5-Background Color Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section5_background_color_opacity', '1' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 5-Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section5_text_color', '#4c4c4c' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 5-Content: ', 'canuck' ) . '' . esc_textarea( get_theme_mod( 'canuck_section5_text', '' ) ) . '
' . PHP_EOL; $sec5_shortcode = get_theme_mod( 'canuck_section5_shortcode', '' ); $sec5_shortcode = str_replace( '[', '[', $sec5_shortcode ); $sec5_shortcode = str_replace( ']',']', $sec5_shortcode ); $sec5_shortcode = str_replace( '<','<', $sec5_shortcode ); $sec5_shortcode = str_replace( '>','>', $sec5_shortcode ); $string .= '' . __( 'Section 5-Shortcode: ', 'canuck' ) . '' . esc_html( $sec5_shortcode ) . '
' . PHP_EOL; $string .= '' . __( 'Section 5-Link: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_include_section5_button' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 5-Button Label: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section5_button_name', " " . __( 'more', 'canuck' ) ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 5-Button URI: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section5_button_link', '#' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 5-Button Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section5_button_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 5-Button Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section5_button_text_color', $button_hover_default ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 5-Button Hover Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section5_button_hover_background_color', $button_hover_default ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 5-Button Hover Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section5_button_hover_text_color', '#ffffff' ) ) . '
' . PHP_EOL; // Section 6 Options ===============================================================================================================================================. $string .= '
' . __( 'Section: Section 6 Options', 'canuck' ) . '
'; if ( '' === get_theme_mod( 'canuck_section6_background_image', '' ) ) { $string .= '' . __( 'Section 6-Background Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 6-Background Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section6_background_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 6 background image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 6-Overlay Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section6_overlay_opacity', '0' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 6-Use Parallax: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section6_use_parallax' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 6-Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section6_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 6-Background Color Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section6_background_color_opacity', '1' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 6-Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section6_text_color', '#4c4c4c' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 6-Button Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section6_button_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 6-Button Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section6_button_text_color', $button_hover_default ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 6-Button Hover Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section6_button_hover_background_color', $button_hover_default ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 6-Button Hover Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section6_button_hover_text_color', '#ffffff' ) ) . '
' . PHP_EOL; // Section 6 box 1 specific. $string .= '' . __( 'Section 6-Box 1-Font Icon: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section6_box1_use_font_icon' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 6-Box 1-Font Icon Code: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section6_box1_image_font', '' ) ) . '
' . PHP_EOL; if ( '' === get_theme_mod( 'canuck_section6_box1_image', '' ) ) { $string .= '' . __( 'Section 6-Box 1-Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 6-Box 1-Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section6_box1_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 6 box 1 image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 6-Box 1-Title: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section6_box1_title', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 6-Box 1-Content: ', 'canuck' ) . '' . esc_textarea( get_theme_mod( 'canuck_section6_box1_text', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 6-Box 1-Link: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section6_box1_include_link' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 6-Box 1-Link URL: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section6_box1_button_link', '#' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 6-Box 1-Link Label: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section6_box1_button_title', " " . __( 'more', 'canuck' ) ) ) . '
' . PHP_EOL; // Section 6 box 2 specific. $string .= '' . __( 'Section 6-Box 2-Font Icon: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section6_box2_use_font_icon' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 6-Box 2-Font Icon Code: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section6_box2_image_font', '' ) ) . '
' . PHP_EOL; if ( '' === get_theme_mod( 'canuck_section6_box2_image', '' ) ) { $string .= '' . __( 'Section 6-Box 2-Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 6-Box 2-Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section6_box2_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 6 box 2 image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 6-Box 2-Title: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section6_box2_title', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 6-Box 2-Content: ', 'canuck' ) . '' . esc_textarea( get_theme_mod( 'canuck_section6_box2_text', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 6-Box 2-Link: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section6_box2_include_link' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 6-Box 2-Link URL: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section6_box2_button_link', '#' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 6-Box 2-Link Label: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section6_box2_button_title', " " . __( 'more', 'canuck' ) ) ) . '
' . PHP_EOL; // Section 7 Options ===============================================================================================================================================. $string .= '
' . __( 'Section: Section 7 Options', 'canuck' ) . '
'; $string .= '' . __( 'Section 7-Usage Options: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section7_usage', 'normal' ) ) . '
' . PHP_EOL; if ( '' === get_theme_mod( 'canuck_section7_background_image', '' ) ) { $string .= '' . __( 'Section 7-Background Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 7-Background Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section7_background_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 7 background image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 7-Overlay Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section7_overlay_opacity', '0' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 7-Use Parallax: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section7_use_parallax' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 7-Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section7_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 7-Background Color Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section7_background_color_opacity', '1' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 7-Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section7_text_color', '#4c4c4c' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 7-Content: ', 'canuck' ) . '' . esc_textarea( get_theme_mod( 'canuck_section7_text', '' ) ) . '
' . PHP_EOL; $sec7_shortcode = get_theme_mod( 'canuck_section7_shortcode', '' ); $sec7_shortcode = str_replace( '[', '[', $sec7_shortcode ); $sec7_shortcode = str_replace( ']',']', $sec7_shortcode ); $sec7_shortcode = str_replace( '<','<', $sec7_shortcode ); $sec7_shortcode = str_replace( '>','>', $sec7_shortcode ); $string .= '' . __( 'Section 7-Shortcode: ', 'canuck' ) . '' . esc_html( $sec7_shortcode ) . '
' . PHP_EOL; $string .= '' . __( 'Section 7-Link: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_include_section7_button' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 7-Button Label: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section7_button_name', " " . __( 'more', 'canuck' ) ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 7-Button URI: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section7_button_link', '#' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 7-Button Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section7_button_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 7-Button Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section7_button_text_color', $button_hover_default ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 7-Button Hover Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section7_button_hover_background_color', $button_hover_default ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 7-Button Hover Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section7_button_hover_text_color', '#ffffff' ) ) . '
' . PHP_EOL; // Section 8 Options ===============================================================================================================================================. $string .= '
' . __( 'Section: Section 8 Options', 'canuck' ) . '
'; if ( '' === get_theme_mod( 'canuck_section8_background_image', '' ) ) { $string .= '' . __( 'Section 8-Background Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 8-Background Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_background_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 8 background image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 8-Overlay Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_overlay_opacity', '0' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Use Parallax: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section8_use_parallax' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Background Color Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_background_color_opacity', '1' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_text_color', '#4c4c4c' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Button Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_button_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Button Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_button_text_color', $button_hover_default ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Button Hover Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_button_hover_background_color', $button_hover_default ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Button Hover Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_button_hover_text_color', '#fffff' ) ) . '
' . PHP_EOL; // Section 8 box 1 specific. $string .= '' . __( 'Section 8-Box 1-Font Icon: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section8_box1_use_font_icon' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Box 1-Font Icon Code: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_box1_image_font', '' ) ) . '
' . PHP_EOL; if ( '' === get_theme_mod( 'canuck_section8_box1_image', '' ) ) { $string .= '' . __( 'Section 8-Box 1-Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 8-Box 1-Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_box1_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 8 box 1 image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 8-Box 1-Title: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_box1_title', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Box 1-Content: ', 'canuck' ) . '' . esc_textarea( get_theme_mod( 'canuck_section8_box1_text', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Box 1-Link: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section8_box1_include_link' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Box 1-Link URL: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_box1_button_link', '#' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Box 1-Link Label: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_box1_button_title', " " . __( 'more', 'canuck' ) ) ) . '
' . PHP_EOL; // Section 8 box 2 specific. $string .= '' . __( 'Section 8-Box 2-Font Icon: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section8_box2_use_font_icon' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Box 2-Font Icon Code: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_box2_image_font', '' ) ) . '
' . PHP_EOL; if ( '' === get_theme_mod( 'canuck_section8_box2_image', '' ) ) { $string .= '' . __( 'Section 8-Box 2-Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 8-Box 2-Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_box2_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 8 box 2 image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 8-Box 2-Title: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_box2_title', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Box 2-Content: ', 'canuck' ) . '' . esc_textarea( get_theme_mod( 'canuck_section8_box2_text', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Box 2-Link: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section8_box2_include_link' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Box 2-Link URL: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_box2_button_link', '#' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Box 2-Link Label: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_box2_button_title', " " . __( 'more', 'canuck' ) ) ) . '
' . PHP_EOL; // Section 8 box 3 specific. $string .= '' . __( 'Section 8-Box 3-Font Icon: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section8_box3_use_font_icon' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Box 3-Font Icon Code: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_box3_image_font', '' ) ) . '
' . PHP_EOL; if ( '' === get_theme_mod( 'canuck_section8_box2_image', '' ) ) { $string .= '' . __( 'Section 8-Box 3-Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 8-Box 3-Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_box3_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 8 box 3 image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 8-Box 3-Title: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_box3_title', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Box 3-Content: ', 'canuck' ) . '' . esc_textarea( get_theme_mod( 'canuck_section8_box3_text', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Box 3-Link: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section8_box3_include_link' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Box 3-Link URL: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_box3_button_link', '#' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Box 3-Link Label: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_box3_button_title', " " . __( 'more', 'canuck' ) ) ) . '
' . PHP_EOL; // Section 8 box 4 specific. $string .= '' . __( 'Section 8-Box 4-Font Icon: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section8_box4_use_font_icon' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Box 4-Font Icon Code: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_box4_image_font', '' ) ) . '
' . PHP_EOL; if ( '' === get_theme_mod( 'canuck_section8_box2_image', '' ) ) { $string .= '' . __( 'Section 8-Box 4-Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 8-Box 4-Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_box4_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 8 box 4 image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 8-Box 4-Title: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_box4_title', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Box 4-Content: ', 'canuck' ) . '' . esc_textarea( get_theme_mod( 'canuck_section8_box4_text', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Box 4-Link: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section8_box4_include_link' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Box 4-Link URL: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_box4_button_link', '#' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 8-Box 4-Link Label: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section8_box4_button_title', " " . __( 'more', 'canuck' ) ) ) . '
' . PHP_EOL; // Section 9 Options ===============================================================================================================================================. $string .= '
' . __( 'Section: Section 9 Options', 'canuck' ) . '
'; if ( '' === get_theme_mod( 'canuck_section9_background_image', '' ) ) { $string .= '' . __( 'Section 9-Background Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 9-Background Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section9_background_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 9 background image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 9-Overlay Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section9_overlay_opacity', '0' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 9-Use Parallax: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section9_use_parallax' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 9-Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section9_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 9-Background Color Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section9_background_color_opacity', '1' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 9-Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section9_text_color', '#4c4c4c' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 9-Title: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section9_title', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 9-Content: ', 'canuck' ) . '' . esc_textarea( get_theme_mod( 'canuck_section9_text', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 9-Portfolio Category: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section9_portfolio_category', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 9-Portfolio Columns: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section9_portfolio_columns', '3' ) ) . '
' . PHP_EOL; // Section 10 Options ===============================================================================================================================================. $string .= '
' . __( 'Section: Section 10 Options', 'canuck' ) . '
'; if ( '' === get_theme_mod( 'canuck_section10_background_image', '' ) ) { $string .= '' . __( 'Section 10-Background Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 10-Background Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section10_background_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 10 background image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 10-Overlay Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section10_overlay_opacity', '0' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 10-Use Parallax: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section10_use_parallax' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 10-Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section10_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 10-Background Color Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section10_background_color_opacity', '1' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 10 Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section10_text_color', '#4c4c4c' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 10-Media Area Usage Options: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section10_media_area_usage', 'image' ) ) . '
' . PHP_EOL; if ( '' === get_theme_mod( 'canuck_section10_image', '' ) ) { $string .= '' . __( 'Section 10 Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 10 Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section10_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'section 10 image', 'canuck' ) . '
' . PHP_EOL; } $sec10_shortcode = get_theme_mod( 'canuck_section10_shortcode', '' ); $sec10_shortcode = str_replace( '[', '[', $sec10_shortcode ); $sec10_shortcode = str_replace( ']',']', $sec10_shortcode ); $sec10_shortcode = str_replace( '<','<', $sec10_shortcode ); $sec10_shortcode = str_replace( '>','>', $sec10_shortcode ); $string .= '' . __( 'Section 10-Shortcode: ', 'canuck' ) . '' . esc_html( $sec10_shortcode ) . '
' . PHP_EOL; $string .= '' . __( 'Section 10-Title: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section10_title', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 10-Content: ', 'canuck' ) . '' . esc_textarea( get_theme_mod( 'canuck_section10_text', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 10-Include Link: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section10_include_link' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 10-Button Link: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section10_button_link', '#' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 10-Button Label: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section10_button_title', " " . __( 'more', 'canuck' ) ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 10-Button Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section10_button_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 10-Button Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section10_button_text_color', $button_hover_default ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 10-Button Hover Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section10_button_hover_background_color', $button_hover_default ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 10-Button Hover Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section10_button_hover_text_color', '#ffffff' ) ) . '
' . PHP_EOL; // Section 11 Options ===============================================================================================================================================. $string .= '
' . __( 'Section: Section 11 Options', 'canuck' ) . '
'; if ( '' === get_theme_mod( 'canuck_section11_background_image', '' ) ) { $string .= '' . __( 'Section 11-Background Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 11-Background Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section11_background_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'footer background image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 11-Overlay Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section11_overlay_opacity', '0' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 11-Use Parallax: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section11_use_parallax' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 11-Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section11_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 11-Background Color Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section11_background_color_opacity', '1' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 11-Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section11_text_color', '#4c4c4c' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 11-Media Area Usage Options: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section11_media_area_usage', 'image' ) ) . '
' . PHP_EOL; if ( '' === get_theme_mod( 'canuck_section11_image', '' ) ) { $string .= '' . __( 'Section 11-Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 11-Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section11_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'footer background image', 'canuck' ) . '
' . PHP_EOL; } $sec11_shortcode = get_theme_mod( 'canuck_section11_shortcode', '' ); $sec11_shortcode = str_replace( '[', '[', $sec11_shortcode ); $sec11_shortcode = str_replace( ']',']', $sec11_shortcode ); $sec11_shortcode = str_replace( '<','<', $sec11_shortcode ); $sec11_shortcode = str_replace( '>','>', $sec11_shortcode ); $string .= '' . __( 'Section 11-Shortcode: ', 'canuck' ) . '' . esc_html( $sec11_shortcode ) . '
' . PHP_EOL; $string .= '' . __( 'Section 11-Title: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section11_title', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 11-Content: ', 'canuck' ) . '' . esc_textarea( get_theme_mod( 'canuck_section11_text', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 11-Include Link: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section11_include_link' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 11-Button Link: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section11_button_link', '#' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 11-Button Label: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section11_button_title', " " . __( 'more', 'canuck' ) ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 11-Button Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section11_button_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 11-Button Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section11_button_text_color', $button_hover_default ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 11-Button Hover Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section11_button_hover_background_color', $button_hover_default ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 11-Button Hover Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section11_button_hover_text_color', '#ffffff' ) ) . '
' . PHP_EOL; // Section 12 Options ===============================================================================================================================================. $string .= '
' . __( 'Section: Section 12 Options', 'canuck' ) . '
'; if ( '' === get_theme_mod( 'canuck_section12_background_image', '' ) ) { $string .= '' . __( 'Section 12-Background Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 12-Background Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section12_background_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'footer background image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 12-Overlay Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section12_overlay_opacity', '0' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 12-Use Parallax: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section12_use_parallax' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 12-Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section12_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 12-Background Color Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section12_background_color_opacity', '1' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 12-Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section12_text_color', '#4c4c4c' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 12-Title: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section12_title', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 12-Content: ', 'canuck' ) . '' . esc_textarea( get_theme_mod( 'canuck_section12_text', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 12-Portfolio Category: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section12_portfolio_category', '' ) ) . '
' . PHP_EOL; // Section 13 Options ===============================================================================================================================================. $string .= '
' . __( 'Section: Section 13 Options', 'canuck' ) . '
'; if ( '' === get_theme_mod( 'canuck_section13_background_image', '' ) ) { $string .= '' . __( 'Section 13-Background Image: ', 'canuck' ) . '' . __( ' No Image Uploaded', 'canuck' ) . '
' . PHP_EOL; } else { $string .= '' . __( 'Section 13-Background Image: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section13_background_image', '' ) ) . '
' . PHP_EOL; $string .= '' . esc_attr( 'footer background image', 'canuck' ) . '
' . PHP_EOL; } $string .= '' . __( 'Section 13-Overlay Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section13_overlay_opacity', '0' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 13-Use Parallax: ', 'canuck' ) . '' . ( get_theme_mod( 'canuck_section13_use_parallax' ) ? __( 'true/checked', 'canuck' ) : __( 'false/unchecked', 'canuck' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 13-Background Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section13_background_color', '#ffffff' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 13-Background Color Opacity: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section13_background_color_opacity', '1' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 13-Text Color: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section13_text_color', '#4c4c4c' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 13-Title: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section13_title', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 13- Content: ', 'canuck' ) . '' . esc_textarea( get_theme_mod( 'canuck_section13_text', '' ) ) . '
' . PHP_EOL; $string .= '' . __( 'Section 13-Portfolio Category: ', 'canuck' ) . '' . esc_html( get_theme_mod( 'canuck_section13_portfolio_category', '' ) ) . '
' . PHP_EOL; return $string; } /** * Canuck Option Content: Custom Widget Content Creation. */ function canuck_custom_widget_content_backup() { $string = ''; $string .= '

' . __( 'Custom Widget Content ', 'canuck' ) . '

'; $string .= '
' . __( 'Canuck Author Widget: ', 'canuck' ) . '
'; $widget_authors = get_option( 'widget_canuck_author_widget' ); $count = 1; $lastone = count( $widget_authors ); foreach ( $widget_authors as $widget_author ) { if ( $count !== $lastone ) { $string .= '
' . __( 'Canuck Author Widget: ', 'canuck' ) . '' . $count . '

' . PHP_EOL; $string .= '' . __( 'Title: ', 'canuck' ) . '' . esc_html( $widget_author['canuck_author_title'] ) . '
' . PHP_EOL; $string .= '' . __( 'Name: ', 'canuck' ) . '' . esc_html( $widget_author['canuck_author_name'] ) . '
' . PHP_EOL; $string .= '' . __( 'Email: ', 'canuck' ) . '' . esc_html( $widget_author['canuck_author_email'] ) . '
' . PHP_EOL; $string .= '' . __( 'Website: ', 'canuck' ) . '' . esc_url( $widget_author['canuck_author_website'] ) . '
' . PHP_EOL; $string .= '' . __( 'Biography: ', 'canuck' ) . '' . esc_html( $widget_author['canuck_author_bio'] ) . '
' . PHP_EOL; $count++; } } return $string; } /** * Function to import parent theme Canuck custom options. */ function canuck_import_parent_options() { $canuck_import_parent_options = get_theme_mod( 'canuck_import_parent_theme_options' ) ? true : false; if ( true === $canuck_import_parent_options ) { $options_setup = canuck_get_customizer_option_partameters(); $parent_theme_mods = get_option( 'theme_mods_canuck' ); // Start by turning off the switch to import options. set_theme_mod( 'canuck_import_parent_theme_options', false ); foreach ( $parent_theme_mods as $option_slug => $option_value ) { if ( ! get_theme_mod( $option_slug ) ) { set_theme_mod( $option_slug, $option_value ); } } } } add_action( 'customize_save_after', 'canuck_import_parent_options' );