[Plugin: Linkable Title Html and Php Widget] Use PHP in the title
-
Hey there,
maybe this question is a bit obscure, but this is the third time it would be useful – might you implement the possibility to use PHP in the title?
Example: I am using the qTranslate Plugin for a Multilanguage blog – with putting
<?php if(qtrans_getLanguage()=="de") { ?> Das deutsche Widget. <?php } else { ?> The english Widget. <?php } ?>inside the content it is possible to create multilingual widgets without even touching the theme. But with
<?php if(qtrans_getLanguage()=="de") { ?> Der deutsche Titel <?php } else { ?> The english title <?php } ?>in the title-field it would be possible to fully internationalize Widgets without touching the theme.
http://ww.wp.xz.cn/extend/plugins/linkable-title-html-and-php-widget/
The topic ‘[Plugin: Linkable Title Html and Php Widget] Use PHP in the title’ is closed to new replies.