Dokumentation

Informationen und Hilfe zur Bearbeitung der Webseite:

«Ponsonby» allgemein

Farben

  • Linkfarbe: #c2002a
     
  • Blau: #008bcd
     
  • Gelb: #f1cb0a
     

Themaktualisierungen

header.php in Zeile 18 Link zu: Apple Touch Icon / Font awesome

  <link rel="apple-touch-icon" href="https://zahnarzt-samara.de/wp-content/images/apple-touch-icon-precomposed.png"/>
         <link href="../wp-content/font/css/fontawesome-all.min.css" rel="stylesheet">

functions.php in Zeile 162 Link zu: Google Fonts off schalten und auf eigenen Server verlinken

/*-----------------------------------------------------------------------------------*/
/*  Returns the Google font stylesheet URL if available.
/*-----------------------------------------------------------------------------------*/
function ponsonby_font_url() {
	$fonts_url = '';

	/* Translators: If there are characters in your language that are not
	 * supported by the used fonts translate this to 'off'. Do not translate
	 * into your own language.
	 */
	$open_sans = _x( 'off', 'Open Sans: on or off', 'ponsonby' );

	$pt_serif = _x( 'off', 'PT Serif: on or off', 'ponsonby' );

	if ( 'off' !== $open_sans || 'off' !== $montserrat || 'off' !== $pt_serif ) {
		$font_families = array();

		if ( 'off' !== $open_sans )
			$font_families[] = 'Open Sans:400italic,700italic,400,700';

		if ( 'off' !== $pt_serif )
			$font_families[] = 'PT Serif:400,700,400italic,700italic';

		$query_args = array(
			'family' => urlencode( implode( '|', $font_families ) ),
			'subset' => urlencode( 'latin,latin-ext' ),
		);
		$fonts_url = add_query_arg( $query_args, "https://www.zahnarzt-samara.de/wp-content/fonts/styles.css" );
	}

	return $fonts_url;
}

/*-----------------------------------------------------------------------------------*/