login blog with password

Hello Edurne.

You can modify it with the Loco Translate plugin:

->

.- You access loco translate -> WordPress

.- Edit the Spanish language:

.- Find the text string and modify it:

You can also modify the text with a function

function my_password_form() {
global $post;
$label=”pwbox-“.( empty( $post->ID ) ? rand() : $post->ID );
$o = ‘

‘ . ‘‘ . __( “This post is protected, please contact us if you want to get access to this content.” ). ‘‘ . ‘

‘;
return $o;
}
add_filter( ‘the_password_form’, ‘my_password_form’ );

You can add the code in the function.php file

All the best

Answered: 06/27/2022 3:05 pm

See also  Send image to WhatsApp with URL
Loading Facebook Comments ...
Loading Disqus Comments ...