add_panel( 'clinic_atracium_themeoptions', array( 'priority' => 50, 'capability' => 'edit_theme_options', 'theme_supports' => '', 'title' => esc_html__( 'Atracium Theme Options', 'atracium' ), ) ); /* Add Sections Theme Options */ $wp_customize->add_section( 'clinic_atracium_theme_options_general', array( 'title' => esc_html__( 'General Settings', 'atracium' ), 'priority' => 10, 'panel' => 'clinic_atracium_themeoptions', ) ); $wp_customize->add_section( 'clinic_atracium_theme_options_contact', array( 'title' => esc_html__( 'Contact Us', 'atracium' ), 'priority' => 10, 'panel' => 'clinic_atracium_themeoptions', ) ); $wp_customize->add_section( 'clinic_atracium_theme_options_postpage', array( 'title' => esc_html__( 'Posts and pages settings', 'atracium' ), 'priority' => 10, 'panel' => 'clinic_atracium_themeoptions', ) ); $wp_customize->add_section( 'clinic_atracium_theme_options_social', array( 'title' => esc_html__( 'Social Buttons', 'atracium' ), 'priority' => 50, 'panel' => 'clinic_atracium_themeoptions', ) ); /** * ################ SECTION GENERAL SETTINGS */ /* Show Page Loader */ $wp_customize->add_setting( 'atracium_theme_options[_show_loader]', array( 'default' => '', 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'atracium_sanitize_checkbox', ) ); $wp_customize->add_control( 'atracium_theme_options[_show_loader]', array( 'label' => __( 'Show page loader', 'atracium' ), 'section' => 'clinic_atracium_theme_options_general', 'settings' => 'atracium_theme_options[_show_loader]', 'type' => 'checkbox', 'priority' => 1, ) ); /* Show Search Button */ $wp_customize->add_setting( 'atracium_theme_options[_search_button]', array( 'default' => '1', 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'atracium_sanitize_checkbox', ) ); $wp_customize->add_control( 'atracium_theme_options[_search_button]', array( 'label' => __( 'Show search button in the bar', 'atracium' ), 'section' => 'clinic_atracium_theme_options_general', 'settings' => 'atracium_theme_options[_search_button]', 'type' => 'checkbox', 'priority' => 2, ) ); /* Custom Slider1 */ $wp_customize->add_setting( 'atracium_theme_options[_slider1]', array( 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_text_field', 'default' => 'Welcome', ) ); $wp_customize->add_control( 'atracium_theme_options[_slider1]', array( 'label' => __( 'Slider 1', 'atracium' ), 'section' => 'clinic_atracium_theme_options_general', 'settings' => 'atracium_theme_options[_slider1]', 'type' => 'text', 'priority' => 4, ) ); /* Custom Slider2 */ $wp_customize->add_setting( 'atracium_theme_options[_slider2]', array( 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_text_field', 'default' => 'Your health is your priority for life', ) ); $wp_customize->add_control( 'atracium_theme_options[_slider2]', array( 'label' => __( 'Slider 2', 'atracium' ), 'section' => 'clinic_atracium_theme_options_general', 'settings' => 'atracium_theme_options[_slider2]', 'type' => 'text', 'priority' => 4, ) ); /* Custom Slider3 */ $wp_customize->add_setting( 'atracium_theme_options[_slider3]', array( 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_text_field', 'default' => 'With you wherever you are', ) ); $wp_customize->add_control( 'atracium_theme_options[_slider3]', array( 'label' => __( 'Slider 3', 'atracium' ), 'section' => 'clinic_atracium_theme_options_general', 'settings' => 'atracium_theme_options[_slider3]', 'type' => 'text', 'priority' => 4, ) ); /* Custom Excerpt More */ $wp_customize->add_setting( 'atracium_theme_options[_excerpt_more]', array( 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_text_field', 'default' => '…', ) ); $wp_customize->add_control( 'atracium_theme_options[_excerpt_more]', array( 'label' => __( 'Custom Excerpt Final', 'atracium' ), 'section' => 'clinic_atracium_theme_options_general', 'settings' => 'atracium_theme_options[_excerpt_more]', 'type' => 'text', 'priority' => 4, ) ); /* Text lenght for blog */ $wp_customize->add_setting( 'atracium_theme_options[_lenght_blog]', array( 'default' => '55', 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'absint', ) ); $wp_customize->add_control( 'atracium_theme_options[_lenght_blog]', array( 'label' => __( 'Text lenght for blog excerpt (number of words)', 'atracium' ), 'section' => 'clinic_atracium_theme_options_general', 'settings' => 'atracium_theme_options[_lenght_blog]', 'type' => 'number', 'priority' => 5, ) ); /** * ################ SECTION Contact SETTINGS */ /* Custom Address */ $wp_customize->add_setting( 'atracium_theme_options[_address]', array( 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_text_field', 'default' => 'Damanhur', ) ); $wp_customize->add_control( 'atracium_theme_options[_address]', array( 'label' => __( 'Address', 'atracium' ), 'section' => 'clinic_atracium_theme_options_contact', 'settings' => 'atracium_theme_options[_address]', 'type' => 'text', 'priority' => 4, ) ); /* Custom Phone */ $wp_customize->add_setting( 'atracium_theme_options[_phone]', array( 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_text_field', 'default' => '01145370359', ) ); $wp_customize->add_control( 'atracium_theme_options[_phone]', array( 'label' => __( 'Phone', 'atracium' ), 'section' => 'clinic_atracium_theme_options_contact', 'settings' => 'atracium_theme_options[_phone]', 'type' => 'text', 'priority' => 4, ) ); /* Custom Work Time */ $wp_customize->add_setting( 'atracium_theme_options[_worktime]', array( 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_text_field', 'default' => 'SAT- THU 11:00 24:00', ) ); $wp_customize->add_control( 'atracium_theme_options[_worktime]', array( 'label' => __( 'Work Time', 'atracium' ), 'section' => 'clinic_atracium_theme_options_contact', 'settings' => 'atracium_theme_options[_worktime]', 'type' => 'text', 'priority' => 4, ) ); /* Custom Phone */ $wp_customize->add_setting( 'atracium_theme_options[_email]', array( 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_text_field', 'default' => 'moh.elsayad@yahoo.com', ) ); $wp_customize->add_control( 'atracium_theme_options[_email]', array( 'label' => __( 'E-Mail', 'atracium' ), 'section' => 'clinic_atracium_theme_options_contact', 'settings' => 'atracium_theme_options[_email]', 'type' => 'text', 'priority' => 4, ) ); /* Custom Refer Title */ $wp_customize->add_setting( 'atracium_theme_options[_referTitle]', array( 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_text_field', 'default' => 'Refere A Friend', ) ); $wp_customize->add_control( 'atracium_theme_options[_referTitle]', array( 'label' => __( 'Refer Header', 'atracium' ), 'section' => 'clinic_atracium_theme_options_contact', 'settings' => 'atracium_theme_options[_referTitle]', 'type' => 'text', 'priority' => 4, ) ); /* Custom Refer Text */ $wp_customize->add_setting( 'atracium_theme_options[_referText]', array( 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_text_field', 'default' => 'So many of our best employees have come from referrals and we feel all those who take the time to refere good candidates to us should be generously rewarded!', ) ); $wp_customize->add_control( 'atracium_theme_options[_referText]', array( 'label' => __( 'Refer Text', 'atracium' ), 'section' => 'clinic_atracium_theme_options_contact', 'settings' => 'atracium_theme_options[_referText]', 'type' => 'text', 'priority' => 4, ) ); /** * ################ POSTS AND PAGES SETTINGS */ /* Show excerpt or full post */ $wp_customize->add_setting( 'atracium_theme_options[_showpost_type]', array( 'default' => 'excerpt', 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'atracium_sanitize_select', ) ); $wp_customize->add_control( 'atracium_theme_options[_showpost_type]', array( 'label' => __( 'Show excerpt or full post in the blog page', 'atracium' ), 'section' => 'clinic_atracium_theme_options_postpage', 'settings' => 'atracium_theme_options[_showpost_type]', 'type' => 'select', 'priority' => 1, 'choices' => array( 'excerpt' => __( 'Show excerpt', 'atracium' ), 'fullpost' => __( 'Show full post', 'atracium' ), ), ) ); /* Show previous and next post */ $wp_customize->add_setting( 'atracium_theme_options[_show_prevnext]', array( 'default' => '1', 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'atracium_sanitize_checkbox', ) ); $wp_customize->add_control('atracium_theme_options[_show_prevnext]', array( 'label' => __( 'Show previous and next post', 'atracium' ), 'section' => 'clinic_atracium_theme_options_postpage', 'settings' => 'atracium_theme_options[_show_prevnext]', 'type' => 'checkbox', 'priority' => 2, ) ); /** * ################ SECTION COLORS */ /* Custom Colors */ $colors = array(); $colors[] = array( 'slug' => '_main_background_color', 'default' => '#ffffff', 'label' => __( 'Inner Background Color', 'atracium' ), 'priority' => 10, ); $colors[] = array( 'slug' => '_main_text_color', 'default' => '#413e4a', 'label' => __( 'Text Color', 'atracium' ), 'priority' => 20, ); $colors[] = array( 'slug' => '_main_accent_color', 'default' => '#236ca8', 'label' => __( 'Accent Color', 'atracium' ), 'priority' => 30, ); $colors[] = array( 'slug' => '_main_border_color', 'default' => '#e0e0e0', 'label' => __( 'Border Color', 'atracium' ), 'priority' => 40, ); $colors[] = array( 'slug' => '_footer_background_color', 'default' => '#202020', 'label' => __( 'Footer Background Color', 'atracium' ), 'priority' => 50, ); $colors[] = array( 'slug' => '_footer_text_color', 'default' => '#f3f3f3', 'label' => __( 'Footer Text Color', 'atracium' ), 'priority' => 60, ); $colors[] = array( 'slug' => '_footer_accent_color', 'default' => '#07ade3', 'label' => __( 'Footer Accent Color', 'atracium' ), 'priority' => 70, ); foreach ( $colors as $atracium_theme_options_colors ) { $wp_customize->add_setting( 'atracium_theme_options[' . $atracium_theme_options_colors['slug'] . ']', array( 'default' => $atracium_theme_options_colors['default'], 'type' => 'option', 'sanitize_callback' => 'sanitize_hex_color', 'capability' => 'edit_theme_options', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'atracium_theme_options[' . $atracium_theme_options_colors['slug'] . ']', array( 'label' => $atracium_theme_options_colors['label'], 'section' => 'colors', 'settings' => 'atracium_theme_options[' . $atracium_theme_options_colors['slug'] . ']', 'priority' => $atracium_theme_options_colors['priority'], ) ) ); } /** * ################ SECTION SOCIAL NETWORK */ /* Show social in push sidebar */ $wp_customize->add_setting( 'atracium_theme_options[_social_show_push]', array( 'default' => '1', 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'atracium_sanitize_checkbox', ) ); $wp_customize->add_control( 'atracium_theme_options[_social_show_push]', array( 'label' => __( 'Show social buttons in push sidebar', 'atracium' ), 'section' => 'clinic_atracium_theme_options_social', 'settings' => 'atracium_theme_options[_social_show_push]', 'type' => 'checkbox', 'priority' => 1, ) ); /* Show social in footer */ $wp_customize->add_setting( 'atracium_theme_options[_social_show_footer]', array( 'default' => '1', 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'atracium_sanitize_checkbox', ) ); $wp_customize->add_control( 'atracium_theme_options[_social_show_footer]', array( 'label' => __( 'Show social buttons in footer', 'atracium' ), 'section' => 'clinic_atracium_theme_options_social', 'settings' => 'atracium_theme_options[_social_show_footer]', 'type' => 'checkbox', 'priority' => 1, ) ); $socialmedia = array(); $socialmedia[] = array( 'slug' => '_facebookurl', 'default' => '', 'label' => __( 'Facebook URL', 'atracium' ), ); $socialmedia[] = array( 'slug' => '_twitterurl', 'default' => '', 'label' => __( 'Twitter URL', 'atracium' ), ); $socialmedia[] = array( 'slug' => '_googleplusurl', 'default' => '', 'label' => __( 'Google Plus URL', 'atracium' ), ); $socialmedia[] = array( 'slug' => '_linkedinurl', 'default' => '', 'label' => __( 'Linkedin URL', 'atracium' ), ); $socialmedia[] = array( 'slug' => '_instagramurl', 'default' => '', 'label' => __( 'Instagram URL', 'atracium' ), ); $socialmedia[] = array( 'slug' => '_youtubeurl', 'default' => '', 'label' => __( 'YouTube URL', 'atracium' ), ); $socialmedia[] = array( 'slug' => '_pinteresturl', 'default' => '', 'label' => __( 'Pinterest URL', 'atracium' ), ); $socialmedia[] = array( 'slug' => '_tumblrurl', 'default' => '', 'label' => __( 'Tumblr URL', 'atracium' ), ); $socialmedia[] = array( 'slug' => '_flickrurl', 'default' => '', 'label' => __( 'Flickr URL', 'atracium' ), ); $socialmedia[] = array( 'slug' => '_vkurl', 'default' => '', 'label' => __( 'VK URL', 'atracium' ), ); $socialmedia[] = array( 'slug' => '_xingurl', 'default' => '', 'label' => __( 'Xing URL', 'atracium' ), ); $socialmedia[] = array( 'slug' => '_redditurl', 'default' => '', 'label' => __( 'Reddit URL', 'atracium' ), ); foreach ( $socialmedia as $atracium_theme_options ) { // SETTINGS $wp_customize->add_setting( 'atracium_theme_options[' . $atracium_theme_options['slug'] . ']', array( 'default' => $atracium_theme_options['default'], 'capability' => 'edit_theme_options', 'sanitize_callback' => 'esc_url_raw', 'type' => 'option', ) ); // CONTROLS $wp_customize->add_control( 'atracium_theme_options[' . $atracium_theme_options['slug'] . ']', array( 'label' => $atracium_theme_options['label'], 'section' => 'clinic_atracium_theme_options_social', 'settings' => 'atracium_theme_options[' . $atracium_theme_options['slug'] . ']', ) ); } /* Open social links */ $wp_customize->add_setting( 'atracium_theme_options[_social_open_links]', array( 'default' => '_self', 'type' => 'option', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'atracium_sanitize_select', ) ); $wp_customize->add_control( 'atracium_theme_options[_social_open_links]', array( 'label' => __( 'Open social links', 'atracium' ), 'section' => 'clinic_atracium_theme_options_social', 'settings' => 'atracium_theme_options[_social_open_links]', 'type' => 'select', 'priority' => 4, 'choices' => array( '_self' => __( 'Same window', 'atracium' ), '_blank' => __( 'New Window', 'atracium' ), ), ) ); } add_action( 'customize_register', 'atracium_custom_settings_register' ); /** * Add postMessage support for site title and description for the Theme Customizer. * * @param WP_Customize_Manager $wp_customize Theme Customizer object. */ function atracium_customize_register( $wp_customize ) { //$wp_customize->remove_section('colors'); $wp_customize->get_section( 'colors' )->panel = 'clinic_atracium_themeoptions'; $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; if ( isset( $wp_customize->selective_refresh ) ) { $wp_customize->selective_refresh->add_partial( 'blogname', array( 'selector' => '.site-title a', 'render_callback' => 'atracium_customize_partial_blogname', ) ); $wp_customize->selective_refresh->add_partial( 'blogdescription', array( 'selector' => '.site-description', 'render_callback' => 'atracium_customize_partial_blogdescription', ) ); } } add_action( 'customize_register', 'atracium_customize_register' ); /** * Render the site title for the selective refresh partial. * * @return void */ function atracium_customize_partial_blogname() { bloginfo( 'name' ); } /** * Render the site tagline for the selective refresh partial. * * @return void */ function atracium_customize_partial_blogdescription() { bloginfo( 'description' ); } /** * Binds JS handlers to make Theme Customizer preview reload changes asynchronously. */ function atracium_customize_preview_js() { wp_enqueue_script( 'atracium-customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20151215', true ); } add_action( 'customize_preview_init', 'atracium_customize_preview_js' ); if ( ! function_exists( 'theme_options' ) ) { function theme_options( $name, $default = false ) { $options = ( get_option( 'atracium_theme_options' ) ) ? get_option( 'atracium_theme_options' ) : null; // return the option if it exists if ( isset( $options[ $name ] ) ) { return apply_filters( "atracium_theme_options_{$name}", $options[ $name ] ); } // return default if nothing else return apply_filters( "atracium_theme_options_{$name}", $default ); } } /** * Delete font size style from tag cloud widget */ if ( ! function_exists( 'atracium_fix_tag_cloud' ) ) { function atracium_fix_tag_cloud( $tag_string ) { return preg_replace( '/ style=("|\')(.*?)("|\')/', '', $tag_string ); } } add_filter( 'wp_generate_tag_cloud', 'atracium_fix_tag_cloud', 10, 1 ); /** * Replace Excerpt More */ if ( ! function_exists( 'atracium_new_excerpt_more' ) ) { function atracium_new_excerpt_more( $more ) { if ( is_admin() ) { return $more; } $custom_more = theme_options( '_excerpt_more', '…' ); return esc_html( $custom_more ); } } add_filter( 'excerpt_more', 'atracium_new_excerpt_more' ); /** * Custom Excerpt Length */ if ( ! function_exists( 'atracium_custom_excerpt_length' ) ) { function atracium_custom_excerpt_length( $length ) { if ( ! is_admin() ) { $text_blog = theme_options( '_lenght_blog', '55' ); return intval( $text_blog ); } else { return $length; } } } add_filter( 'excerpt_length', 'atracium_custom_excerpt_length', 999 ); function atracium_sanitize_checkbox( $input ) { if ( 1 == $input ) { return 1; } else { return ''; } } function atracium_sanitize_select( $input, $setting ) { $input = sanitize_key( $input ); $choices = $setting->manager->get_control( $setting->id )->choices; return ( array_key_exists( $input, $choices ) ? $input : $setting->default ); } if ( ! function_exists( 'atracium_loading_page' ) ) { function atracium_loading_page() { echo '
'; } } if ( ! function_exists( 'atracium_show_social_network' ) ) { function atracium_show_social_network( $position ) { $openLinks = theme_options( '_social_open_links', '_self' ); $facebookURL = theme_options( '_facebookurl', '' ); $twitterURL = theme_options( '_twitterurl', '' ); $googleplusURL = theme_options( '_googleplusurl', '' ); $linkedinURL = theme_options( '_linkedinurl', '' ); $instagramURL = theme_options( '_instagramurl', '' ); $youtubeURL = theme_options( '_youtubeurl', '' ); $pinterestURL = theme_options( '_pinteresturl', '' ); $tumblrURL = theme_options( '_tumblrurl', '' ); $flickrURL = theme_options( '_flickrurl', '' ); $vkURL = theme_options( '_vkurl', '' ); $xingURL = theme_options( '_xingurl', '' ); $redditURL = theme_options( '_redditurl', '' ); ?>
'; $backgroundColor = theme_options( '_main_background_color', '#ffffff' ); $frontHeaderColor = theme_options( '_front_header_color', '#ffffff' ); $textColor = theme_options( '_main_text_color', '#404040' ); $accentColor = theme_options( '_main_accent_color', '#236ca8' ); $borderColor = theme_options( '_main_border_color', '#e0e0e0' ); $footerBackgroundColor = theme_options( '_footer_background_color', '#202020' ); $footerTextColor = theme_options( '_footer_text_color', '#f3f3f3' ); $footerAccentColor = theme_options( '_footer_accent_color', '#07ade3' ); /* Accent Color */ list( $r, $g, $b ) = sscanf( $accentColor, '#%02x%02x%02x' ); ?> blockquote::before, a, a:visited, .navbar li:hover > a, .navbar li:focus > a, .navbar .current_page_item > a, .navbar .current-menu-item > a, .navbar .current_page_ancestor > a, .navbar .current-menu-ancestor > a, .nav-links .post-title, .entry-meta span i { color: ; } .clinicMenuButton, #wp-calendar > caption, .atracium-subbar, .atracium-subbar .search-container input[type="search"], .nano > .nano-pane > .nano-slider, .content-area .onsale, .widget_price_filter .ui-slider .ui-slider-range, .widget_price_filter .ui-slider .ui-slider-handle, body:before { background-color: ; } .nano > .nano-pane { background-color: rgba(,0.15); } .nano > .nano-pane > .nano-slider { background-color: rgba(,0.3); } blockquote, #wp-calendar tbody td#today, .tagcloud a:hover, .tagcloud a:focus, .tagcloud a:active, .tags-links a:hover, .tags-links a:focus, .tags-links a:active, .edit-link a:hover, .edit-link a:focus, .edit-link a:active { border-color: ; } footer.site-footer { border-top-color: ; } .tagcloud a:hover, .tagcloud a:focus, .tagcloud a:active, .tags-links a:hover, .tags-links a:focus, .tags-links a:active, .edit-link a:hover, .edit-link a:focus, .edit-link a:active { color: ; } footer.site-footer a { color: ; } footer.site-footer .tagcloud a:hover, footer.site-footer .tagcloud a:focus, footer.site-footer .tagcloud a:active { border-color: ; } .atracium-big-content, input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea, select, .front-page-fixed-top, #tertiary.widget-area, .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after, .asbutton:after, .loader-page, #toTop { background-color: ; } button, input[type="button"], input[type="reset"], input[type="submit"], .navigation.pagination .nav-links span.current, .page-links .current, .navigation.pagination .nav-links a:hover, .navigation.pagination .nav-links a:focus, .navigation.pagination .nav-links a:active, footer.entry-footer .read-more a:hover, footer.entry-footer .read-more a:focus, footer.entry-footer .read-more a:active, .cat-links a:hover, .cat-links a:focus, .cat-links a:active, .page-links a:hover, .page-links a:focus, .page-links a:active, #wp-calendar > caption, .atracium-subbar, .atracium-subbar .search-container input[type="search"], .atracium-social-button.inSidebar .atracium-social, .content-area .onsale, .return-to-shop a:hover, .wc-proceed-to-checkout .button.checkout-button:hover, .widget_shopping_cart p.buttons a:hover, .widget_price_filter .price_slider_amount .button { color: ; } .search-container ::-webkit-input-placeholder { color: ; } .search-container ::-moz-placeholder { color: ; } .search-container :-ms-input-placeholder { color: ; } .search-container :-moz-placeholder { color: ; } .clinicMenuButton a, .clinicMenuButton:hover a, .clinicMenuButton:focus a, .clinicMenuButton:active a { color: !important; } .asbutton, .atracium-subbar .search-container { border-color: ; } .atracium-subbar .search-container { } body, input, select, optgroup, textarea, input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea, a:hover, a:focus, a:active, .post-navigation .nav-links a, .main-navigation ul ul a, .navigation.pagination .nav-links a, .page-links a, .navigation.pagination .nav-links .next, .navigation.pagination .nav-links .prev, .tagcloud a, .tags-links a, .edit-link a, .entry-meta span a, .entry-meta span, .cat-links a, footer.entry-footer .read-more a, #toTop, .return-to-shop a, .wc-proceed-to-checkout .button.checkout-button, .widget_shopping_cart p.buttons a { color: ; } .navbar a { color: ; } body ::-webkit-input-placeholder { color: ; } body ::-moz-placeholder { color: ; } body :-ms-input-placeholder { color: ; } body :-moz-placeholder { color: ; } button, input[type="button"], input[type="reset"], input[type="submit"], .navigation.pagination .nav-links span.current, .page-links .current, .navigation.pagination .nav-links a:hover, .navigation.pagination .nav-links a:focus, .navigation.pagination .nav-links a:active, footer.entry-footer .read-more a:hover, footer.entry-footer .read-more a:focus, footer.entry-footer .read-more a:active, .cat-links a:hover, .cat-links a:focus, .cat-links a:active, .page-links a:hover, .page-links a:focus, .page-links a:active, .nav-links .nav-previous .meta-nav:after, .nav-links .nav-next .meta-nav:before, .widget .widget-title:before, .widget .widget-title:after,s .return-to-shop a:hover, .wc-proceed-to-checkout .button.checkout-button:hover, .widget_shopping_cart p.buttons a:hover { background-color: ; } button:hover,button:active, button:focus, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, input[type="button"]:active, input[type="button"]:focus, input[type="reset"]:active, input[type="reset"]:focus, input[type="submit"]:active, input[type="submit"]:focus, .navigation.pagination .nav-links span.current, .page-links .current, .navigation.pagination .nav-links a, .page-links a, .nav-links .meta-nav, .widget .widget-title h3, .cat-links a, footer.entry-footer .read-more, header.page-header, #toTop, .wc-proceed-to-checkout .button.checkout-button { color: ; } input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus, select:focus, .navigation.pagination .nav-links span.current, .page-links .current, .navigation.pagination .nav-links a, .page-links a, .nav-links .meta-nav, .widget .widget-title h3, .cat-links a, footer.entry-footer .read-more, header.page-header, #toTop, .return-to-shop a, .wc-proceed-to-checkout .button.checkout-button, .widget_shopping_cart p.buttons a, .return-to-shop a:hover, .wc-proceed-to-checkout .button.checkout-button:hover, .widget_shopping_cart p.buttons a:hover { border-color: ; } .path { stroke: ; } hr, .main-navigation ul ul a, #wp-calendar th, .wp-caption .wp-caption-text, #payment .payment_methods li .payment_box, .widget_price_filter .price_slider_wrapper .ui-widget-content { background-color: ; } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea, select, #wp-calendar tbody td, aside ul.menu .indicatorBar, .tagcloud a, .tags-links a, .edit-link a, #comments ol .pingback, #comments ol article, #comments .reply,{ border-color: ; } .main-site .comment-navigation, .main-site .posts-navigation, .main-site .post-navigation, .main-site .navigation.pagination, aside ul li, aside ul.menu li a, footer.entry-footer { border-bottom-color: ; } .star-rating:before { color: ; } footer.site-footer { background-color: ; } footer.site-footer { color: ; } footer.site-footer .widget .widget-title h3 { border-color: ; } footer.site-footer .widget .widget-title:before, footer.site-footer .widget .widget-title:after { background-color: ; } '; } add_action( 'wp_head', 'atracium_custom_css_styles' );