WordPress

CodeStar Typography Field Implementation

Too enqueue Google fonts ,write the code in your main functions.php – [php] if ( ! function_exists( ‘cs_wp_enqueue_scripts’ ) ) { function cs_wp_enqueue_scripts() { $enqueue_fonts = array(); $google_fonts = array(); $google_fonts[] = cs_get_option( ‘maintenance_main_typography_one’ ); $google_fonts[] = cs_get_option( ‘maintenance_main_typography_two’ ); if ( ! empty( $google_fonts ) ) { foreach ( $google_fonts as $font ) { …

CodeStar Typography Field Implementation Read More »