'modelos', 'meta_key' => 'marca', 'posts_per_page' => '1')); $marcaAuto = get_field('marca')[0]; $marcaAuto = $marcaAuto == "Kia" ? strtoupper($marcaAuto) : $marcaAuto; wp_reset_query(); return $marcaAuto; } function get_MarcaAutoFromBlog($blog_id) { if ($blog_id == 2) { $marcaAuto = "Mitsubishi"; } elseif ($blog_id == 3) { $marcaAuto = "Jeep"; } elseif ($blog_id == 4) { $marcaAuto = "KIA"; } elseif ($blog_id == 5) { $marcaAuto = "Fuso"; } return $marcaAuto; } function get_BannerToHeader($blog_id) { $theme_url = get_template_directory_uri(); if ($blog_id == 1) { $banner = $theme_url.'/images/banner_config_univex.jpg'; } if ($blog_id == 2) { $banner = $theme_url.'/images/banner_config_mitsubishi.png'; } elseif ($blog_id == 3) { $banner = $theme_url.'/images/banner_config_jeep.png'; } elseif ($blog_id == 4) { $banner = $theme_url.'/images/banner_config_kia.png'; } elseif ($blog_id == 5) { $banner = $theme_url.'/images/banner_config_fuso.jpg'; } return $banner; } function get_BannerToFooter($blog_id) { $theme_url = get_template_directory_uri(); if ($blog_id == 2) { $banner = $theme_url.'/images/banner_testdrive_mitsubishi.png'; } elseif ($blog_id == 3) { $banner = $theme_url.'/images/banner_testdrive_jeep.png'; } elseif ($blog_id == 4) { $banner = $theme_url.'/images/banner_testdrive_kia.png'; } elseif ($blog_id == 5) { $banner = $theme_url.'/images/banner_testdrive_fuso.jpg'; } return $banner; } ?> ceed-5portas-kia-univex-lisboa-cascais-venda-assistência-peças : Kia
Desde