It looks like nothing was found at this location. Maybe try one of the links below or a search?
e same font twice $fonts_array[] = $headings_font; } //Build the fonts URL if ( $fonts ) { $fonts_url = add_query_arg( array( 'family' => urlencode( implode( '|', $fonts_array ) ), 'subset' => urlencode( $subsets ), 'display' => 'swap' ), 'https://fonts.googleapis.com/css' ); } return $fonts_url; } endif; /** * Migrate old font family options */ function sydney_migrate_fonts() { $is_migrated = get_theme_mod( 'fonts_migrated_flag' ); //Return if we already migrated the fonts to the new theme_mods if ( $is_migrated ) { return; } //Get old font options $body_font = get_theme_mod( 'body_font_family' ); $headings_font = get_theme_mod( 'headings_font_family' ); //Process body font if ( $body_font ) { $old_body_font = trim( str_replace( array(',', 'sans-serif', 'serif', 'cursive', '\''), ' ', get_theme_mod( 'body_font_family' ) ) ); set_theme_mod( 'body_font', $old_body_font ); set_theme_mod( 'fonts_migrated_flag', true ); } //Process headings font if ( $headings_font ) { $old_headings_font = trim( str_replace( array(',', 'sans-serif', 'serif', 'cursive', '\''), ' ', get_theme_mod( 'headings_font_family' ) ) ); set_theme_mod( 'headings_font', $old_headings_font ); set_theme_mod( 'fonts_migrated_flag', true ); } } add_action( 'after_setup_theme', 'sydney_migrate_fonts' );
It looks like nothing was found at this location. Maybe try one of the links below or a search?