Viewing 2 replies - 1 through 2 (of 2 total)
  • what about this

    <!--:en--><td> <a title="Bibles" href="https://www.bibliadeldiscipulo.net/libros/">Bibles</a></td><!--:-->
    
    <!--:es--><td> <a title="Bibles" href="https://www.bibliadeldiscipulo.net/es/libros/">Biblias</a></td><!--:-->

    Hi, I create this funstion to change all forgoten (not translated) text in page.
    Insert in end of yor index.php

    $out1 = ob_get_contents();
    ob_end_clean();
    function lang_shortcodes($matches) {
    if ($matches[2]==qtrans_getLanguage()){
    return $matches[4];
    } else {
    return ”;
    }
    }
    $out1=preg_replace_callback(‘/(<\!–:)([a-z]{2})(–>)([^(<\!–:)]*)(<\!–:–>)/’, ‘lang_shortcodes’, $out1); //die();
    echo $out1;

    And do not forget to insert ob_start(); on begining of this file.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘widget link, please help!’ is closed to new replies.