41
Beta Osclass Theme / Re: Second phone field does not appear
« Last post by kriskoyk on October 27, 2026, 10:15:22 AM »I have removed this field, along with the checkbox. I hope its removal doesn't cause any problems.
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title><?php echo meta_title(); ?></title>
<meta name="title" content="<?php echo osc_esc_html(meta_title()); ?>" />
<?php if( meta_description() != '' ) { ?><meta name="description" content="<?php echo osc_esc_html(meta_description()); ?>" /><?php } ?>
<?php if( osc_get_canonical() != '' ) { ?><link rel="canonical" href="<?php echo osc_get_canonical(); ?>"/><?php } ?>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Expires" content="Mon, 01 Jul 1970 00:00:00 GMT" />
<?php if( !osc_is_search_page() ) { ?>
<meta name="robots" content="index, follow" />
<meta name="googlebot" content="index, follow" />
<?php } ?>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /><meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<?php
$current_locale = osc_current_user_locale();
// Define a secondary dynamic title and description based on the language. The primary language is set via the ADMIN panel.
if ($current_locale == 'en_US') {
$custom_title = 'domain.com | xxxxxxx ';
$custom_desc = 'Find what you are looking for';
} else {
$custom_title = meta_title();
$custom_desc = meta_description();
}
?>
<title><?php echo $custom_title; ?></title>
<meta name="title" content="<?php echo osc_esc_html($custom_title); ?>" />
<?php if( !empty($custom_desc) ) { ?>
<meta name="description" content="<?php echo osc_esc_html($custom_desc); ?>" />
<?php } ?>
<?php if( osc_get_canonical() != '' ) { ?><link rel="canonical" href="<?php echo osc_get_canonical(); ?>"/><?php } ?>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Expires" content="Mon, 01 Jul 1970 00:00:00 GMT" />
<?php if( !osc_is_search_page() ) { ?>
<meta name="robots" content="index, follow" />
<meta name="googlebot" content="index, follow" />
<?php } ?>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> <?php if(osc_item_contact_phone() != '' && osc_item_show_phone()) { ?>
<p class="phone bld"><span><?php _e('Phone', 'sigma'); ?>:</span> <?php echo '<a href="tel:' . osc_item_contact_phone(true) . '">' . osc_item_contact_phone(false) . '</a>'; ?></p>
<?php } ?>