WordPress.org

Support

Support » Plugins and Hacks » Custom Fields Creator » [Resolved] [Plugin: Custom Fields Creator] Hey how do I get this working with qTransalte

[Resolved] [Plugin: Custom Fields Creator] Hey how do I get this working with qTransalte

Viewing 1 replies (of 1 total)
  • You have to do a little more work, but it works great!

    <?php
    $FieldsName = get_post_meta($post->ID, 'FieldsName', true); if(!empty($FieldsName))
    foreach( $FieldsName as $FieldName){
    if (qtrans_getLanguage() == 'en' ) {
    echo '<h5><a>' . $FieldName['question'] . '</a></h5>
    <div class="">' . $FieldName['anwser'] . '</div>';
    } elseif (							qtrans_getLanguage() == 'zh' ) {
    echo '<h5><a>' . $productfaq['question-zh'] . '</a></h5>
    <div class="">' . $productfaq['anwser-zh'] . '</div>';
    };
    };
    ?>

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Custom Fields Creator] Hey how do I get this working with qTransalte’ is closed to new replies.
Skip to toolbar