comment_type ) : case 'pingback': case 'trackback': ?>
  • id="li-comment-">
    comment_approved ) : _e( 'Your comment is awaiting moderation.', 'illdy' ); endif; ?>
    $depth, 'max_depth' => $args['max_depth'], ) ) ); ?>
    get_col( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE guid=%s;", $image_url ) ); if ( $attachment ) { return $attachment[0]; } } } /** * Sections order */ if ( ! function_exists( 'illdy_sections_order' ) ) { function illdy_sections_order( $section ) { $controls = array( 'illdy_panel_about' => 'illdy_about_general_show', 'illdy_panel_projects' => 'illdy_projects_general_show', 'illdy_testimonials_general' => 'illdy_testimonials_general_show', 'illdy_panel_services' => 'illdy_services_general_show', 'illdy_latest_news_general' => 'illdy_latest_news_general_show', 'illdy_counter_general' => 'illdy_counter_general_show', 'illdy_panel_team' => 'illdy_team_general_show', 'illdy_contact_us' => 'illdy_contact_us_show', 'illdy_full_width' => 'illdy_full_width_general_show', ); if ( array_key_exists( $section, $controls ) ) { return get_theme_mod( $controls[ $section ], 1 ); } else { return true; } } } if ( ! function_exists( 'illdy_sections' ) ) { function illdy_sections() { $templates = array( 'illdy_panel_about' => 'about', 'illdy_panel_projects' => 'projects', 'illdy_testimonials_general' => 'testimonials-widget', 'illdy_panel_services' => 'services', 'illdy_latest_news_general' => 'latest-news', 'illdy_counter_general' => 'counter', 'illdy_panel_team' => 'team', 'illdy_contact_us' => 'contact-us', 'illdy_full_width' => 'full-width', ); $sections = illdy_get_sections_position(); foreach ( $sections as $s_id ) { if ( illdy_sections_order( $s_id ) ) { get_template_part( 'sections/front-page', $templates[ $s_id ] ); } } } } function illdy_hex2rgb( $hex_color, $opacity = 1 ) { $shorthand = ( strlen( $hex_color ) == 4 ); list( $r, $g, $b ) = $shorthand ? sscanf( $hex_color, '#%1s%1s%1s' ) : sscanf( $hex_color, '#%2s%2s%2s' ); return 'rgba( ' . hexdec( $shorthand ? "$r$r" : $r ) . ', ' . hexdec( $shorthand ? "$g$g" : $g ) . ', ' . hexdec( $shorthand ? "$b$b" : $b ) . ', ' . $opacity . ' )'; } if ( ! function_exists( 'illdy_jumbotron_css' ) ) { function illdy_jumbotron_css() { $illdy_jumbotron_general_image = get_theme_mod( 'illdy_jumbotron_general_image', esc_url( get_template_directory_uri() . '/layout/images/front-page/front-page-header.jpg' ) ); $illdy_jumbotron_background_size = get_theme_mod( 'illdy_jumbotron_background_size' ); $illdy_jumbotron_background_position_y = get_theme_mod( 'illdy_jumbotron_background_position_y' ); $illdy_jumbotron_background_position_x = get_theme_mod( 'illdy_jumbotron_background_position_x' ); $illdy_jumbotron_background_repeat = get_theme_mod( 'illdy_jumbotron_background_repeat' ); $illdy_jumbotron_background_attachment = get_theme_mod( 'illdy_jumbotron_background_attachment', 1 ); $illdy_jumbotron_general_color = get_theme_mod( 'illdy_jumbotron_general_color' ); $illdy_jumbotron_first_border_color = get_theme_mod( 'illdy_jumbotron_first_button_background' ); $illdy_jumbotron_first_button_background = illdy_hex2rgb( $illdy_jumbotron_first_border_color, '.2' ); $illdy_jumbotron_first_button_background_hover = illdy_hex2rgb( $illdy_jumbotron_first_border_color, '.1' ); $illdy_jumbotron_second_button_background = get_theme_mod( 'illdy_jumbotron_second_button_background' ); $illdy_jumbotron_second_button_background_hover = get_theme_mod( 'illdy_jumbotron_second_button_background_hover' ); $illdy_jumbotron_title_color = get_theme_mod( 'illdy_jumbotron_title_color' ); $illdy_jumbotron_points_color = get_theme_mod( 'illdy_jumbotron_points_color' ); $illdy_jumbotron_descriptions_color = get_theme_mod( 'illdy_jumbotron_descriptions_color' ); $illdy_jumbotron_first_button_color = get_theme_mod( 'illdy_jumbotron_first_button_color' ); $illdy_jumbotron_right_button_color = get_theme_mod( 'illdy_jumbotron_right_button_color' ); $css = ''; if ( $illdy_jumbotron_general_image ) { $css .= '#header.header-front-page {background-image: url(' . esc_url( $illdy_jumbotron_general_image ) . ') !important;}'; } else { $css .= '#header.header-front-page {background-image: none !important;}'; } if ( $illdy_jumbotron_background_position_y ) { $css .= '#header.header-front-page {background-position-y: ' . esc_attr( $illdy_jumbotron_background_position_y ) . ';}'; } if ( $illdy_jumbotron_background_position_x ) { $css .= '#header.header-front-page {background-position-x: ' . esc_attr( $illdy_jumbotron_background_position_x ) . ';}'; } if ( $illdy_jumbotron_background_size ) { $css .= '#header.header-front-page {background-size: ' . esc_attr( $illdy_jumbotron_background_size ) . ' !important;}'; } if ( $illdy_jumbotron_background_repeat ) { $css .= '#header.header-front-page {background-repeat: repeat !important;}'; } if ( ! $illdy_jumbotron_background_attachment ) { $css .= '#header.header-front-page {background-attachment: scroll !important;}'; } if ( $illdy_jumbotron_general_color ) { $css .= '#header.header-front-page {background-color: ' . esc_attr( $illdy_jumbotron_general_color ) . ';}'; } if ( $illdy_jumbotron_first_button_background ) { $css .= '#header.header-front-page .bottom-header .header-button-one {background-color: ' . esc_attr( $illdy_jumbotron_first_button_background ) . ';}'; } if ( $illdy_jumbotron_first_button_background_hover ) { $css .= '#header.header-front-page .bottom-header .header-button-one:hover, #header.header-front-page .bottom-header .header-button-one:focus {background-color: ' . esc_attr( $illdy_jumbotron_first_button_background_hover ) . ';}'; } if ( $illdy_jumbotron_first_border_color ) { $css .= '#header.header-front-page .bottom-header .header-button-one {border-color: ' . esc_attr( $illdy_jumbotron_first_border_color ) . ';}'; } if ( $illdy_jumbotron_second_button_background ) { $css .= '#header.header-front-page .bottom-header .header-button-two {background-color: ' . esc_attr( $illdy_jumbotron_second_button_background ) . ';}'; } if ( $illdy_jumbotron_second_button_background_hover ) { $css .= '#header.header-front-page .bottom-header .header-button-two:hover, #header.header-front-page .bottom-header .header-button-two:focus {background-color: ' . esc_attr( $illdy_jumbotron_second_button_background_hover ) . ';}'; } if ( $illdy_jumbotron_title_color ) { $css .= '#header.header-front-page .bottom-header h1 {color: ' . esc_attr( $illdy_jumbotron_title_color ) . ';}'; } if ( $illdy_jumbotron_points_color ) { $css .= '#header.header-front-page .bottom-header span.span-dot {color: ' . esc_attr( $illdy_jumbotron_points_color ) . ';}'; } if ( $illdy_jumbotron_descriptions_color ) { $css .= '#header.header-front-page .bottom-header .section-description {color: ' . esc_attr( $illdy_jumbotron_descriptions_color ) . ';}'; } if ( $illdy_jumbotron_first_button_color ) { $css .= '#header.header-front-page .bottom-header .header-button-one {color: ' . esc_attr( $illdy_jumbotron_first_button_color ) . ';}'; } if ( $illdy_jumbotron_right_button_color ) { $css .= '#header.header-front-page .bottom-header .header-button-two {color: ' . esc_attr( $illdy_jumbotron_right_button_color ) . ';}'; } return $css; } } // End if(). if ( ! function_exists( 'illdy_latestnews_css' ) ) { function illdy_latestnews_css() { $illdy_latest_news_title_color = get_theme_mod( 'illdy_latest_news_title_color' ); $illdy_latest_news_descriptions_color = get_theme_mod( 'illdy_latest_news_descriptions_color' ); $illdy_latest_news_general_color = get_theme_mod( 'illdy_latest_news_general_color' ); $illdy_latest_news_button_background = get_theme_mod( 'illdy_latest_news_button_background' ); $illdy_latest_news_button_background_hover = get_theme_mod( 'illdy_latest_news_button_background_hover' ); $illdy_latest_news_button_color = get_theme_mod( 'illdy_latest_news_button_color' ); $illdy_latest_news_post_bakground_color = get_theme_mod( 'illdy_latest_news_post_bakground_color' ); $illdy_latest_news_post_text_color = get_theme_mod( 'illdy_latest_news_post_text_color' ); $illdy_latest_news_post_text_hover_color = get_theme_mod( 'illdy_latest_news_post_text_hover_color' ); $illdy_latest_news_post_content_color = get_theme_mod( 'illdy_latest_news_post_content_color' ); $illdy_latest_news_post_button_color = get_theme_mod( 'illdy_latest_news_post_button_color' ); $illdy_latest_news_post_button_hover_color = get_theme_mod( 'illdy_latest_news_post_button_hover_color' ); $illdy_latest_news_general_image = get_theme_mod( 'illdy_latest_news_general_image' ); $illdy_latest_news_background_size = get_theme_mod( 'illdy_latest_news_background_size' ); $illdy_latest_news_background_repeat = get_theme_mod( 'illdy_latest_news_background_repeat' ); $illdy_latest_news_background_attachment = get_theme_mod( 'illdy_latest_news_background_attachment', 1 ); $illdy_latest_news_background_position_y = get_theme_mod( 'illdy_latest_news_background_position_y' ); $illdy_latest_news_background_position_x = get_theme_mod( 'illdy_latest_news_background_position_x' ); $css = ''; if ( $illdy_latest_news_general_image ) { $css .= '#latest-news {background-image: url(' . esc_url( $illdy_latest_news_general_image ) . ') !important;}'; } if ( $illdy_latest_news_background_position_y ) { $css .= '#latest-news {background-position-y: ' . esc_attr( $illdy_latest_news_background_position_y ) . ';}'; } if ( $illdy_latest_news_background_position_x ) { $css .= '#latest-news {background-position-x: ' . esc_attr( $illdy_latest_news_background_position_x ) . ';}'; } if ( $illdy_latest_news_background_size ) { $css .= '#latest-news {background-size: ' . esc_attr( $illdy_latest_news_background_size ) . ' !important;}'; } if ( $illdy_latest_news_background_repeat ) { $css .= '#latest-news {background-repeat: repeat !important;}'; } if ( ! $illdy_latest_news_background_attachment ) { $css .= '#latest-news {background-attachment: scroll !important;}'; } if ( $illdy_latest_news_general_color ) { $css .= '#latest-news {background-color: ' . esc_attr( $illdy_latest_news_general_color ) . ';}'; } if ( $illdy_latest_news_button_background ) { $css .= '#latest-news .latest-news-button {background-color: ' . esc_attr( $illdy_latest_news_button_background ) . ';}'; } if ( $illdy_latest_news_button_background_hover ) { $css .= '#latest-news .latest-news-button:hover, #latest-news .latest-news-button:focus {background-color: ' . esc_attr( $illdy_latest_news_button_background_hover ) . ';}'; } if ( $illdy_latest_news_button_color ) { $css .= '#latest-news .latest-news-button {color: ' . esc_attr( $illdy_latest_news_button_color ) . ';}'; } if ( $illdy_latest_news_post_bakground_color ) { $css .= '#latest-news .section-content .post {background-color: ' . esc_attr( $illdy_latest_news_post_bakground_color ) . ';}'; } if ( $illdy_latest_news_post_text_color ) { $css .= '#latest-news .section-content .post .post-title {color: ' . esc_attr( $illdy_latest_news_post_text_color ) . ';}'; } if ( $illdy_latest_news_post_text_hover_color ) { $css .= '#latest-news .section-content .post .post-title:hover, #latest-news .section-content .post .post-title:focus {color: ' . esc_attr( $illdy_latest_news_post_text_hover_color ) . ';}'; } if ( $illdy_latest_news_post_content_color ) { $css .= '#latest-news .section-content .post .post-entry {color: ' . esc_attr( $illdy_latest_news_post_content_color ) . ';}'; } if ( $illdy_latest_news_post_button_color ) { $css .= '#latest-news .section-content .post .post-button {color: ' . esc_attr( $illdy_latest_news_post_button_color ) . ';}'; } if ( $illdy_latest_news_post_button_hover_color ) { $css .= '#latest-news .section-content .post .post-button:hover, #latest-news .section-content .post .post-button:focus {color: ' . esc_attr( $illdy_latest_news_post_button_hover_color ) . ';}'; } if ( $illdy_latest_news_title_color ) { $css .= '#latest-news .section-header h3 {color: ' . esc_attr( $illdy_latest_news_title_color ) . ';}'; } if ( $illdy_latest_news_descriptions_color ) { $css .= '#latest-news .section-header .section-description {color: ' . esc_attr( $illdy_latest_news_descriptions_color ) . ';}'; } return $css; } } // End if(). if ( ! function_exists( 'illdy_fullwidth_css' ) ) { function illdy_fullwidth_css() { $illdy_full_width_title_color = get_theme_mod( 'illdy_full_width_title_color' ); $illdy_full_width_descriptions_color = get_theme_mod( 'illdy_full_width_descriptions_color' ); $illdy_full_width_full_text = get_theme_mod( 'illdy_full_width_full_text' ); $illdy_full_width_general_color = get_theme_mod( 'illdy_full_width_general_color', '' ); $illdy_full_width_general_image = get_theme_mod( 'illdy_full_width_general_image' ); $illdy_full_width_background_size = get_theme_mod( 'illdy_full_width_background_size' ); $illdy_full_width_background_repeat = get_theme_mod( 'illdy_full_width_background_repeat' ); $illdy_full_width_background_attachment = get_theme_mod( 'illdy_full_width_background_attachment', 1 ); $illdy_full_width_background_position_y = get_theme_mod( 'illdy_full_width_background_position_y' ); $illdy_full_width_background_position_x = get_theme_mod( 'illdy_full_width_background_position_x' ); $css = ''; if ( $illdy_full_width_general_image ) { $css .= '#full-width:before {background-image: url(' . esc_url( $illdy_full_width_general_image ) . ') !important;}'; } if ( $illdy_full_width_background_position_y ) { $css .= '#full-width:before {background-position-y: ' . esc_attr( $illdy_full_width_background_position_y ) . ';}'; } if ( $illdy_full_width_background_position_x ) { $css .= '#full-width:before {background-position-x: ' . esc_attr( $illdy_full_width_background_position_x ) . ';}'; } if ( $illdy_full_width_background_size ) { $css .= '#full-width:before {background-size: ' . esc_attr( $illdy_full_width_background_size ) . ' !important;}'; } if ( $illdy_full_width_background_repeat ) { $css .= '#full-width:before {background-repeat: repeat !important;}'; } if ( ! $illdy_full_width_background_attachment ) { $css .= '#full-width:before {background-attachment: scroll !important;}'; } if ( $illdy_full_width_general_color ) { $css .= '#full-width:before {background-color: ' . esc_attr( $illdy_full_width_general_color ) . ';}'; } if ( $illdy_full_width_title_color ) { $css .= '#full-width .section-header h3 {color: ' . esc_attr( $illdy_full_width_title_color ) . ';}'; } if ( $illdy_full_width_descriptions_color ) { $css .= '#full-width .section-header .section-description {color: ' . esc_attr( $illdy_full_width_descriptions_color ) . ';}'; } if ( $illdy_full_width_descriptions_color ) { $css .= '#full-width .top-parallax-section h1, #full-width .top-parallax-section p {color: ' . esc_attr( $illdy_full_width_full_text ) . ';}'; } return $css; } } // End if(). if ( ! function_exists( 'illdy_about_css' ) ) { function illdy_about_css() { $illdy_about_title_color = get_theme_mod( 'illdy_about_title_color' ); $illdy_about_descriptions_color = get_theme_mod( 'illdy_about_descriptions_color' ); $illdy_about_general_color = get_theme_mod( 'illdy_about_general_color' ); $illdy_about_general_image = get_theme_mod( 'illdy_about_general_image' ); $illdy_about_background_size = get_theme_mod( 'illdy_about_background_size' ); $illdy_about_background_repeat = get_theme_mod( 'illdy_about_background_repeat' ); $illdy_about_background_attachment = get_theme_mod( 'illdy_about_background_attachment', 1 ); $illdy_about_background_position_y = get_theme_mod( 'illdy_about_background_position_y' ); $illdy_about_background_position_x = get_theme_mod( 'illdy_about_background_position_x' ); $css = ''; if ( $illdy_about_general_image ) { $css .= '#about:before {background-image: url(' . esc_url( $illdy_about_general_image ) . ') !important;}'; } if ( $illdy_about_background_position_y ) { $css .= '#about:before {background-position-y: ' . esc_attr( $illdy_about_background_position_y ) . ';}'; } if ( $illdy_about_background_position_x ) { $css .= '#about:before {background-position-x: ' . esc_attr( $illdy_about_background_position_x ) . ';}'; } if ( $illdy_about_background_size ) { $css .= '#about:before {background-size: ' . esc_attr( $illdy_about_background_size ) . ' !important;}'; } if ( $illdy_about_background_repeat ) { $css .= '#about:before {background-repeat: repeat !important;}'; } if ( ! $illdy_about_background_attachment ) { $css .= '#about:before {background-attachment: scroll !important;}'; } if ( $illdy_about_general_color ) { $css .= '#about:before {background-color: ' . esc_attr( $illdy_about_general_color ) . ';}'; } if ( $illdy_about_title_color ) { $css .= '#about .section-header h3 {color: ' . esc_attr( $illdy_about_title_color ) . ';}'; } if ( $illdy_about_descriptions_color ) { $css .= '#about .section-header .section-description {color: ' . esc_attr( $illdy_about_descriptions_color ) . ';}'; } return $css; } } // End if(). if ( ! function_exists( 'illdy_projects_css' ) ) { function illdy_projects_css() { $illdy_projects_title_color = get_theme_mod( 'illdy_projects_title_color' ); $illdy_projects_descriptions_color = get_theme_mod( 'illdy_projects_descriptions_color' ); $illdy_projects_general_color = get_theme_mod( 'illdy_projects_general_color' ); $illdy_projects_general_image = get_theme_mod( 'illdy_projects_general_image', get_template_directory_uri() . '/layout/images/front-page/pattern.png' ); $illdy_projects_background_size = get_theme_mod( 'illdy_projects_background_size', 'auto' ); $illdy_projects_background_repeat = get_theme_mod( 'illdy_projects_background_repeat', 1 ); $illdy_projects_background_attachment = get_theme_mod( 'illdy_projects_background_attachment', 1 ); $illdy_projects_background_position_y = get_theme_mod( 'illdy_projects_background_position_y' ); $illdy_projects_background_position_x = get_theme_mod( 'illdy_projects_background_position_x' ); $css = ''; if ( $illdy_projects_general_image ) { $css .= '#projects:before {background-image: url(' . esc_url( $illdy_projects_general_image ) . ') !important;}'; } if ( $illdy_projects_background_position_y ) { $css .= '#projects:before {background-position-y: ' . esc_attr( $illdy_projects_background_position_y ) . ';}'; } if ( $illdy_projects_background_position_x ) { $css .= '#projects:before {background-position-x: ' . esc_attr( $illdy_projects_background_position_x ) . ';}'; } if ( $illdy_projects_background_size ) { $css .= '#projects:before {background-size: ' . esc_attr( $illdy_projects_background_size ) . ' !important;}'; } if ( $illdy_projects_background_repeat ) { $css .= '#projects:before {background-repeat: repeat !important;}'; } if ( ! $illdy_projects_background_attachment ) { $css .= '#projects:before {background-attachment: scroll !important;}'; } if ( $illdy_projects_general_color ) { $css .= '#projects:before {background-color: ' . esc_attr( $illdy_projects_general_color ) . ';}'; } if ( $illdy_projects_title_color ) { $css .= '#projects .section-header h3 {color: ' . esc_attr( $illdy_projects_title_color ) . ';}'; } if ( $illdy_projects_descriptions_color ) { $css .= '#projects .section-header .section-description {color: ' . esc_attr( $illdy_projects_descriptions_color ) . ';}'; } return $css; } } // End if(). if ( ! function_exists( 'illdy_services_css' ) ) { function illdy_services_css() { $illdy_services_title_color = get_theme_mod( 'illdy_services_title_color' ); $illdy_services_descriptions_color = get_theme_mod( 'illdy_services_descriptions_color' ); $illdy_services_general_color = get_theme_mod( 'illdy_services_general_color' ); $illdy_services_general_image = get_theme_mod( 'illdy_services_general_image' ); $illdy_services_background_size = get_theme_mod( 'illdy_services_background_size' ); $illdy_services_background_repeat = get_theme_mod( 'illdy_services_background_repeat' ); $illdy_services_background_attachment = get_theme_mod( 'illdy_services_background_attachment', 1 ); $illdy_services_background_position_y = get_theme_mod( 'illdy_services_background_position_y' ); $illdy_services_background_position_x = get_theme_mod( 'illdy_services_background_position_x' ); $css = ''; if ( $illdy_services_general_image ) { $css .= '#services:before {background-image: url(' . esc_url( $illdy_services_general_image ) . ') !important;}'; } if ( $illdy_services_background_position_y ) { $css .= '#services:before {background-position-y: ' . esc_attr( $illdy_services_background_position_y ) . ';}'; } if ( $illdy_services_background_position_x ) { $css .= '#services:before {background-position-x: ' . esc_attr( $illdy_services_background_position_x ) . ';}'; } if ( $illdy_services_background_size ) { $css .= '#services:before {background-size: ' . esc_attr( $illdy_services_background_size ) . ' !important;}'; } if ( $illdy_services_background_repeat ) { $css .= '#services:before {background-repeat: repeat !important;}'; } if ( ! $illdy_services_background_attachment ) { $css .= '#services:before {background-attachment: scroll !important;}'; } if ( $illdy_services_general_color ) { $css .= '#services:before {background-color: ' . esc_attr( $illdy_services_general_color ) . ';}'; } if ( $illdy_services_title_color ) { $css .= '#services .section-header h3 {color: ' . esc_attr( $illdy_services_title_color ) . ';}'; } if ( $illdy_services_descriptions_color ) { $css .= '#services .section-header .section-description {color: ' . esc_attr( $illdy_services_descriptions_color ) . ';}'; } return $css; } } // End if(). if ( ! function_exists( 'illdy_team_css' ) ) { function illdy_team_css() { $illdy_team_title_color = get_theme_mod( 'illdy_team_title_color' ); $illdy_team_descriptions_color = get_theme_mod( 'illdy_team_descriptions_color' ); $illdy_team_general_color = get_theme_mod( 'illdy_team_general_color' ); $illdy_team_general_image = get_theme_mod( 'illdy_team_general_image', get_template_directory_uri() . '/layout/images/front-page/pattern.png' ); $illdy_team_background_size = get_theme_mod( 'illdy_team_background_size', 'auto' ); $illdy_team_background_repeat = get_theme_mod( 'illdy_team_background_repeat', 1 ); $illdy_team_background_attachment = get_theme_mod( 'illdy_team_background_attachment', 1 ); $illdy_team_background_position_y = get_theme_mod( 'illdy_team_background_position_y' ); $illdy_team_background_position_x = get_theme_mod( 'illdy_team_background_position_x' ); $css = ''; if ( $illdy_team_general_image ) { $css .= '#team:before {background-image: url(' . esc_url( $illdy_team_general_image ) . ') !important;}'; } if ( $illdy_team_background_position_y ) { $css .= '#team:before {background-position-y: ' . esc_attr( $illdy_team_background_position_y ) . ';}'; } if ( $illdy_team_background_position_x ) { $css .= '#team:before {background-position-x: ' . esc_attr( $illdy_team_background_position_x ) . ';}'; } if ( $illdy_team_background_size ) { $css .= '#team:before {background-size: ' . esc_attr( $illdy_team_background_size ) . ' !important;}'; } if ( $illdy_team_background_repeat ) { $css .= '#team:before {background-repeat: repeat !important;}'; } if ( ! $illdy_team_background_attachment ) { $css .= '#team:before {background-attachment: scroll !important;}'; } if ( $illdy_team_general_color ) { $css .= '#team:before {background-color: ' . esc_attr( $illdy_team_general_color ) . ';}'; } if ( $illdy_team_title_color ) { $css .= '#team .section-header h3 {color: ' . esc_attr( $illdy_team_title_color ) . ';}'; } if ( $illdy_team_descriptions_color ) { $css .= '#team .section-header .section-description {color: ' . esc_attr( $illdy_team_descriptions_color ) . ';}'; } return $css; } } // End if(). if ( ! function_exists( 'illdy_testimonials_css' ) ) { function illdy_testimonials_css() { $illdy_testimonials_title_color = get_theme_mod( 'illdy_testimonials_title_color' ); $illdy_testimonials_general_color = get_theme_mod( 'illdy_testimonials_general_color' ); $illdy_testimonials_general_background_image = get_theme_mod( 'illdy_testimonials_general_background_image', get_template_directory_uri() . '/layout/images/testiomnials-background.jpg' ); $illdy_testimonials_background_size = get_theme_mod( 'illdy_testimonials_background_size' ); $illdy_testimonials_background_repeat = get_theme_mod( 'illdy_testimonials_background_repeat' ); $illdy_testimonials_background_attachment = get_theme_mod( 'illdy_testimonials_background_attachment' ); $illdy_testimonials_author_text_color = get_theme_mod( 'illdy_testimonials_author_text_color' ); $illdy_testimonials_text_color = get_theme_mod( 'illdy_testimonials_text_color' ); $illdy_testimonials_container_background_color = get_theme_mod( 'illdy_testimonials_container_background_color' ); $illdy_testimonials_dots_color = get_theme_mod( 'illdy_testimonials_dots_color' ); $illdy_testimonials_background_position_y = get_theme_mod( 'illdy_testimonials_background_position_y' ); $illdy_testimonials_background_position_x = get_theme_mod( 'illdy_testimonials_background_position_x' ); $css = ''; if ( $illdy_testimonials_general_background_image ) { $css .= '#testimonials:before {background-image: url(' . esc_url( $illdy_testimonials_general_background_image ) . ') !important;}'; } if ( $illdy_testimonials_background_position_y ) { $css .= '#testimonials:before {background-position-y: ' . esc_attr( $illdy_testimonials_background_position_y ) . ';}'; } if ( $illdy_testimonials_background_position_x ) { $css .= '#testimonials:before {background-position-x: ' . esc_attr( $illdy_testimonials_background_position_x ) . ';}'; } if ( $illdy_testimonials_background_size ) { $css .= '#testimonials:before {background-size: ' . esc_attr( $illdy_testimonials_background_size ) . ' !important;}'; } if ( $illdy_testimonials_background_repeat ) { $css .= '#testimonials:before {background-repeat: repeat !important;}'; } if ( ! $illdy_testimonials_background_attachment ) { $css .= '#testimonials:before {background-attachment: scroll !important;}'; } if ( $illdy_testimonials_general_color ) { $css .= '#testimonials:before {background-color: ' . esc_attr( $illdy_testimonials_general_color ) . ';}'; } if ( $illdy_testimonials_title_color ) { $css .= '#testimonials .section-header h3 {color: ' . esc_attr( $illdy_testimonials_title_color ) . ';}'; } if ( $illdy_testimonials_author_text_color ) { $css .= '#testimonials .section-content .testimonials-carousel .carousel-testimonial .testimonial-meta {color: ' . esc_attr( $illdy_testimonials_author_text_color ) . ';}'; } if ( $illdy_testimonials_text_color ) { $css .= '#testimonials .section-content .testimonials-carousel .carousel-testimonial .testimonial-content blockquote {color: ' . esc_attr( $illdy_testimonials_text_color ) . ';}'; } if ( $illdy_testimonials_container_background_color ) { $css .= '#testimonials .section-content .testimonials-carousel .carousel-testimonial .testimonial-content {background-color: ' . esc_attr( $illdy_testimonials_container_background_color ) . ';}'; $css .= '#testimonials .section-content .testimonials-carousel .carousel-testimonial .testimonial-content:after {border-color: ' . esc_attr( $illdy_testimonials_container_background_color ) . ' transparent transparent transparent;}'; } if ( $illdy_testimonials_dots_color ) { $css .= '#testimonials .section-content .testimonials-carousel .owl-controls .owl-dots .owl-dot:hover, #testimonials .section-content .testimonials-carousel .owl-controls .owl-dots .owl-dot:focus, #testimonials .section-content .testimonials-carousel .owl-controls .owl-dots .owl-dot.active {border-color: ' . $illdy_testimonials_dots_color . ';}'; $css .= '#testimonials .section-content .testimonials-carousel .owl-controls .owl-dots .owl-dot {background-color: ' . esc_attr( $illdy_testimonials_dots_color ) . ';}'; } return $css; } } // End if(). if ( ! function_exists( 'illdy_output_sections_css' ) ) { function illdy_output_sections_css() { ?> '', 'posterUrl' => '', 'videoUrl' => $video_url, 'width' => 1920, 'height' => 1080, 'minWidth' => 900, 'minHeight' => 500, 'l10n' => array( 'pause' => __( 'Pause', 'illdy' ), 'play' => __( 'Play', 'illdy' ), 'pauseSpeak' => __( 'Video is paused.', 'illdy' ), 'playSpeak' => __( 'Video is playing.', 'illdy' ), ), ); if ( preg_match( '#^https?://(?:www\.)?(?:youtube\.com/watch|youtu\.be/)#', $video_url ) ) { $settings['mimeType'] = 'video/x-youtube'; } elseif ( ! empty( $video_type['type'] ) ) { $settings['mimeType'] = $video_type['type']; } return apply_filters( 'header_video_settings', $settings ); }