Hii, Everyone Today i am going to tell you how to add a Google Translate button on your website.
<div id=”google_translate_element”></div>
<script type=”text/javascript” src=”//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit”></script>
There are 3 types of button available for the Google Translate button.
<script type=”text/javascript”>
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: ‘en’}, ‘google_translate_element’);
}
</script>
<script type=”text/javascript”>
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: ‘en’, layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL}, ‘google_translate_element’);
}
</script>
<script type=”text/javascript”>
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: ‘en’, layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, ‘google_translate_element’);
}
</script>
You must navigate to Settings » General first. Add wpf-center to the Form CSS Class…
if you want to add marquee on any website (wordpress,PHP,HTML,Blogger). you just need to follow…
First Method: Use below code to play youtube video in loop and most important is…
just add below code in wordpress theme function.php file at the bottom -------------------------------------------------- Add the…