Hi Marcello, I got to solve it!
Unfortunately not with your code, because the code you gave me was the same as I said 1st, that I had already tried to use [:en] or <!–:en–> on the code above, but it was printing on the screen the tags I used. ;0)
Anyway, thanks for your try. Let me share with you and other readers the solution.
PAY ATTENTION, VERY IMPORTANT TIP!
To get to make your there understand the qtranslate quick-tags or regular tags [:en] or <!–:en–> within the input fields such as titles, texts and others codes in your theme back-end/front-end…
ALWAYS use
(__())
Code Example
from:
<?php echo $hp->ss_cta_two_title ?>
to:
<?php echo (__($hp->ss_cta_two_title)) ?>
Or in this thread case the solution was:
} else
{
$nav_links = (__('<li class="logout">
<a href="' . wp_logout_url( get_permalink( ) ) . '" title="Logout"> <i class="icon-signout"> </i><!--:pt-->Sair<!--:--><!--:en-->Logout<!--:--></a>'));
$nav_links .= '<li class="license_area">
' . symbiostock_customer_area( $name ) . '
</li>';
}
return $nav_links;
Notice that right after the “$nav_links =” just opened the “(__(” and added the regular-tagswhere it should be (text) and closed “))” right after “< /a >'”
I hope that can help others too.
Have a great weekend and wishing you all and your family a Merry Christmas!
All the best.
Luis
https://www.ilucato.com.br