This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Etichettato: 

This topic contains 2 risposte, has 2 voci.

Last updated by denisP-14 3 giorni, 1 ora fa.

Assigned support staff: Alejandro.

Autore Post
October 10, 2019 at 7:33 am

denisP-14

Hello,
this issue was solved by Carlos.

Right now Envato tells me to update the theme because of a security risk, but if I update the theme, I get again the issue..

this is the question:

home page - english version: hidden link
there is the button [VIEW ALL INVENTORY] that links to hidden link
this is OK

the issue is on the italian version: hidden link
where, the button [VISUALIZZA TUTTO L'INVENTARIO] must link to hidden link that has been corrected by Carlos.

If I upgrade the theme, I lose the correction and the italian button [VISUALIZZA TUTTO L'INVENTARIO] links to hidden link that is wrong.

Please consider that in the theme dir I uploaded the new theme that fix the security bug.
the new theme is zipped and called themeforest-lOb11JiW-motors-automotive-cars-vehicle-boat-dealership-classifieds-wordpress-theme-wordpress-theme.zip

thanks in advance,
kindly,
denis pirra

October 10, 2019 at 4:04 pm #4732647

Alejandro
Supporter

Languages: Inglese (English ) Spagnolo (Español ) Italiano (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Ciao!
Benvenuto al supporto cliente WPML.
Farò del mio meglio per aiutarti a risolvere questo problema.

Questo forse ti è successo perché hai aggiunto il codice nel tema principale, presumo.

Problema risolto e mi sono registrato mentre facevo i cambiamenti: hidden link

In pratica, quello che si deve fare è:

- Crea nel tema child la directory "vc_templates"
- Inserisci lì una copia del file "stm_featured_boats.php" in questa nuova directory.

Aprila e poi cambia la riga:

<a class="button" href="<?php $temp = stm_get_listing_archive_link(); esc_html_e( $temp, 'motors'); ?>">

con questa invece:

<a class="button" href="<?php $temp = stm_get_listing_archive_link(); _e( esc_html_e( $temp, 'motors') , 'stm_WPML' ); ?>"> 

Poi ti comparirà la stringa su WPML > Traduzione stringhe e potrai tradurla.

Saluti.

October 11, 2019 at 6:59 am #4735867

denisP-14

My issue is resolved now. Thank you!