Home › Forums › Massage Center (Spa) Forum › Translate contact buttons
- This topic has 11 replies, 5 voices, and was last updated 8 years, 11 months ago by Sonl Sinha.
-
AuthorPosts
-
November 23, 2015 at 9:15 am #15054
Can’t find the place to translate the buttons “Read more” and “Get appointment” to local language
November 23, 2015 at 10:08 am #15058Replied via email.
Regards,
ShriDecember 6, 2015 at 6:12 pm #16023I have the same problem
December 7, 2015 at 8:30 am #16060@florina: kindly go to header.php and translate the button text.
Regards,
ShriJanuary 17, 2016 at 12:21 am #18889Hello I.m also the problem..im loooking in the header.php but there is nothing..
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id=”content”>
*
* @package SKT Spa
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
<meta name=”SKYPE_TOOLBAR” content=”SKYPE_TOOLBAR_PARSER_COMPATIBLE”>
<meta name=”viewport” content=”width=device-width”>
<link rel=”profile” href=”http://gmpg.org/xfn/11″>
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”>
<link rel=”icon” type=”image/x-icon” href=”<?php echo esc_url( of_get_option(‘favicon’, true) ); ?>” />
<!–[if lt IE 9]>
<script type=”text/javascript” src=”<?php echo get_template_directory_uri(); ?>/js/html5.js”></script>
<link rel=”stylesheet” href=”<?php echo get_template_directory_uri(); ?>/css/ie.css” type=”text/css” media=”all” />
<![endif]–>
<?php
wp_head();
$themename = wp_get_theme();
$themename = preg_replace(“/\W/”, “_”, strtolower($themename) );
if( !get_option( $themename ) ) {
require get_template_directory() . ‘/index-default.php’;
exit;
}
?>
</head><body <?php body_class(); ?>>
<div class=”topbararea”>
<div class=”topfirstbar”>
<?php if(!dynamic_sidebar(‘headerleft’)) : ?>
<div class=”topbarleft”>
<?php if( of_get_option(’email’,true) != ” ) { ?>
“><?php echo of_get_option(’email’,true) ; ?>
<?php } ?>
|
<?php if( of_get_option(‘phone’,true) != ”){ ?>
<?php echo of_get_option(‘phone’); ?>
<?php } ?>
</div>
<?php endif; ?>
<?php if(!dynamic_sidebar(‘headerright’)) : ?>
<div class=”topbarright”>
<div class=”topsocial”>
<span>Follow us :-</span><?php if( of_get_option(‘facebook’,true) != ”){ ?>
” target=”_blank” title=”Facebook”><div class=”facebook icon”></div><!– fb-icon –>
<?php } ?>
<?php if( of_get_option(‘twitter’,true) != ”) { ?>
” target=”_blank” title=”Twitter”><div class=”twitt icon”></div><!– twitt –>
<?php } ?>
<?php if( of_get_option(‘gplus’,true) != ”){ ?>
” target=”_blank” title=”Google +”><div class=”gplus icon”></div><!– gplus –>
<?php } ?>
<?php if( of_get_option(‘linkedin’,true) != ”){ ?>
” target=”_blank” title=”Linkedin”><div class=”linked icon”></div>
<?php } ?>
<?php if( of_get_option(‘pint’,true) != ”){ ?>
” target=”_blank” title=”Pinterest”><div class=”pinterest icon”></div>
<?php } ?>
<?php if( of_get_option(‘youtube’,true) != ”){ ?>
” target=”_blank” title=”YouTube”><div class=”youtube icon”></div>
<?php } ?>
<?php if( of_get_option(‘vimeo’,true) != ”){ ?>
” target=”_blank” title=”Vimeo”><div class=”vimeo icon”></div>
<?php } ?>
<?php if( of_get_option(‘rss’,true) != ”){ ?>
” target=”_blank” title=”RSS”><div class=”rss icon”></div>
<?php } ?>
<?php if( of_get_option(‘insta’,true) != ”){ ?>
” target=”_blank” title=”Instagram”><div class=”instagram icon”></div>
<?php } ?>
<?php if( of_get_option(‘tumblr’,true) != ”){ ?>
” target=”_blank” title=”Tumblr”><div class=”tumblr icon”></div>
<?php } ?>
<?php if( of_get_option(‘flickr’,true) != ”) { ?>
” target=”_blank” title=”Flickr”><div class=”flickr icon”></div>
<?php } ?>
<?php if( of_get_option(‘yahoo’,true) != ”){ ?>
” target=”_blank” title=”Yahoo”><div class=”yahoo icon”></div>
<?php } ?>
<?php if( of_get_option(‘dribble’,true) != ”){ ?>
” target=”_blank” title=”Dribble”><div class=”dribble icon”></div>
<?php } ?>
<?php if( of_get_option(‘kick’,true) != ”){ ?>
” target=”_blank” title=”Kickstarter”><div class=”kick icon”></div>
<?php } ?>
<?php if( of_get_option(‘stumble’,true) != ”){ ?>
” target=”_blank” title=”StubleUpon”><div class=”stumble icon”></div>
<?php } ?>
<?php if( of_get_option(‘zerply’,true) != ”){ ?>
” target=”_blank” title=”Zerply”><div class=”zerply icon”></div>
<?php } ?>
<?php if( of_get_option(‘sound’,true) != ”){ ?>
” target=”_blank” title=”SoundCloud”><div class=”sound icon”></div>
<?php } ?>
<?php if( of_get_option(‘path’,true) != ”) { ?>
” target=”_blank” title=”Path”><div class=”path icon”></div>
<?php } ?>
<?php if( of_get_option(‘klout’,true) != ”){ ?>
” target=”_blank” title=”Klout”><div class=”klout icon”></div>
<?php } ?>
<?php if( of_get_option(‘behance’,true) != ”){ ?>
” target=”_blank” title=”Behance”><div class=”behance icon”></div>
<?php } ?>
<?php if( of_get_option(‘envato’,true) != ”){?>
” target=”_blank” title=”Envato”><div class=”envato icon”></div>
<?php } ?>
<?php if( of_get_option(‘codepen’,true) != ”){ ?>
” target=”_blank” title=”Codepen”><div class=”codepen icon”></div>
<?php } ?>
<?php if( of_get_option(‘vine’,true) != ”){ ?>
” target=”_blank” title=”Vine”><div class=”vine icon”></div>
<?php } ?>
<?php if( of_get_option(‘technorati’,true) != ”){ ?>
” target=”_blank” title=”Technorati”><div class=”technorati icon”></div>
<?php } ?>
<?php if( of_get_option(‘git’,true) != ”){ ?>
” target=”_blank” title=”Github”><div class=”github icon”></div>
<?php } ?>
<?php if( of_get_option(‘foursquare’,true) != ”){ ?>
” target=”_blank” title=”Foursquare”><div class=”foursquare icon”></div>
<?php } ?>
<?php if( of_get_option(‘five’,true) != ”){ ?>
” target=”_blank” title=”500px”><div class=”five icon”></div>
<?php } ?>
<?php if( of_get_option(‘speaker’,true) != ”){ ?>
” target=”_blank” title=”Speakerdeck”><div class=”speaker icon”></div>
<?php } ?>
<?php if( of_get_option(‘wordpress’,true) != ”){ ?>
” target=”_blank” title=”WordPress”><div class=”wordpress icon”></div>
<?php } ?>
<?php if( of_get_option(‘yelp’,true) != ”){ ?>
” target=”_blank” title=”Yelp”><div class=”yelp icon”></div>
<?php } ?>
<?php if( of_get_option(‘aboutmelink’,true) != ”){ ?>
” target=”_blank” title=”Aboutme”><div class=”aboutme icon”></div>
<?php } ?>
<?php if( of_get_option(‘eyelink’,true) != ”){ ?>
” target=”_blank” title=”Eyeme”><div class=”eyeme icon”></div>
<?php } ?>
<?php if( of_get_option(‘xinglink’,true) != ”){ ?>
” target=”_blank” title=”Xing”><div class=”xing icon”></div>
<?php } ?>
<?php if( of_get_option(‘mailink’,true) != ”){ ?>
” target=”_blank” title=”Mail”><div class=”mail icon”></div>
<?php } ?>
<?php if( of_get_option(‘bloggerlink’,true) != ”){ ?>
” target=”_blank” title=”Blogger”><div class=”blogger icon”></div>
<?php } ?>
<?php if( of_get_option(‘bliplink’,true) != ”){ ?>
” target=”_blank” title=”Blip”><div class=”blip icon”></div>
<?php } ?>
<?php if( of_get_option(‘wechatlink’,true) != ”){ ?>
” target=”_blank” title=”Wechat”><div class=”wechat icon”></div>
<?php } ?>
<?php if( of_get_option(‘badoolink’,true) != ”){ ?>
” target=”_blank” title=”Badoo”><div class=”badoo icon”></div>
<?php } ?>
<?php if( of_get_option(‘bebolink’,true) != ”){ ?>
” target=”_blank” title=”Bebo”><div class=”bebo icon”></div>
<?php } ?>
<?php if( of_get_option(‘netloglink’,true) != ”){ ?>
” target=”_blank” title=”Netlog”><div class=”netlog icon”></div>
<?php } ?>
<?php if( of_get_option(‘taggedlink’,true) != ”){ ?>
” target=”_blank” title=”Tagged”><div class=”tagged icon”></div>
<?php } ?>
<?php if( of_get_option(‘linelink’,true) != ”){ ?>
” target=”_blank” title=”Line”><div class=”line icon”></div>
<?php } ?>
<?php if( of_get_option(‘myspacelink’,true) != ”){ ?>
” target=”_blank” title=”MySpace”><div class=”space icon”></div>
<?php } ?>
<?php if( of_get_option(‘hifivelink’,true) != ”){ ?>
” target=”_blank” title=”Hi5″><div class=”hifive icon”></div>
<?php } ?>
<?php if( of_get_option(‘zorpialink’,true) != ”){ ?>
” target=”_blank” title=”Zorpia”><div class=”zorpia icon”></div>
<?php } ?>
<?php if( of_get_option(‘vklink’,true) != ”){ ?>
” target=”_blank” title=”VKontakte”><div class=”vk icon”></div>
<?php } ?>
<?php if( of_get_option(‘meetuplink’,true) != ”){ ?>
” target=”_blank” title=”MeetUp”><div class=”meetup icon”></div>
<?php } ?>
<?php if( of_get_option(‘asklink’,true) != ”){ ?>
” target=”_blank” title=”Askfm”><div class=”askfm icon”></div>
<?php } ?>
<?php if( of_get_option(‘meetmelink’,true) != ”){ ?>
” target=”_blank” title=”Meetme”><div class=”meetme icon”></div>
<?php } ?>
<?php if( of_get_option(‘classlink’,true) != ”){ ?>
” target=”_blank” title=”Classmates”><div class=”classmates icon”></div>
<?php } ?>
<?php if( of_get_option(‘ninglink’,true) != ”){ ?>
” target=”_blank” title=”Ning”><div class=”ning icon”></div>
<?php } ?>
<?php if( of_get_option(‘kiwilink’,true) != ”){ ?>
” target=”_blank” title=”Kiwibox”><div class=”kiwibox icon”></div>
<?php } ?>
<?php if( of_get_option(‘rocketlink’,true) != ”){ ?>
” target=”_blank” title=”RocketLawyer”><div class=”rocket icon”></div>
<?php } ?>
<?php if( of_get_option(‘zillowlink’,true) != ”){ ?>
” target=”_blank” title=”Zillow”><div class=”zillow icon”></div>
<?php } ?>
<?php if( of_get_option(‘whatslink’,true) != ”){ ?>
” target=”_blank” title=”WhatsApp”><div class=”whatsapp icon”></div>
<?php } ?>
<?php if( of_get_option(‘mediumlink’,true) != ”){ ?>
” target=”_blank” title=”Medium”><div class=”medium icon”></div>
<?php } ?>
</div>
<div class=”box”>
<form role=”search” method=”get” action=”<?php echo esc_url( home_url( ‘/’ ) ); ?>”>
<input class=”searchtop” type=”search” placeholder=”<?php echo esc_attr_x( ‘Search…’, ‘placeholder’, ‘skt-spa’ ); ?>” name=”s”/>
</form>
<div class=”srchicon”></div>
</div>
</div>
<?php endif; ?>
<div class=”clear”></div>
</div>
</div>
<div class=”header”>
<div class=”header-inner”>
<div class=”logo”>
“>
<?php if( of_get_option( ‘logo’, true ) != ” ) { ; ?>
” / >
<?php } else { ?>
<h1><?php bloginfo(‘name’); ?></h1>
<?php } ?>
</div><!– logo –>
<div class=”toggle”>
<?php _e(‘Menu’,’skt-spa’); ?>
</div><!– toggle –>
<div class=”nav”>
<?php wp_nav_menu( array(‘theme_location’ => ‘primary’) ); ?>
</div><!– nav –><div class=”clear”></div>
</div><!– header-inner –>
</div><!– header –><?php if ( (of_get_option(‘innerpageslider’, true) != ‘hide’) || is_home() || is_front_page() ) { ?>
<div class=”slider-main”><?php
$slAr = array();
$m = 0;
for ($i=1; $i<11; $i++) {
if ( of_get_option(‘slide’.$i, true) != “” ) {
$imgSrc = of_get_option(‘slide’.$i, true);
$imgTitle = of_get_option(‘slidetitle’.$i, true);
$imgDesc = of_get_option(‘slidedesc’.$i, true);
$imglink = of_get_option(‘slidelink’.$i, true);
if ( strlen($imgSrc) > 10 ) {
$slAr[$m][‘image_src’] = of_get_option(‘slide’.$i, true);
$slAr[$m][‘image_title’] = of_get_option(‘slidetitle’.$i, true);
$slAr[$m][‘image_desc’] = of_get_option(‘slidedesc’.$i, true);
$slAr[$m][‘image_url’] = of_get_option(‘slidelink’.$i, true);
$m++;
}
}}
$slideno = array();
if( $slAr > 0 ){
$n = 0;?>
<div id=”slider” class=”nivoSlider”>
<?php
foreach( $slAr as $sv ){
$n++; ?>” alt=”<?php echo esc_attr($sv[‘image_title’]);?>” title=”<?php echo ‘#slidecaption’.$n ; ?>”/><?php
$slideno[] = $n;
}
?>
</div><?php
foreach( $slideno as $sln ){ ?>
<div id=”slidecaption<?php echo $sln; ?>” class=”nivo-html-caption”>
<div class=”top-bar”>
<?php if( of_get_option(‘slidetitle’.$sln, true) != ” ){ ?>
<h2><?php echo of_get_option(‘slidetitle’.$sln, true); ?></h2>
<?php } ?>
<?php if( of_get_option(‘slidedesc’.$sln, true) != ” ){ ?>
<p><?php echo of_get_option(‘slidedesc’.$sln, true); ?></p>
<?php } ?><?php if( of_get_option(‘slideurl’.$sln, true) != ”){ ?>
“><?php _e(‘Read More’,’skt-spa’); ?>
<?php } ?><?php if( of_get_option(‘contactlink’, true) != ”){ ?>
“><?php _e(‘Get Appoinment’,’skt-spa’); ?>
<?php } ?></div>
</div><?php
} ?></div>
<div class=”clear”></div><?php
}
?>
</div>
</div><!– slider –>
<?php } ?>
<div class=”main-container”>
<?php if( function_exists(‘is_woocommerce’) && is_woocommerce() ) { ?>
<div class=”content-area”>
<div class=”middle-align content_sidebar”>
<div id=”sitemain” class=”site-main”>
<?php } ?>January 18, 2016 at 6:20 am #18970Hi,
Kindly find the “Read More” in header.php and translate the text.
Regards,
ShriJanuary 18, 2016 at 10:31 am #18995fck i see him..sorry
January 18, 2016 at 10:39 am #18996And the service buttons? withs php?
Thankk you
January 18, 2016 at 10:39 am #18997Great
Regards,
ShriJanuary 18, 2016 at 10:44 am #18998Hi,
Kindly find the “Read More” in index.php and translate the text.
Regards,
ShriJanuary 18, 2016 at 11:09 am #19000Thank you 🙂
January 18, 2016 at 11:28 am #19002You are most welcome 🙂
Regards,
Shri -
AuthorPosts
- You must be logged in to reply to this topic.