Viewing 1 replies (of 1 total)
  • Thread Starter Johnwromine

    (@johnwromine)

    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 ‘[Plugin: Custom Fields Creator] Hey how do I get this working with qTransalte’ is closed to new replies.