October 13, 2021 at 4:10 am
I use this Kadence Child Theme
*Login to see link
*Login to see link
It works
But in a folder it does not work!
I want to change component.php (inc/components/comments/component.php)
So i created /inc/components/comments/ folders in child theme and i edited component.php and send it to last folder
For example;
I changed this
$fields['author'] = '<div class="comment-input-wrap ' . ( $show_web ? 'no-url-field' : 'has-url-field' ) . '"><p class="comment-form-author"><input aria-label="' . esc_attr__( 'Name', 'kadence' ) . '" id="author" name="author" type="text" placeholder="' . esc_attr__( 'John Dow', 'kadence' ) . '" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30" maxlength="245"' . $aria_req . ' /><label class="float-label" for="author">' . esc_html__( 'Name', 'kadence' ) . $label_req . '</label></p>';
TO
$fields['author'] = '<div class="comment-input-wrap ' . ( $show_web ? 'no-url-field' : 'has-url-field' ) . '"><p class="comment-form-author"><input aria-label="' . esc_attr__( 'İsminiz', 'kadence' ) . '" id="author" name="author" type="text" placeholder="' . esc_attr__( 'Mert Can', 'kadence' ) . '" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30" maxlength="245"' . $aria_req . ' /><label class="float-label" for="author">' . esc_html__( 'İsminiz', 'kadence' ) . $label_req . '</label></p>';
Changed elements=
esc_attr__( ‘Name’, ‘kadence’ ) ———-> esc_attr__( ‘İsminiz’, ‘kadence’ )
esc_attr__( ‘John Dow’, ‘kadence’ ) ——-> esc_attr__( ‘Mert Can’, ‘kadence’ )
esc_html__( ‘Name’, ‘kadence’ ) ——–> esc_html__( ‘İsminiz’, ‘kadence’ )
But when i refreshed page but nothing changed
What should i do Where is the problem do you think thanks