2015-07-17, 22:52:19
I am using this plugin in one section of my site, where I would also like to have a link to the english and german version.
Right now in my sidebar i have this:
Is it possible to show this link only if the given page is availible in the other language,too?
I think it should be possible to create some php if-if-not-structure... right?
Have a nice weekend!
Right now in my sidebar i have this:
Code:
<div align="left"><a href="<?php echo htmlspecialchars(return_i18n_setlang_url('de')); ?>">deutsch</a> | <a href="<?php echo htmlspecialchars(return_i18n_setlang_url('en')); ?>">english</a></div>
Is it possible to show this link only if the given page is availible in the other language,too?
I think it should be possible to create some php if-if-not-structure... right?
Have a nice weekend!