Este usuário não tem tópicos favoritos.
Tópicos favoritos do fórum
Tópicos do fórum criados
| Status |
Tópico
|
Suporte | Vozes | Posts | Atualidade |
|---|---|---|---|---|---|
|
Privacy Policy text not translated in Spanish Login page
1
2
3
Iniciado por: acs001
em: English Support
Problem: // Remove the default privacy policy link
add_action( 'login_footer', function() {
// Hide the default Privacy Policy link via CSS
echo '<style>.privacy-policy-page-link { display: none !important; }</style>';
$original_link = 'https://www.elmundotech.com/privacy-policy/';
$original_text = 'Privacy Policy';
// Register strings for translation
do_action( 'wpml_register_single_string', 'Custom Login', 'Login Privacy Link', $original_link );
do_action( 'wpml_register_single_string', 'Custom Login', 'Login Privacy Text', $original_text );
// Apply translation
$privacy_link = apply_filters( 'wpml_translate_single_string', $original_link, 'Custom Login', 'Login Privacy Link' );
$link_text = apply_filters( 'wpml_translate_single_string', $original_text, 'Custom Login', 'Login Privacy Text' );
echo '<div style="text-align:center; margin-top: -30px;">'
. '<a href="' . esc_url( $privacy_link ) . '">' . esc_html( $link_text ) . '</a>'
. '</div>';
});After applying this solution, the 'Privacy Policy' text on the Spanish login page displayed correctly in Spanish. We recommend clearing the browser cache or using an incognito window to see the changes. If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket for further assistance at WPML support forum. |
|
0 | 32 | 7 meses, 1 semana atrás | |
|
WPML 4.7.0-b.1 crashed my website
Iniciado por: acs001 em: English Support |
|
0 | 5 | 1 ano, 1 mês atrás | |
|
I want to remove a flag my homepage doesn't need
Iniciado por: acs001 em: English Support |
|
2 | 5 | 4 anos, 2 meses atrás | |
|
Flag issues
Iniciado por: acs001 em: Chat Support |
|
1 | 2 |
4 anos, 7 meses atrás
|
|
|
Exceeded the max questions resource
Iniciado por: acs001 em: English Support |
|
2 | 7 | 4 anos, 10 meses atrás | |
|
We have detected a problem with some tables in the database
Iniciado por: acs001 em: Chat Support |
|
1 | 1 |
4 anos, 11 meses atrás
|