WordPress.org

Ready to get started?Download WordPress

Forums

Linkable Title Html and Php Widget
Use PHP in the title (1 post)

  1. Blackbam
    Member
    Posted 2 years ago #

    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://wordpress.org/extend/plugins/linkable-title-html-and-php-widget/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic