//fixes preview function for the case of using separate domains for the language negotion global $sitepress, $sitepress_settings; if(isset($_GET['preview']) && $sitepress_settings['language_negotiation_type'] == 2 && $sitepress->get_current_language() != $sitepress->get_default_language()){ $post_id = $_GET['p']; $lang = $sitepress->get_current_language(); $default_home = get_option('home'); $_GET['lang'] = $lang; $redir = $default_home . '?' . http_build_query($_GET); wp_redirect($redir); exit; } if(isset($_GET['preview']) && $sitepress_settings['language_negotiation_type'] == 2){ add_filter('icl_current_language', 'icl_current_language_preview_hack_filter'); function icl_current_language_preview_hack_filter($lang){ if(isset($_GET['lang'])){ $lang = esc_html($_GET['lang']); } return $lang; } } ?> if(defined('WP_ADMIN')) return; add_action('template_redirect', 'icl_language_canonical_redirects', 1); function icl_language_canonical_redirects () { global $wp_query, $sitepress_settings; if(3 == $sitepress_settings['language_negotiation_type'] && is_singular() && empty($wp_query->posts)){ global $wpdb; $pid = get_query_var('p'); $permalink = html_entity_decode(get_permalink($pid)); if($permalink){ wp_redirect($permalink, 301); exit; } } } ?> Contatto | Dr. med. Frank - Neurochirurgie München

Contatto

Priv.-Doz. Dr. med. Andreas Frank
Neurochirurgische Praxis
Promenadeplatz 10
80333 München
vCard QR-Code: Si prega di cliccare qui

Come raggiungerci

Tel. +49 (0) 89 54 32 49 16
Fax +49 (0) 89 54 32 49 17
Mobil +49 (0) 1 77 206 36 86

E-Mail: drfrank@neurochirurgie-drfrank.de

Orario di visita:
Lu., Ma., Gio.: 09.00 – 18.00
Me. e Ven.: 09.00 – 13.00
Ulteriori appuntamenti per telefono
E-Mail: info@neurochirurgie-drfrank.de

contatto

Ihr Name/your name *

Ihre E-Mail-Adresse/your e-mail address *

Betreff/subject

Ihre Nachricht/your message

* richiesto

 

Seite drucken


Comments are closed.