• I’ve been trying endlessly to get qTranslate plus to work in my functions.php file.
    Here is what I have:

    if ( $image_size && has_post_thumbnail() )
    $image = '<a class="image" href="' . get_permalink() . '">' . get_the_post_thumbnail(
    $post->ID, $image_size ) . ' <div style="width:200px;margin:0 auto;"><span class="text-content">
    <span><div style="margin:0 auto;padding-left:15px;padding-right:15px;">VIEW PROFILE</div></span>
    </span></div></a> ';

    I would like to put the 2 options for VIEW PROFILE where:
    en = View Profile
    fr = Voir Profil

    Any idea how to make it work?
    thank you very much in advance!

    https://ww.wp.xz.cn/plugins/qtranslate-xp/

The topic ‘qTranslate Plus not working in functions.php’ is closed to new replies.