Footer in different languages just like in the main menu
-
Dear developpers,
I have made my first website with the Customizr last week and I really like it…
I custumized the footer as instructed on Customizr blog and it’s really good for me :
https://www.themesandco.com/snippet/altering-adding-footer-credits/
Here is my code:add_filter('tc_credits_display', 'my_custom_credits'); function my_custom_credits(){ $credits = ''; $newline_credits = ''; return ' <div class="span4 credits"> <p> · <a href="https://kreega.com/kreega/" title="about" rel="bookmark"> About </a> · <a href="https://kreega.com/kreega/contact/" title="contact" rel="bookmark"> Contact </a> · <a href="https://kreega.com/kreega/mention-legale/" title="mention légale" rel="bookmark"> Mention légale </a> · <a href="https://kreega.com/credits/" title="credits" rel="bookmark"> Crédits </a> · <br /> · © '.esc_attr( date( 'Y' ) ).' <a href="'.esc_url( home_url() ).'" title="'.esc_attr(get_bloginfo()).'" rel="bookmark">'.esc_attr(get_bloginfo()).'</a>, all rights reserved. · '.($credits ? $credits : 'Theme by <a href="https://www.themesandco.com/">Themes&Co</a>').' ·'.($newline_credits ? '<br />· '.$newline_credits.' ·' : '').'</p> </div>'; }
But I would very much like to have this part in other languages, like Chinese, English, etc. So I tried to write as follow (this is what appears in multilinguage titles)`
<!–:en–>Translation<!–:–><!–:zh–>翻译<!–:–><!–:fr–>Traduction<!–:–>
`
I use qTranslate for the management of languages.But this didn’t work out.
Could anybody help ? Thanks alot !
Here is my website : https://kreega.com/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Footer in different languages just like in the main menu’ is closed to new replies.