qTranslate and All Video Gallery (1 post)

  1. bluedrag
    Posted 2 years ago #

    I'm trying to use the language switcher plugin qTranslate with all-video-gallery. All I really have to do to do that is concatenate a function from qtranslate into the a href tags of certain a video files.

    This line of code was successfully concatenated:
    $output .= '<a href="'.qtrans_convertURL($custhref .$lang).'">';

    I'm now trying to use the function on a different file (for widgets) and it doesn't seem to be working. I can't figure out how to get this one to work.

    $output .= '<a href="' . @add_query_arg($arr_params, $arr['link']) . '">';

    Here is the qTranslate function seperate.
    <?php qtrans_convertURL('www.example.com' .$lang); ?>

    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic