kliknij w tytułową fotkę z albumów poniżej aby obejrzeć pokaz slajdów na pełnym ekranie
Wybrane z wielu…
Migawki to i owo ,)
Wilno 2014
Wilno 2015
*) Obejrzyj więcej naszych zdjęć w serwisie PICASA
'section' => $section, 'type' => 'text' ); $options['citylogic-social-xing'] = array( 'id' => 'citylogic-social-xing', 'label' => __( 'Xing', 'citylogic' ), 'section' => $section, 'type' => 'text' ); $options['citylogic-social-custom-icon-code'] = array( 'id' => 'citylogic-social-custom-icon-code', 'label' => __( 'Custom Icon Font Awesome Code', 'citylogic' ), 'section' => $section, 'type' => 'text', 'description' => __( 'Insert the code of the Font Awesome icon you wish to display eg. fa-suitcase. You can view all available icons here.', 'citylogic' ) ); $options['citylogic-social-custom-icon-url'] = array( 'id' => 'citylogic-social-custom-icon-url', 'label' => __( 'Custom Icon URL', 'citylogic' ), 'section' => $section, 'type' => 'text', 'description' => __( 'Insert the URL that you would like your custom icon to link to', 'citylogic' ) ); $choices = array( '_self' => 'Same Window', '_blank' => 'New Window' ); $options['citylogic-social-custom-icon-url-target'] = array( 'id' => 'citylogic-social-custom-icon-url-target', 'label' => __( 'Open link in', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => '_blank' ); $options['citylogic-social-custom-icon-hover-text'] = array( 'id' => 'citylogic-social-custom-icon-hover-text', 'label' => __( 'Custom Icon Hover Text', 'citylogic' ), 'section' => $section, 'type' => 'text', 'description' => __( 'Insert the text that you would like to appear on mouseover of your custom icon.', 'citylogic' ) ); // Search Settings $section = 'citylogic-search'; $sections[] = array( 'id' => $section, 'title' => __( 'Search', 'citylogic' ), 'priority' => '35' ); /* $options['citylogic-search-post-types'] = array( 'id' => 'citylogic-search-post-types', 'label' => __( 'Post Types', 'citylogic' ), 'section' => $section, 'type' => 'dropdown-post-types-multi', 'description' => __( 'Select the post types that you want to include in the search results.', 'citylogic' ), 'default' => array('post', 'page') ); */ $options['citylogic-search-results-full-width'] = array( 'id' => 'citylogic-search-results-full-width', 'label' => __( 'Full width search results page', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-navigation-menu-search-button'] = array( 'id' => 'citylogic-navigation-menu-search-button', 'label' => __( 'Show Search in the Navigation Menu', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1, 'description' => __( 'Please note: You need to assign a Primary Menu for this to work.', 'citylogic' ) ); $choices = array( 'default' => 'Default Search', 'plugin' => 'Search Plugin' ); $options['citylogic-navigation-menu-search-type'] = array( 'id' => 'citylogic-navigation-menu-search-type', 'label' => __( 'Navigation Menu Search type', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'default' ); $options['citylogic-navigation-menu-search-plugin-shortcode'] = array( 'id' => 'citylogic-navigation-menu-search-plugin-shortcode', 'label' => __( 'Shortcode', 'citylogic' ), 'section' => $section, 'type' => 'text', 'description' => __( 'Enter the shortcode given by the search plugin you\'re using.', 'citylogic' ) ); //'We recommend WooCommerce Product Search for a better product search for your store' //https://www.outtheboxthemes.com/go/woocommerce-product-search/ $options['citylogic-navigation-menu-search-button-text'] = array( 'id' => 'citylogic-navigation-menu-search-button-text', 'label' => __( 'Search Button Text', 'citylogic' ), 'section' => $section, 'type' => 'text', 'default' => __( 'Search', 'citylogic' ) ); $options['citylogic-search-placeholder-text'] = array( 'id' => 'citylogic-search-placeholder-text', 'label' => __( 'Default Search Field Text', 'citylogic' ), 'section' => $section, 'type' => 'text', 'default' => __( 'Search...', 'citylogic' ) ); $options['citylogic-website-text-no-search-results-heading'] = array( 'id' => 'citylogic-website-text-no-search-results-heading', 'label' => __( 'No Search Results Heading', 'citylogic' ), 'section' => $section, 'type' => 'text', 'default' => __( 'Nothing Found!', 'citylogic' ) ); $options['citylogic-website-text-no-search-results-text'] = array( 'id' => 'citylogic-website-text-no-search-results-text', 'label' => __( 'No Search Results Message', 'citylogic' ), 'section' => $section, 'type' => 'textarea', 'default' => __( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'citylogic' ) ); // Mobile Settings $section = 'citylogic-mobile'; $sections[] = array( 'id' => $section, 'title' => __( 'Mobile', 'citylogic' ), 'priority' => '35' ); $options['citylogic-mobile-logo-heading'] = array( 'id' => 'citylogic-mobile-logo-heading', 'label' => __( 'Mobile Logo', 'citylogic' ), 'section' => $section, 'type' => 'heading' ); $options['citylogic-mobile-logo'] = array( 'id' => 'citylogic-mobile-logo', 'section' => $section, 'type' => 'image' ); $options['citylogic-mobile-logo-with-site-title'] = array( 'id' => 'citylogic-mobile-logo-with-site-title', 'label' => __( 'Display the site title and tagline with the mobile logo', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-full-width-mobile-logo'] = array( 'id' => 'citylogic-full-width-mobile-logo', 'label' => __( 'Expand the mobile logo to fill the header', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-mobile-logo-breakpoint'] = array( 'id' => 'citylogic-mobile-logo-breakpoint', 'label' => __( 'Activation Width', 'citylogic' ), 'section' => $section, 'type' => 'pixels', 'default' => 600, 'description' => __( 'The screen width in pixels at which the mobile logo will appear', 'citylogic' ) ); $options["citylogic-fieldset-divider-.{$dividerCount}"] = array( 'id' => "citylogic-fieldset-divider-.{$dividerCount}", 'section' => $section, 'type' => 'divider' ); $dividerCount++; $options['citylogic-mobile-menu-heading'] = array( 'id' => 'citylogic-mobile-menu-heading', 'label' => __( 'Mobile Menu', 'citylogic' ), 'section' => $section, 'type' => 'heading' ); $options['citylogic-mobile-menu'] = array( 'id' => 'citylogic-mobile-menu', 'label' => __( 'Enable the mobile menu', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); $options['citylogic-mobile-menu-activate-on-mobile'] = array( 'id' => 'citylogic-mobile-menu-activate-on-mobile', 'label' => __( 'Activate the mobile menu on all mobile devices regardless of width', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-mobile-menu-breakpoint'] = array( 'id' => 'citylogic-mobile-menu-breakpoint', 'label' => __( 'Activation Width', 'citylogic' ), 'section' => $section, 'type' => 'pixels', 'default' => 1000, 'description' => __( 'The screen width in pixels at which the menu will go into mobile mode', 'citylogic' ) ); $options["citylogic-fieldset-divider-.{$dividerCount}"] = array( 'id' => "citylogic-fieldset-divider-.{$dividerCount}", 'section' => $section, 'type' => 'divider' ); $dividerCount++; $options['citylogic-mobile-page-elements'] = array( 'id' => 'citylogic-mobile-page-elements', 'label' => __( 'Visible Page Elements', 'citylogic' ), 'section' => $section, 'type' => 'heading', 'description' => __( 'Select the elements that should be visible on mobile', 'citylogic' ) ); $options['citylogic-mobile-video-header'] = array( 'id' => 'citylogic-mobile-video-header', 'label' => __( 'Header video', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-mobile-social-right-aligned-buttons'] = array( 'id' => 'citylogic-mobile-social-right-aligned-buttons', 'label' => __( 'Right aligned social media buttons', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-mobile-back-to-top'] = array( 'id' => 'citylogic-mobile-back-to-top', 'label' => __( 'Back to top button', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); $options['citylogic-mobile-fitvids'] = array( 'id' => 'citylogic-mobile-fitvids', 'label' => __( 'Enable FitVids', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1, 'description' => __( 'Include FitVids.js for fluid width video embeds', 'citylogic' ) ); // Slider Settings $section = 'citylogic-slider'; $sections[] = array( 'id' => $section, 'title' => __( 'Slider', 'citylogic' ), 'priority' => '35' ); $choices = array( 'citylogic-slider-default' => 'Default Slider', 'citylogic-slider-plugin' => 'Slider Plugin', 'citylogic-no-slider' => 'None' ); $options['citylogic-slider-type'] = array( 'id' => 'citylogic-slider-type', 'label' => __( 'Slider', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices ); // Check for the otb_citylogic_dot_org setting to honour the free version of the theme if ( get_theme_mod( 'otb_citylogic_dot_org' ) ) { $options['citylogic-slider-type']['default'] = 'citylogic-no-slider'; } else { $options['citylogic-slider-type']['default'] = 'citylogic-slider-default'; } $options['citylogic-default-slider-info'] = array( 'id' => 'citylogic-default-slider-info', 'label' => '', 'section' => $section, 'type' => 'info', 'description' => __( 'Read a guide on how to set up the Default Slider', 'citylogic' ), ); $options['citylogic-slider-plugin-info'] = array( 'id' => 'citylogic-slider-plugin-info', 'label' => '', 'section' => $section, 'type' => 'info', 'description' => __( 'Read a guide on using a slider plugin', 'citylogic' ), ); $options['citylogic-slider-categories'] = array( 'id' => 'citylogic-slider-categories', 'label' => __( 'Post Categories', 'citylogic' ), 'section' => $section, 'type' => 'dropdown-categories', 'description' => __( 'Select the categories of the posts you want to display in the slider. The featured image will be the slide image and the post content will display over it. Hold down the Ctrl (windows) / Command (Mac) button to select multiple categories.', 'citylogic' ) ); $options['citylogic-slider-all-pages'] = array( 'id' => 'citylogic-slider-all-pages', 'label' => __( 'Display this slider on all pages', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-slider-blog-posts'] = array( 'id' => 'citylogic-slider-blog-posts', 'label' => __( 'Display this slider on the blog posts', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-slider-display-directional-buttons'] = array( 'id' => 'citylogic-slider-display-directional-buttons', 'label' => __( 'Display prev / next buttons', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); /* $options['citylogic-slider-display-scroll-to-content-button'] = array( 'id' => 'citylogic-slider-display-scroll-to-content-button', 'label' => __( 'Display scroll to content button', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); */ $options['citylogic-slider-display-pagination'] = array( 'id' => 'citylogic-slider-display-pagination', 'label' => __( 'Display pagination', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); $choices = array( 'square' => 'Square', 'round' => 'Round', 'round-solid' => 'Round Solid', 'large' => 'Large' ); $options['citylogic-slider-button-style'] = array( 'id' => 'citylogic-slider-button-style', 'label' => __( 'Button Style', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'large' ); $choices = array( 'none' => 'None', 'curve' => 'Curve', 'wave' => 'Wave', //'wave-multi-colored' => 'Wave - Multi-colored' ); $options['citylogic-slider-bottom-shape'] = array( 'id' => 'citylogic-slider-bottom-shape', 'label' => __( 'Bottom Shape', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'none' ); $options['citylogic-slider-instagram-filter'] = array( 'id' => 'citylogic-slider-instagram-filter', 'label' => __( 'Instagram Filter', 'citylogic' ), 'section' => $section, 'type' => 'dropdown-instagram-filters', ); $options['citylogic-slider-overlay-opacity'] = array( 'id' => 'citylogic-slider-overlay-opacity', 'label' => __( 'Overlay Opacity', 'citylogic' ), 'section' => $section, 'type' => 'range', 'default' => 0.3, 'input_attrs' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'style' => 'color: #000000' ) ); $options["citylogic-fieldset-divider-slider-.{$dividerCount}"] = array( 'id' => "citylogic-fieldset-divider-slider-.{$dividerCount}", 'section' => $section, 'type' => 'divider', 'class' => 'default-slider' ); $dividerCount++; $options['citylogic-slider-text-overlay-heading'] = array( 'id' => 'citylogic-slider-text-overlay-heading', 'label' => __( 'Text Overlay', 'citylogic' ), 'section' => $section, 'type' => 'heading' ); $options['citylogic-slider-text-overlay-opacity'] = array( 'id' => 'citylogic-slider-text-overlay-opacity', 'label' => __( 'Text Overlay Opacity', 'citylogic' ), 'section' => $section, 'type' => 'range', 'default' => 0, 'input_attrs' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'style' => 'color: #000000' ) ); $options['citylogic-slider-text-overlay-uppercase-headings'] = array( 'id' => 'citylogic-slider-text-overlay-uppercase-headings', 'label' => __( 'Uppercase headings', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); $options['citylogic-slider-text-overlay-text-shadow'] = array( 'id' => 'citylogic-slider-text-overlay-text-shadow', 'label' => __( 'Display a drop shadow on the text overlay text', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $choices = array( 'left-aligned-text' => 'Left aligned', 'centered-text' => 'Centered', 'right-aligned-text' => 'Right aligned' ); $options['citylogic-slider-text-overlay-text-alignment'] = array( 'id' => 'citylogic-slider-text-overlay-text-alignment', 'label' => __( 'Text Alignment', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'centered-text' ); $choices = array( 'left-aligned' => 'Left aligned', 'centered' => 'Centered', 'right-aligned' => 'Right aligned' ); $options['citylogic-slider-text-overlay-horizontal-alignment'] = array( 'id' => 'citylogic-slider-text-overlay-horizontal-alignment', 'label' => __( 'Horizontal Alignment', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'centered' ); $options['citylogic-slider-text-overlay-max-height'] = array( 'id' => 'citylogic-slider-text-overlay-max-height', 'label' => __( 'Expand the Text Overlay to the full height of the slider', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-slider-constrain-text-overlay-opacity'] = array( 'id' => 'citylogic-slider-constrain-text-overlay-opacity', 'label' => __( 'Constrain the text overlay to the site content area', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-slider-constrain-text-overlay-text'] = array( 'id' => 'citylogic-slider-constrain-text-overlay-text', 'label' => __( 'Constrain the text overlay text to the site content area', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $choices = array( 'top' => 'Top', 'one-third' => '1/3', 'half' => 'Centered', 'two-thirds' => '2/3', 'bottom' => 'Bottom' ); $options['citylogic-slider-text-overlay-vertical-position'] = array( 'id' => 'citylogic-slider-text-overlay-vertical-position', 'label' => __( 'Vertical Alignment', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'half' ); $options['citylogic-slider-text-overlay-width'] = array( 'id' => 'citylogic-slider-text-overlay-width', 'label' => __( 'Text Overlay Width', 'citylogic' ), 'section' => $section, 'type' => 'percentage', 'default' => 60 ); $options['citylogic-slider-text-overlay-padding'] = array( 'id' => 'citylogic-slider-text-overlay-padding', 'label' => __( 'Text Overlay Padding', 'citylogic' ), 'section' => $section, 'type' => 'percentage', 'default' => 3.5 ); $options["citylogic-fieldset-divider-slider-.{$dividerCount}"] = array( 'id' => "citylogic-fieldset-divider-slider-.{$dividerCount}", 'section' => $section, 'type' => 'divider', 'class' => 'default-slider' ); $dividerCount++; $options['citylogic-slider-spacing-heading'] = array( 'id' => 'citylogic-slider-spacing-heading', 'label' => __( 'Spacing', 'citylogic' ), 'section' => $section, 'type' => 'heading' ); $choices = array( '1.0' => '1.0', '1.1' => '1.1', '1.2' => '1.2', '1.3' => '1.3', '1.4' => '1.4', '1.5' => '1.5', '1.6' => '1.6', '1.7' => '1.7', '1.8' => '1.8', '1.9' => '1.9', '2.0' => '2.0' ); $options['citylogic-slider-heading-line-height'] = array( 'id' => 'citylogic-slider-heading-line-height', 'label' => __( 'Heading Line Height', 'citylogic' ), 'section' => $section, 'type' => 'dropdown-em', 'choices' => $choices, 'default' => '1.4' ); $choices = array( '1.0' => '1.0', '1.1' => '1.1', '1.2' => '1.2', '1.3' => '1.3', '1.4' => '1.4', '1.5' => '1.5', '1.6' => '1.6', '1.7' => '1.7', '1.8' => '1.8', '1.9' => '1.9', '2.0' => '2.0' ); $options['citylogic-slider-paragraph-line-height'] = array( 'id' => 'citylogic-slider-paragraph-line-height', 'label' => __( 'Paragraph Line Height', 'citylogic' ), 'section' => $section, 'type' => 'dropdown-em', 'choices' => $choices, 'default' => '1.2' ); $choices = array( '0' => '0', '0.1' => '0.1', '0.2' => '0.2', '0.3' => '0.3', '0.4' => '0.4', '0.5' => '0.5', '0.6' => '0.6', '0.7' => '0.7', '0.8' => '0.8', '0.9' => '0.9', '1.0' => '1.0', '1.1' => '1.1', '1.2' => '1.2', '1.3' => '1.3', '1.4' => '1.4', '1.5' => '1.5', '1.6' => '1.6', '1.7' => '1.7', '1.8' => '1.8', '1.9' => '1.9', '2.0' => '2.0' ); $options['citylogic-slider-paragraph-margin'] = array( 'id' => 'citylogic-slider-paragraph-margin', 'label' => __( 'Paragraph Top and Bottom Margin', 'citylogic' ), 'section' => $section, 'type' => 'dropdown-em', 'choices' => $choices, 'default' => '0.5' ); $choices = array( '0' => '0', '0.1' => '0.1', '0.2' => '0.2', '0.3' => '0.3', '0.4' => '0.4', '0.5' => '0.5', '0.6' => '0.6', '0.7' => '0.7', '0.8' => '0.8', '0.9' => '0.9', '1.0' => '1.0', '1.1' => '1.1', '1.2' => '1.2', '1.3' => '1.3', '1.4' => '1.4', '1.5' => '1.5', '1.6' => '1.6', '1.7' => '1.7', '1.8' => '1.8', '1.9' => '1.9', '2.0' => '2.0' ); $options['citylogic-slider-button-margin'] = array( 'id' => 'citylogic-slider-button-margin', 'label' => __( 'Button Top and Bottom Margin', 'citylogic' ), 'section' => $section, 'type' => 'dropdown-em', 'choices' => $choices, 'default' => '1.4' ); $options["citylogic-fieldset-divider-slider-.{$dividerCount}"] = array( 'id' => "citylogic-fieldset-divider-slider-.{$dividerCount}", 'section' => $section, 'type' => 'divider', 'class' => 'default-slider' ); $dividerCount++; $options['citylogic-slider-responsive-heading'] = array( 'id' => 'citylogic-slider-responsive-heading', 'label' => __( 'Responsive', 'citylogic' ), 'section' => $section, 'type' => 'heading', 'description' => __( 'Select the elements to hide for smaller screens. Please ensure that all content is properly formatted with the correct HTML tags in order for this to work correctly.', 'citylogic' ) ); $options['citylogic-slider-hide-text-overlay'] = array( 'id' => 'citylogic-slider-hide-text-overlay', 'label' => __( 'Text Overlay', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-slider-hide-headings'] = array( 'id' => 'citylogic-slider-hide-headings', 'label' => __( 'Headings', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-slider-hide-paragraphs'] = array( 'id' => 'citylogic-slider-hide-paragraphs', 'label' => __( 'Paragraphs', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-slider-hide-buttons'] = array( 'id' => 'citylogic-slider-hide-buttons', 'label' => __( 'Buttons', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); /* $options['citylogic-slider-hide-scroll-to-content-button'] = array( 'id' => 'citylogic-slider-hide-scroll-to-content-button', 'label' => __( 'Scroll to content button', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); */ /* $options['citylogic-slider-text-overlay-hide-width'] = array( 'id' => 'citylogic-slider-text-overlay-hide-width', 'label' => __( 'Text Overlay Hide Width', 'citylogic' ), 'section' => $section, 'type' => 'text', 'default' => 899 ); */ $options['citylogic-slider-has-min-width'] = array( 'id' => 'citylogic-slider-has-min-width', 'label' => __( 'Slider image has a minimum width', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-slider-min-width'] = array( 'id' => 'citylogic-slider-min-width', 'label' => __( 'Minimum Width', 'citylogic' ), 'section' => $section, 'type' => 'pixels', 'default' => 600 ); $options["citylogic-fieldset-divider-slider-.{$dividerCount}"] = array( 'id' => "citylogic-fieldset-divider-slider-.{$dividerCount}", 'section' => $section, 'type' => 'divider', 'class' => 'default-slider' ); $dividerCount++; $options['citylogic-slider-transition-speed'] = array( 'id' => 'citylogic-slider-transition-speed', 'label' => __( 'Transition Speed', 'citylogic' ), 'section' => $section, 'type' => 'milliseconds', 'default' => 450, 'description' => __( 'The speed it takes to transition between slides in milliseconds. 1000 milliseconds equals 1 second.', 'citylogic' ) ); $choices = array( 'uncover-fade' => 'Uncover Fade', 'uncover' => 'Uncover', 'cover-fade' => 'Cover Fade', 'cover' => 'Cover', 'fade' => 'Fade', 'crossfade' => 'Crossfade', 'scroll' => 'Scroll', 'directscroll' => 'Direct Scroll' ); $options['citylogic-slider-transition-effect'] = array( 'id' => 'citylogic-slider-transition-effect', 'label' => __( 'Transition Effect', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'uncover-fade' ); $options['citylogic-slider-autoscroll'] = array( 'id' => 'citylogic-slider-autoscroll', 'label' => __( 'Slideshow', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0, 'description' => __( 'Autoscroll the slider to create a slideshow effect.', 'citylogic' ) ); $options['citylogic-slider-autoscroll-pause-on-hover'] = array( 'id' => 'citylogic-slider-autoscroll-pause-on-hover', 'label' => __( 'Pause on hover', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0, 'description' => __( 'This will pause the slideshow when the mouse is over the slider.', 'citylogic' ) ); $options['citylogic-slider-speed'] = array( 'id' => 'citylogic-slider-speed', 'label' => __( 'Slideshow Speed', 'citylogic' ), 'section' => $section, 'type' => 'milliseconds', 'default' => 2500, 'description' => __( 'The speed of the slideshow in milliseconds. 1000 milliseconds equals 1 second.', 'citylogic' ) ); $options['citylogic-slider-plugin-shortcode'] = array( 'id' => 'citylogic-slider-plugin-shortcode', 'label' => __( 'Slider Shortcode', 'citylogic' ), 'section' => $section, 'type' => 'text', 'description' => __( 'Enter the shortcode given by the slider plugin you\'re using.', 'citylogic' ) ); // Header Media $section = 'header_image'; $sections[] = array( 'id' => $section, 'title' => __( 'Header Media', 'citylogic' ), 'priority' => '35' ); if ( get_option('page_on_front') > 0 && isset( $custom_fields["slider_shortcode"] ) ) { $custom_fields = get_post_custom( get_option('page_on_front') ); $slider_shortcode = trim($custom_fields["slider_shortcode"][0]); } if ( !$slider_shortcode ) { $options['citylogic-slider-enabled-warning'] = array( 'id' => 'citylogic-slider-enabled-warning', 'label' => __( 'Please note: The header media will not display on your site as the slider is currently enabled. To make the header image visible you will first need to disable the slider.', 'citylogic' ), 'section' => $section, 'type' => 'warning', 'priority' => 0 ); } else { $options['citylogic-slider-enabled-warning'] = array( 'id' => 'citylogic-slider-enabled-warning', 'label' => __( 'Please note: The header media will not display on your site as you have a shortcode set in the Slider Shortcode field of your homepage. To make the header image visible you will first need to remove this.', 'citylogic' ), 'section' => $section, 'type' => 'warning', 'priority' => 0, 'class' => 'dont-hide', ); } $options['citylogic-header-video-mute'] = array( 'id' => 'citylogic-header-video-mute', 'label' => __( 'Mute the header video', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1, 'priority' => 10 ); $options['citylogic-header-video-loop'] = array( 'id' => 'citylogic-header-video-loop', 'label' => __( 'Loop the header video', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1, 'priority' => 10 ); $options['citylogic-header-image-link-content'] = array( 'id' => 'citylogic-header-image-link-content', 'label' => __( 'Content to link to', 'citylogic' ), 'section' => $section, 'type' => 'dropdown-pages-posts', 'description' => __( 'Select the page or post you would like your Header Image to link to.', 'citylogic' ) ); $choices = array( 'none' => 'None', 'curve' => 'Curve', 'wave' => 'Wave', //'wave-multi-colored' => 'Wave - Multi-colored' ); $options['citylogic-header-image-bottom-shape'] = array( 'id' => 'citylogic-header-image-bottom-shape', 'label' => __( 'Bottom Shape', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'none' ); $options['citylogic-header-image-instagram-filter'] = array( 'id' => 'citylogic-header-image-instagram-filter', 'label' => __( 'Instagram Filter', 'citylogic' ), 'section' => $section, 'type' => 'dropdown-instagram-filters', ); $options['citylogic-header-image-overlay-opacity'] = array( 'id' => 'citylogic-header-image-overlay-opacity', 'label' => __( 'Overlay Opacity', 'citylogic' ), 'section' => $section, 'type' => 'range', 'default' => 0.3, 'input_attrs' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'style' => 'color: #000000' ) ); $options["citylogic-fieldset-divider-.{$dividerCount}"] = array( 'id' => "citylogic-fieldset-divider-{$dividerCount}", 'section' => $section, 'type' => 'divider' ); $dividerCount++; $options['citylogic-header-image-text-overlay-heading'] = array( 'id' => 'citylogic-header-image-text-overlay-heading', 'label' => __( 'Text Overlay', 'citylogic' ), 'section' => $section, 'type' => 'heading' ); $options['citylogic-header-image-text-overlay-opacity'] = array( 'id' => 'citylogic-header-image-text-overlay-opacity', 'label' => __( 'Text Overlay Opacity', 'citylogic' ), 'section' => $section, 'type' => 'range', 'default' => 0, 'input_attrs' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'style' => 'color: #000000', ) ); $options['citylogic-header-image-text'] = array( 'id' => 'citylogic-header-image-text', 'label' => __( 'Text', 'citylogic' ), 'section' => $section, 'type' => 'textarea', 'default' => __( '
Anything and everything you need
', 'citylogic' ), 'description' => esc_html( __( 'Use tags around heading text and tags around body text.', 'citylogic' ) ), 'sanitize_callback' => 'wp_kses_post' ); /* $options['citylogic-header-video-text'] = array( 'id' => 'citylogic-header-video-text', 'label' => __( 'Text', 'citylogic' ), 'section' => $section, 'type' => 'textarea', 'default' => __( 'Anything and everything you need
', 'citylogic' ), 'description' => esc_html( __( 'Use tags around heading text and tags around body text.', 'citylogic' ) ) ); */ $options['citylogic-header-image-text-overlay-uppercase-headings'] = array( 'id' => 'citylogic-header-image-text-overlay-uppercase-headings', 'label' => __( 'Uppercase headings', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); $options['citylogic-header-image-text-overlay-text-shadow'] = array( 'id' => 'citylogic-header-image-text-overlay-text-shadow', 'label' => __( 'Display a drop shadow on the text overlay text', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $choices = array( 'left-aligned-text' => 'Left aligned', 'centered-text' => 'Centered', 'right-aligned-text' => 'Right aligned' ); $options['citylogic-header-image-text-overlay-text-alignment'] = array( 'id' => 'citylogic-header-image-text-overlay-text-alignment', 'label' => __( 'Text Alignment', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'centered-text' ); $choices = array( 'left-aligned' => 'Left aligned', 'centered' => 'Centered', 'right-aligned' => 'Right aligned' ); $options['citylogic-header-image-text-overlay-horizontal-alignment'] = array( 'id' => 'citylogic-header-image-text-overlay-horizontal-alignment', 'label' => __( 'Horizontal Alignment', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'centered' ); $options['citylogic-header-image-text-overlay-max-height'] = array( 'id' => 'citylogic-header-image-text-overlay-max-height', 'label' => __( 'Expand the Text Overlay to the full height of the header image', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-header-image-constrain-text-overlay-opacity'] = array( 'id' => 'citylogic-header-image-constrain-text-overlay-opacity', 'label' => __( 'Constrain the text overlay to the site content area', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-header-image-constrain-text-overlay-text'] = array( 'id' => 'citylogic-header-image-constrain-text-overlay-text', 'label' => __( 'Constrain the text overlay text to the site content area', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $choices = array( 'top' => 'Top', 'one-third' => '1/3', 'half' => 'Centered', 'two-thirds' => '2/3', 'bottom' => 'Bottom' ); $options['citylogic-header-image-text-overlay-vertical-position'] = array( 'id' => 'citylogic-header-image-text-overlay-vertical-position', 'label' => __( 'Vertical Alignment', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'half' ); $options['citylogic-header-image-text-overlay-width'] = array( 'id' => 'citylogic-header-image-text-overlay-width', 'label' => __( 'Text Overlay Width', 'citylogic' ), 'section' => $section, 'type' => 'percentage', 'default' => 60 ); $options['citylogic-header-image-text-overlay-padding'] = array( 'id' => 'citylogic-header-image-text-overlay-padding', 'label' => __( 'Text Overlay Padding', 'citylogic' ), 'section' => $section, 'type' => 'percentage', 'default' => 3.5 ); $options["citylogic-fieldset-divider-.{$dividerCount}"] = array( 'id' => "citylogic-fieldset-divider-{$dividerCount}", 'section' => $section, 'type' => 'divider' ); $dividerCount++; $options['citylogic-header-image-spacing-heading'] = array( 'id' => 'citylogic-header-image-spacing-heading', 'label' => __( 'Spacing', 'citylogic' ), 'section' => $section, 'type' => 'heading' ); $choices = array( '1.0' => '1.0', '1.1' => '1.1', '1.2' => '1.2', '1.3' => '1.3', '1.4' => '1.4', '1.5' => '1.5', '1.6' => '1.6', '1.7' => '1.7', '1.8' => '1.8', '1.9' => '1.9', '2.0' => '2.0' ); $options['citylogic-header-image-heading-line-height'] = array( 'id' => 'citylogic-header-image-heading-line-height', 'label' => __( 'Heading Line Height', 'citylogic' ), 'section' => $section, 'type' => 'dropdown-em', 'choices' => $choices, 'default' => '1.4' ); $choices = array( '1.0' => '1.0', '1.1' => '1.1', '1.2' => '1.2', '1.3' => '1.3', '1.4' => '1.4', '1.5' => '1.5', '1.6' => '1.6', '1.7' => '1.7', '1.8' => '1.8', '1.9' => '1.9', '2.0' => '2.0' ); $options['citylogic-header-image-paragraph-line-height'] = array( 'id' => 'citylogic-header-image-paragraph-line-height', 'label' => __( 'Paragraph Line Height', 'citylogic' ), 'section' => $section, 'type' => 'dropdown-em', 'choices' => $choices, 'default' => '1.2' ); $choices = array( '0' => '0', '0.1' => '0.1', '0.2' => '0.2', '0.3' => '0.3', '0.4' => '0.4', '0.5' => '0.5', '0.6' => '0.6', '0.7' => '0.7', '0.8' => '0.8', '0.9' => '0.9', '1.0' => '1.0', '1.1' => '1.1', '1.2' => '1.2', '1.3' => '1.3', '1.4' => '1.4', '1.5' => '1.5', '1.6' => '1.6', '1.7' => '1.7', '1.8' => '1.8', '1.9' => '1.9', '2.0' => '2.0' ); $options['citylogic-header-image-paragraph-margin'] = array( 'id' => 'citylogic-header-image-paragraph-margin', 'label' => __( 'Paragraph Top and Bottom Margin', 'citylogic' ), 'section' => $section, 'type' => 'dropdown-em', 'choices' => $choices, 'default' => '0.5' ); $choices = array( '0' => '0', '0.1' => '0.1', '0.2' => '0.2', '0.3' => '0.3', '0.4' => '0.4', '0.5' => '0.5', '0.6' => '0.6', '0.7' => '0.7', '0.8' => '0.8', '0.9' => '0.9', '1.0' => '1.0', '1.1' => '1.1', '1.2' => '1.2', '1.3' => '1.3', '1.4' => '1.4', '1.5' => '1.5', '1.6' => '1.6', '1.7' => '1.7', '1.8' => '1.8', '1.9' => '1.9', '2.0' => '2.0' ); $options['citylogic-header-image-button-margin'] = array( 'id' => 'citylogic-header-image-button-margin', 'label' => __( 'Button Top and Bottom Margin', 'citylogic' ), 'section' => $section, 'type' => 'dropdown-em', 'choices' => $choices, 'default' => '1.4' ); $options["citylogic-fieldset-divider-header-image-.{$dividerCount}"] = array( 'id' => "citylogic-fieldset-divider-header-image-.{$dividerCount}", 'section' => $section, 'type' => 'divider' ); $dividerCount++; $options['citylogic-header-image-responsive-heading'] = array( 'id' => 'citylogic-header-image-responsive-heading', 'label' => __( 'Responsive', 'citylogic' ), 'section' => $section, 'type' => 'heading', 'description' => __( 'Select the elements to hide for smaller screens. Please ensure that all content is properly formatted with the correct HTML tags in order for this to work correctly.', 'citylogic' ) ); $options['citylogic-header-image-hide-text-overlay'] = array( 'id' => 'citylogic-header-image-hide-text-overlay', 'label' => __( 'Text Overlay', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-header-image-hide-headings'] = array( 'id' => 'citylogic-header-image-hide-headings', 'label' => __( 'Headings', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-header-image-hide-paragraphs'] = array( 'id' => 'citylogic-header-image-hide-paragraphs', 'label' => __( 'Paragraph text', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-header-image-hide-buttons'] = array( 'id' => 'citylogic-header-image-hide-buttons', 'label' => __( 'Buttons', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); /* $options['citylogic-header-image-text-overlay-hide-width'] = array( 'id' => 'citylogic-header-image-text-overlay-hide-width', 'label' => __( 'Text Overlay Hide Width', 'citylogic' ), 'section' => $section, 'type' => 'text', 'default' => 899 ); */ $options['citylogic-header-image-has-min-width'] = array( 'id' => 'citylogic-header-image-has-min-width', 'label' => __( 'Header image has a minimum width', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-header-image-min-width'] = array( 'id' => 'citylogic-header-image-min-width', 'label' => __( 'Minimum Width', 'citylogic' ), 'section' => $section, 'type' => 'pixels', 'default' => 600 ); // WooCommerce if ( citylogic_is_woocommerce_activated() ) { // WooCommerce $panel = 'woocommerce'; $panels[] = array( 'id' => $panel, 'title' => __( 'WooCommerce', 'citylogic' ), 'priority' => '30' ); // Header $section = 'woocommerce-header'; $sections[] = array( 'id' => $section, 'title' => __( 'Header', 'citylogic' ), 'priority' => '10', 'panel' => $panel ); $choices = array( 'shopping-cart' => 'Shopping cart', 'shopping-bag' => 'Shopping bag', 'shopping-basket' => 'Shopping basket' ); $options['citylogic-woocommerce-shopping-cart-icon'] = array( 'id' => 'citylogic-woocommerce-shopping-cart-icon', 'label' => __( 'Shopping cart icon', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'shopping-cart', 'description' => __( 'Please note: Due to the way the WooCommerce shopping cart functions this change won\'t reflect in the preview window. You will need to publish the change and open your site in a new tab to see the change.', 'citylogic' ) ); // Layout $section = 'woocommerce-layout'; $sections[] = array( 'id' => $section, 'title' => __( 'Layout', 'citylogic' ), 'priority' => '10', 'panel' => $panel ); $options['citylogic-woocommerce-breadcrumbs'] = array( 'id' => 'citylogic-woocommerce-breadcrumbs', 'label' => __( 'Display breadcrumbs', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); // Product Catalog $section = 'woocommerce_product_catalog'; $sections[] = array( 'id' => $section, 'title' => __( 'Product Catalog', 'citylogic' ), 'priority' => '10', 'panel' => $panel ); $options['citylogic-layout-woocommerce-shop-full-width'] = array( 'id' => 'citylogic-layout-woocommerce-shop-full-width', 'label' => __( 'Full width', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'priority' => 0, 'default' => 0 ); $options['citylogic-woocommerce-products-per-page'] = array( 'id' => 'citylogic-woocommerce-products-per-page', 'label' => __( 'Products per page', 'citylogic' ), 'section' => $section, 'type' => 'text', 'default' => get_option('posts_per_page'), 'description' => __( 'How many products should be shown per page?', 'citylogic' ) ); // Product $section = 'woocommerce-product'; $sections[] = array( 'id' => $section, 'title' => __( 'Product', 'citylogic' ), 'priority' => '10', 'panel' => $panel ); $options['citylogic-layout-woocommerce-product-full-width'] = array( 'id' => 'citylogic-layout-woocommerce-product-full-width', 'label' => __( 'Full width', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => get_theme_mod( 'citylogic-layout-woocommerce-shop-full-width', 0 ) ); $options['citylogic-woocommerce-product-image-zoom'] = array( 'id' => 'citylogic-woocommerce-product-image-zoom', 'label' => __( 'Enable zoom on product image', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); // Product category / tag page $section = 'woocommerce-category-tag-page'; $sections[] = array( 'id' => $section, 'title' => __( 'Product Category and Tag Page', 'citylogic' ), 'priority' => '10', 'panel' => $panel ); $options['citylogic-layout-woocommerce-category-tag-page-full-width'] = array( 'id' => 'citylogic-layout-woocommerce-category-tag-page-full-width', 'label' => __( 'Full width', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'priority' => '0', 'default' => get_theme_mod( 'citylogic-layout-woocommerce-shop-full-width', 0 ) ); // Checkout $section = 'woocommerce_checkout'; $options['citylogic-woocommerce-checkout-minimum-amount'] = array( 'id' => 'citylogic-woocommerce-checkout-minimum-amount', 'label' => __( 'Minimum Order Amount', 'citylogic' ), 'section' => $section, 'type' => 'text', 'priority' => '0', 'default' => 0, 'description' => 'A customer will not be able to check out if their cart total / subtotal is less than this amount.' ); $choices = array( 'total' => 'Total', 'subtotal' => 'Subtotal' ); $options['citylogic-woocommerce-checkout-minimum-amount-value'] = array( 'id' => 'citylogic-woocommerce-checkout-minimum-amount-value', 'label' => __( 'Minimum Order Amount Value', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'priority' => '0', 'default' => 'total', 'description' => 'The value that the minimum order amount must be more than.' ); $options["citylogic-fieldset-.{$dividerCount}"] = array( 'id' => "citylogic-fieldset-.{$dividerCount}", 'section' => $section, 'type' => 'divider', 'priority' => '0' ); $dividerCount++; /* $choices = array( 'citylogic-shop-left-sidebar' => 'Left', 'citylogic-shop-right-sidebar' => 'Right' ); $options['citylogic-woocommerce-shop-sidebar-alignment'] = array( 'id' => 'citylogic-woocommerce-shop-sidebar-alignment', 'label' => __( 'Shop page sidebar alignment', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'citylogic-shop-right-sidebar' ); */ } // // Blog Settings // $section = 'citylogic-blog'; // $sections[] = array( // 'id' => $section, // 'title' => __( 'Blog', 'citylogic' ), // 'priority' => '50' // ); // Blog Settings $panel = 'citylogic-blog'; $panels[] = array( 'id' => $panel, 'title' => __( 'Blog', 'citylogic' ), 'priority' => '50' ); // Post list $section = 'citylogic-blog-archive-page'; $sections[] = array( 'id' => $section, 'title' => __( 'Post List', 'citylogic' ), 'priority' => '10', 'panel' => $panel ); $options['citylogic-blog-full-width-archive'] = array( 'id' => 'citylogic-blog-full-width-archive', 'label' => __( 'Full width', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-blog-archive-display-post-titles'] = array( 'id' => 'citylogic-blog-archive-display-post-titles', 'label' => __( 'Display post titles', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); $choices = array( 'blog-post-side-layout' => 'Side Featured Image', 'blog-post-top-layout' => 'Top Featured Image', 'blog-post-masonry-grid-layout' => 'Masonry Grid' ); $options['citylogic-blog-layout'] = array( 'id' => 'citylogic-blog-layout', 'label' => __( 'Layout', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'blog-post-side-layout' ); $choices = array( '2' => 'Two', '3' => 'Three', '4' => 'Four', '5' => 'Five' ); $options['citylogic-blog-masonry-grid-columns'] = array( 'id' => 'citylogic-blog-masonry-grid-columns', 'label' => __( 'Number of columns', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => '3' ); $options['citylogic-blog-masonry-grid-horizontal-order'] = array( 'id' => 'citylogic-blog-masonry-grid-horizontal-order', 'label' => __( 'Maintain horizontal left-to-right order', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); $options['citylogic-blog-masonry-grid-border'] = array( 'id' => 'citylogic-blog-masonry-grid-border', 'label' => __( 'Display a border around posts', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); $options['citylogic-blog-masonry-grid-gutter'] = array( 'id' => 'citylogic-blog-masonry-grid-gutter', 'label' => __( 'Post Gutter', 'citylogic' ), 'section' => $section, 'type' => 'percentage', 'default' => 2.6, 'description' => __( 'This is the spacing between the posts. It can contain decimal values. For best results it should be an even number.', 'citylogic' ) ); $options["citylogic-fieldset-.{$dividerCount}"] = array( 'id' => "citylogic-fieldset-.{$dividerCount}", 'section' => $section, 'type' => 'divider' ); $dividerCount++; $options['citylogic-blog-featured-image-heading'] = array( 'id' => 'citylogic-blog-featured-image-heading', 'label' => __( 'Featured Image', 'citylogic' ), 'section' => $section, 'type' => 'heading' ); $options['citylogic-blog-featured-image-size'] = array( 'id' => 'citylogic-blog-featured-image-size', 'label' => __( 'Size', 'citylogic' ), 'section' => $section, 'type' => 'dropdown-image-sizes', //'description' => 'This list consists of all of the available image sizes in your site', 'default' => 'large' ); $choices = array( 'default' => 'Default', 'square' => 'Square', 'round' => 'Round' ); $options['citylogic-featured-image-style'] = array( 'id' => 'citylogic-featured-image-style', 'label' => __( 'Shape', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'default' ); $choices = array( 'full' => 'Full', 'tall' => 'Tall', 'medium' => 'Medium', 'short' => 'Short' ); $options['citylogic-featured-image-height'] = array( 'id' => 'citylogic-featured-image-height', 'label' => __( 'Height', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'full' ); $choices = array( 'left-aligned' => 'Left aligned', 'right-aligned' => 'Right aligned', 'alternate-aligned' => 'Alternating' ); $options['citylogic-featured-image-alignment-side-layout'] = array( 'id' => 'citylogic-featured-image-alignment-side-layout', 'label' => __( 'Alignment', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'left-aligned' ); $choices = array( 'left-aligned' => 'Left aligned', 'centered' => 'Center', 'right-aligned' => 'Right aligned' ); $options['citylogic-featured-image-alignment-top-layout'] = array( 'id' => 'citylogic-featured-image-alignment-top-layout', 'label' => __( 'Alignment', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'centered' ); $choices = array( 'no-rollover' => 'None', 'opacity-rollover' => 'Opacity', 'zoom-rollover' => 'Zoom' ); $options['citylogic-featured-image-rollover-effect'] = array( 'id' => 'citylogic-featured-image-rollover-effect', 'label' => __( 'Rollover Effect', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'no-rollover' ); $options['citylogic-featured-image-rollover-effect-opacity'] = array( 'id' => 'citylogic-featured-image-rollover-effect-opacity', 'label' => __( 'Opacity', 'citylogic' ), 'section' => $section, 'type' => 'range', 'default' => 0.5, 'input_attrs' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'style' => 'color: #000000', ) ); $options['citylogic-featured-image-disable-style-for-mobile'] = array( 'id' => 'citylogic-featured-image-disable-style-for-mobile', 'label' => __( 'Disable image style on smaller screens', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); $options['citylogic-featured-image-constrain'] = array( 'id' => 'citylogic-featured-image-constrain', 'label' => __( 'Fit to thumbnail size', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); $options['citylogic-featured-image-full-width'] = array( 'id' => 'citylogic-featured-image-full-width', 'label' => __( 'Stretch', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-blog-featured-image-clickable'] = array( 'id' => 'citylogic-blog-featured-image-clickable', 'label' => __( 'Link to post', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); /* $options['citylogic-blog-crop-featured-image'] = array( 'id' => 'citylogic-blog-crop-featured-image', 'label' => __( 'Crop', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1, 'description' => __( 'Please note: This change won\'t affect existing images in your media library. You can use the Regenerate Thumbnails plugin to regenerate these.', 'citylogic' ) ); */ $options["citylogic-fieldset-.{$dividerCount}"] = array( 'id' => "citylogic-fieldset-.{$dividerCount}", 'section' => $section, 'type' => 'divider' ); $dividerCount++; $choices = array( 'citylogic-blog-archive-layout-full' => 'Full post', 'citylogic-blog-archive-layout-excerpt' => 'Excerpt' ); $options['citylogic-blog-archive-layout'] = array( 'id' => 'citylogic-blog-archive-layout', 'label' => __( 'Text Length', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'citylogic-blog-archive-layout-full' ); $options['citylogic-blog-excerpt-length'] = array( 'id' => 'citylogic-blog-excerpt-length', 'label' => __( 'Excerpt Length', 'citylogic' ), 'section' => $section, 'type' => 'text', 'default' => 55 ); $options['citylogic-blog-read-more'] = array( 'id' => 'citylogic-blog-read-more', 'label' => __( 'Display a Read More Link', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); $options['citylogic-blog-read-more-text'] = array( 'id' => 'citylogic-blog-read-more-text', 'label' => __( 'Read More Text', 'citylogic' ), 'section' => $section, 'type' => 'text', 'default' => __( 'READ MORE', 'citylogic' ) ); $choices = array( 'inline' => 'Next to the excerpt', 'below' => 'Below the excerpt' ); $options['citylogic-blog-read-more-position'] = array( 'id' => 'citylogic-blog-read-more-position', 'label' => __( 'Read More Position', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'below' ); // Post $section = 'citylogic-blog-post-page'; $sections[] = array( 'id' => $section, 'title' => __( 'Post', 'citylogic' ), 'priority' => '10', 'panel' => $panel ); $options['citylogic-blog-full-width-single'] = array( 'id' => 'citylogic-blog-full-width-single', 'label' => __( 'Full width', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); $options['citylogic-blog-featured-image'] = array( 'id' => 'citylogic-blog-featured-image', 'label' => __( 'Display the featured image', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); $options['citylogic-layout-display-post-titles'] = array( 'id' => 'citylogic-layout-display-post-titles', 'label' => __( 'Display the title', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); $options['citylogic-blog-header-image-title'] = array( 'id' => 'citylogic-blog-header-image-title', 'label' => __( 'Display titles and meta data on the header images', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); // Meta Data $section = 'citylogic-blog-meta-data'; $sections[] = array( 'id' => $section, 'title' => __( 'Meta Data', 'citylogic' ), 'priority' => '10', 'panel' => $panel ); $options['citylogic-blog-meta-data-heading'] = array( 'id' => 'citylogic-blog-meta-data-heading', 'label' => __( 'Select the meta data to display:', 'citylogic' ), 'section' => $section, 'type' => 'heading' ); $options['citylogic-blog-display-date'] = array( 'id' => 'citylogic-blog-display-date', 'label' => __( 'Date', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); $options['citylogic-blog-display-author'] = array( 'id' => 'citylogic-blog-display-author', 'label' => __( 'Author', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); $options['citylogic-blog-display-meta-data'] = array( 'id' => 'citylogic-blog-display-meta-data', 'label' => __( 'Tags and categories', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); $options['citylogic-blog-display-comment-count'] = array( 'id' => 'citylogic-blog-display-comment-count', 'label' => __( 'Comment count', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); /* $options['citylogic-blog-display-author-bio'] = array( 'id' => 'citylogic-blog-display-author-bio', 'label' => __( 'Display author bios', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 0 ); */ // Page Title Prefixes $section = 'citylogic-blog-page-title-prefixes'; $sections[] = array( 'id' => $section, 'title' => __( 'Page Title Prefixes', 'citylogic' ), 'priority' => '10', 'panel' => $panel ); $options['citylogic-blog-page-title-prefixes'] = array( 'id' => 'citylogic-blog-page-title-prefixes', 'label' => __( 'Title prefixes will display on the following:', 'citylogic' ), 'section' => $section, 'type' => 'heading' ); $options['citylogic-blog-display-archive-page-title-prefix'] = array( 'id' => 'citylogic-blog-display-archive-page-title-prefix', 'label' => __( 'Archive page', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); $options['citylogic-blog-display-category-page-title-prefix'] = array( 'id' => 'citylogic-blog-display-category-page-title-prefix', 'label' => __( 'Category page', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); $options['citylogic-blog-display-tag-page-title-prefix'] = array( 'id' => 'citylogic-blog-display-tag-page-title-prefix', 'label' => __( 'Tag page', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); // website Text Settings $section = 'citylogic-website-text'; $sections[] = array( 'id' => $section, 'title' => __( 'Website Text', 'citylogic' ), 'priority' => '50' ); $options['citylogic-website-text-404-page-heading'] = array( 'id' => 'citylogic-website-text-404-page-heading', 'label' => __( '404 Page Heading', 'citylogic' ), 'section' => $section, 'type' => 'text', 'default' => __( '404!', 'citylogic' ) ); $options['citylogic-website-text-404-page-text'] = array( 'id' => 'citylogic-website-text-404-page-text', 'label' => __( '404 Page Message', 'citylogic' ), 'section' => $section, 'type' => 'textarea', 'default' => __( 'The page you were looking for cannot be found!', 'citylogic' ) ); // Footer Settings $section = 'citylogic-footer'; $sections[] = array( 'id' => $section, 'title' => __( 'Footer', 'citylogic' ), 'priority' => '50' ); $options['citylogic-footer-background-image'] = array( 'id' => 'citylogic-footer-background-image', 'label' => __( 'Background Image', 'citylogic' ), 'section' => $section, 'type' => 'image' ); $choices = array( 'tile' => 'Tile', 'cover' => 'Cover', 'center' => 'Center' ); $options['citylogic-footer-background-image-display'] = array( 'id' => 'citylogic-footer-background-image-display', 'label' => __( 'Background Image Display', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'cover' ); $choices = array( 'top' => 'Top', 'center' => 'Center', 'bottom' => 'Bottom' ); $options['citylogic-footer-background-image-vertical-position'] = array( 'id' => 'citylogic-footer-background-image-vertical-position', 'label' => __( 'Background Image Vertical Position', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'top' ); $options['citylogic-footer-background-image-overlay-opacity'] = array( 'id' => 'citylogic-footer-background-image-overlay-opacity', 'label' => __( 'Overlay Opacity', 'citylogic' ), 'section' => $section, 'type' => 'range', 'input_attrs' => array( 'min' => 0, 'max' => 1, 'step' => 0.1, 'style' => 'color: #000000', ), 'default' => 0 ); /* $options['citylogic-footer-background-image-contain-height'] = array( 'id' => 'citylogic-footer-background-image-contain-height', 'label' => __( 'Adjust height to fit', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1, ); */ $options['citylogic-layout-display-footer-widgets'] = array( 'id' => 'citylogic-layout-display-footer-widgets', 'label' => __( 'Display the footer widgets', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); $choices = array( 'one' => 'One', 'two' => 'Two', 'three' => 'Three', 'four' => 'Four', 'five' => 'Five' ); $options['citylogic-footer-widget-amount'] = array( 'id' => 'citylogic-footer-widget-amount', 'label' => __( 'Number of widgets to display per row', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'three' ); $options['citylogic-footer-display-bottom-bar'] = array( 'id' => 'citylogic-footer-display-bottom-bar', 'label' => __( 'Display the footer bottom bar', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1 ); $choices = array( 'citylogic-footer-bottom-bar-layout-standard' => 'Standard', 'citylogic-footer-bottom-bar-layout-centered' => 'Centered' ); $options['citylogic-footer-bottom-bar-layout'] = array( 'id' => 'citylogic-footer-bottom-bar-layout', 'label' => __( 'Bottom Bar Layout', 'citylogic' ), 'section' => $section, 'type' => 'select', 'choices' => $choices, 'default' => 'citylogic-footer-bottom-bar-layout-standard' ); $options['citylogic-footer-copyright-text'] = array( 'id' => 'citylogic-footer-copyright-text', 'label' => __( 'Copyright Text', 'citylogic' ), 'section' => $section, 'type' => 'text', 'default' => __( 'Theme by Out the Box', 'citylogic' ), 'description' => __( 'You can add the site title or current year with the following tags:This will remove the default anti-aliasing done to scaled images by browsers creating a more crisp image.
', 'citylogic' ) ); $options['citylogic-media-image-compression'] = array( 'id' => 'citylogic-media-image-compression', 'label' => __( 'Image compression', 'citylogic' ), 'section' => $section, 'type' => 'checkbox', 'default' => 1, 'description' => __( 'By default WordPress compresses resized images to 82% for increased page load speed. To retain the quality of your images after resizing them in WordPress, you can simply disable image compression.
Please note: This change won\'t affect existing images in your media library.
', 'citylogic' ) ); // Adds the sections to the $options array $options['sections'] = $sections; // Adds the panels to the $options array $options['panels'] = $panels; $customizer_library = Customizer_Library::Instance(); $customizer_library->add_options( $options ); // To delete custom mods use: customizer_library_remove_theme_mods(); } add_action( 'init', 'citylogic_customizer_library_options' );kliknij w tytułową fotkę z albumów poniżej aby obejrzeć pokaz slajdów na pełnym ekranie
Wybrane z wielu…
Migawki to i owo ,)
Wilno 2014
Wilno 2015
*) Obejrzyj więcej naszych zdjęć w serwisie PICASA