Elementor widget – placeholder issue
-
I add a Passster Elementor widget, and change the placeholder text.
I can see de new placeholder text in elementor view, but when the widget is shown in the page appears the defaul placeholder text: “Enter your password..”
I have solved it by changing in the “src/class-ps-shortcode.php” file, this line:
$form = str_replace( ‘[PASSSTER_PLACEHOLDER]’, $atts[‘placeholder’], $form );
for this one:
$form = str_replace( get_theme_mod( ‘passster_form_instructions_placeholder’, __( ‘Enter your password..’, ‘content-protector’ ) ), $atts[‘placeholder’], $form );Would it be possible to include it in a next version of the plugin?
Thank you.
The topic ‘Elementor widget – placeholder issue’ is closed to new replies.