PATH:
home
/
lab2454c
/
fcxpro.com
/
wp-content
/
plugins
/
webon-core
/
inc
/
typography
<?php if ( ! function_exists( 'webon_core_set_general_typography_styles' ) ) { /** * Function that generates module inline styles * * @param string $style * * @return string */ function webon_core_set_general_typography_styles( $style ) { $scope = WEBON_CORE_OPTIONS_NAME; $p_styles = webon_core_get_typography_styles( $scope, 'qodef_p' ); $h1_styles = webon_core_get_typography_styles( $scope, 'qodef_h1' ); $h2_styles = webon_core_get_typography_styles( $scope, 'qodef_h2' ); $h3_styles = webon_core_get_typography_styles( $scope, 'qodef_h3' ); $h4_styles = webon_core_get_typography_styles( $scope, 'qodef_h4' ); $h5_styles = webon_core_get_typography_styles( $scope, 'qodef_h5' ); $h6_styles = webon_core_get_typography_styles( $scope, 'qodef_h6' ); $link_styles = webon_core_get_typography_styles( $scope, 'qodef_link' ); $link_hover_styles = webon_core_get_typography_hover_styles( $scope, 'qodef_link' ); if ( ! empty( $p_styles ) ) { $style .= qode_framework_dynamic_style( 'p', $p_styles ); } if ( ! empty( $h1_styles ) ) { $style .= qode_framework_dynamic_style( 'h1', $h1_styles ); } if ( ! empty( $h2_styles ) ) { $style .= qode_framework_dynamic_style( 'h2', $h2_styles ); } if ( ! empty( $h3_styles ) ) { $style .= qode_framework_dynamic_style( 'h3', $h3_styles ); } if ( ! empty( $h4_styles ) ) { $style .= qode_framework_dynamic_style( 'h4', $h4_styles ); } if ( ! empty( $h5_styles ) ) { $style .= qode_framework_dynamic_style( 'h5', $h5_styles ); } if ( ! empty( $h6_styles ) ) { $style .= qode_framework_dynamic_style( 'h6', $h6_styles ); } if ( ! empty( $link_styles ) ) { $style .= qode_framework_dynamic_style( array('a', 'p a'), $link_styles ); } if ( ! empty( $link_hover_styles ) ) { $style .= qode_framework_dynamic_style( array('a:hover', 'p a:hover'), $link_hover_styles ); } return $style; } add_filter( 'webon_filter_add_inline_style', 'webon_core_set_general_typography_styles' ); } if ( ! function_exists( 'webon_core_set_general_typography_responsive_1024_styles' ) ) { /** * Function that generates module inline styles * * @param string $style * * @return string */ function webon_core_set_general_typography_responsive_1024_styles( $style ) { $scope = WEBON_CORE_OPTIONS_NAME; $p_styles = webon_core_get_typography_styles( $scope, 'qodef_p_responsive_1024' ); $h1_styles = webon_core_get_typography_styles( $scope, 'qodef_h1_responsive_1024' ); $h2_styles = webon_core_get_typography_styles( $scope, 'qodef_h2_responsive_1024' ); $h3_styles = webon_core_get_typography_styles( $scope, 'qodef_h3_responsive_1024' ); $h4_styles = webon_core_get_typography_styles( $scope, 'qodef_h4_responsive_1024' ); $h5_styles = webon_core_get_typography_styles( $scope, 'qodef_h5_responsive_1024' ); $h6_styles = webon_core_get_typography_styles( $scope, 'qodef_h6_responsive_1024' ); if ( ! empty( $p_styles ) ) { $style .= qode_framework_dynamic_style( 'p', $p_styles ); } if ( ! empty( $h1_styles ) ) { $style .= qode_framework_dynamic_style( 'h1', $h1_styles ); } if ( ! empty( $h2_styles ) ) { $style .= qode_framework_dynamic_style( 'h2', $h2_styles ); } if ( ! empty( $h3_styles ) ) { $style .= qode_framework_dynamic_style( 'h3', $h3_styles ); } if ( ! empty( $h4_styles ) ) { $style .= qode_framework_dynamic_style( 'h4', $h4_styles ); } if ( ! empty( $h5_styles ) ) { $style .= qode_framework_dynamic_style( 'h5', $h5_styles ); } if ( ! empty( $h6_styles ) ) { $style .= qode_framework_dynamic_style( 'h6', $h6_styles ); } return $style; } add_filter( 'webon_core_filter_add_responsive_1024_inline_style', 'webon_core_set_general_typography_responsive_1024_styles' ); } if ( ! function_exists( 'webon_core_set_general_typography_responsive_768_styles' ) ) { /** * Function that generates module inline styles * * @param string $style * * @return string */ function webon_core_set_general_typography_responsive_768_styles( $style ) { $scope = WEBON_CORE_OPTIONS_NAME; $p_styles = webon_core_get_typography_styles( $scope, 'qodef_p_responsive_768' ); $h1_styles = webon_core_get_typography_styles( $scope, 'qodef_h1_responsive_768' ); $h2_styles = webon_core_get_typography_styles( $scope, 'qodef_h2_responsive_768' ); $h3_styles = webon_core_get_typography_styles( $scope, 'qodef_h3_responsive_768' ); $h4_styles = webon_core_get_typography_styles( $scope, 'qodef_h4_responsive_768' ); $h5_styles = webon_core_get_typography_styles( $scope, 'qodef_h5_responsive_768' ); $h6_styles = webon_core_get_typography_styles( $scope, 'qodef_h6_responsive_768' ); if ( ! empty( $p_styles ) ) { $style .= qode_framework_dynamic_style( 'p', $p_styles ); } if ( ! empty( $h1_styles ) ) { $style .= qode_framework_dynamic_style( 'h1', $h1_styles ); } if ( ! empty( $h2_styles ) ) { $style .= qode_framework_dynamic_style( 'h2', $h2_styles ); } if ( ! empty( $h3_styles ) ) { $style .= qode_framework_dynamic_style( 'h3', $h3_styles ); } if ( ! empty( $h4_styles ) ) { $style .= qode_framework_dynamic_style( 'h4', $h4_styles ); } if ( ! empty( $h5_styles ) ) { $style .= qode_framework_dynamic_style( 'h5', $h5_styles ); } if ( ! empty( $h6_styles ) ) { $style .= qode_framework_dynamic_style( 'h6', $h6_styles ); } return $style; } add_filter( 'webon_core_filter_add_responsive_768_inline_style', 'webon_core_set_general_typography_responsive_768_styles' ); } if ( ! function_exists( 'webon_core_set_general_typography_responsive_680_styles' ) ) { /** * Function that generates module inline styles * * @param string $style * * @return string */ function webon_core_set_general_typography_responsive_680_styles( $style ) { $scope = WEBON_CORE_OPTIONS_NAME; $p_styles = webon_core_get_typography_styles( $scope, 'qodef_p_responsive_680' ); $h1_styles = webon_core_get_typography_styles( $scope, 'qodef_h1_responsive_680' ); $h2_styles = webon_core_get_typography_styles( $scope, 'qodef_h2_responsive_680' ); $h3_styles = webon_core_get_typography_styles( $scope, 'qodef_h3_responsive_680' ); $h4_styles = webon_core_get_typography_styles( $scope, 'qodef_h4_responsive_680' ); $h5_styles = webon_core_get_typography_styles( $scope, 'qodef_h5_responsive_680' ); $h6_styles = webon_core_get_typography_styles( $scope, 'qodef_h6_responsive_680' ); if ( ! empty( $p_styles ) ) { $style .= qode_framework_dynamic_style( 'p', $p_styles ); } if ( ! empty( $h1_styles ) ) { $style .= qode_framework_dynamic_style( 'h1', $h1_styles ); } if ( ! empty( $h2_styles ) ) { $style .= qode_framework_dynamic_style( 'h2', $h2_styles ); } if ( ! empty( $h3_styles ) ) { $style .= qode_framework_dynamic_style( 'h3', $h3_styles ); } if ( ! empty( $h4_styles ) ) { $style .= qode_framework_dynamic_style( 'h4', $h4_styles ); } if ( ! empty( $h5_styles ) ) { $style .= qode_framework_dynamic_style( 'h5', $h5_styles ); } if ( ! empty( $h6_styles ) ) { $style .= qode_framework_dynamic_style( 'h6', $h6_styles ); } return $style; } add_filter( 'webon_core_filter_add_responsive_680_inline_style', 'webon_core_set_general_typography_responsive_680_styles' ); }
[+]
..
[-] include.php
[edit]
[-] helper.php
[edit]
[+]
dashboard