Plugin Author
Chouby
(@chouby)
How do you set the content of this intro paragraph?
I have the same problem! What can we do ?
Plugin Author
Chouby
(@chouby)
My answer is the same question: How do you set the content of this intro paragraph?
I don’t understand the question my friend. I m not pro in wordpress. I have a site http://mgschakt.se/ and you can see in the homepage, i have 4 little paragraphs
1)ασδαδασδα
2)Κατασκευή κήπων
3)Χλοοτάπητας
4)Συντήρηση κήπου
So i would like to translate this text to Swedish, but i have no idea. :/
I found the codes of the 4 paragraphs. what should i change to have a different text for English(en_US) and different for Swedish ?
<!–begin cols content –>
<div class=”container clearfix”>
<div class=”one-half”>
<img src=”<?php echo of_get_option(‘sc_homecontent1img’) ?>” class=”img-align-left” alt=”<?php echo of_get_option(‘sc_homecontent1title’) ?>” />
<h3><?php echo of_get_option(‘sc_homecontent1title’) ?></h3>
<p><?php echo of_get_option(‘sc_homecontent1’) ?></p>
</div>
<div class=”one-half last”>
<img src=”<?php echo of_get_option(‘sc_homecontent2img’) ?>” class=”img-align-left” alt=”<?php echo of_get_option(‘sc_homecontent2title’) ?>” />
<h3><?php echo of_get_option(‘sc_homecontent2title’) ?></h3>
<p><?php echo of_get_option(‘sc_homecontent2’) ?></p>
</div>
</div>
<div class=”container clearfix”>
<div class=”one-half”>
<img src=”<?php echo of_get_option(‘sc_homecontent3img’) ?>” class=”img-align-left” alt=”<?php echo of_get_option(‘sc_homecontent3title’) ?>” />
<h3><?php echo of_get_option(‘sc_homecontent3title’) ?></h3>
<p><?php echo of_get_option(‘sc_homecontent3’) ?></p>
</div>
<div class=”one-half last”>
<img src=”<?php echo of_get_option(‘sc_homecontent4img’) ?>” class=”img-align-left” alt=”<?php echo of_get_option(‘sc_homecontent4title’) ?>” />
<h3><?php echo of_get_option(‘sc_homecontent4title’) ?></h3>
<p><?php echo of_get_option(‘sc_homecontent4’) ?></p>
</div>
<div class=”horizontal-line”> </div>
</div>
<!– end cols content –>
Well i actually solve it! i used this code!
<?php
$currentlang = get_bloginfo(‘language’);
if($currentlang==”en-US”):
?>
<div>Content in English</div>
<?php else: ?>
<div>Content in Spanish (or other language)</div>
<?php endif; ?>
We can close this as solved 🙂