Wie kann ich den text ändern, der auf "post comment" - button?
Ich bin erstellen einer Website für einige Therapeuten mit wordpress und bin mit dem Kommentar-Abschnitt, der einen Beitrag für eine Frage-und-Antwort mit dem Therapeuten. Aber ich kann nicht finden, wo der text herkommt, auf die "Kommentar posten" - button. Ich möchte es ändern auf "eine Frage stellen".
Den comments.php in dem Thema hat Sie nichts davon und ich kann ihn nicht finden überall in der Haupt-wp-comments-post.php
Jede Hilfe wäre toll!
Dank
Die web-Adresse ist http://s416809079.onlinehome.us/ask-the-therapist/
Edit: Meine Verwirrung ist, dass ich nicht finden kann die "post comment" - überall. Auch wenn ich nur noch hinzufügen es wird zwei Knöpfen und die neue, die eigentlich gar nicht Einreichen. Hier ist der code.
<?php
/**
* Comments Template
*
* @file comments.php
* @package Pilot Fish
* @filesource wp-content/themes/pilot-fish/comments.php
* @since Pilot Fish 0.1
*/
if ( post_password_required() ) : ?>
<p class="nocomments"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'pilotfish' ); ?></p>
<?php /* Stop the rest of comments.php from being processed */
return;
endif; ?>
<?php if (have_comments()) : ?>
<h6 id="comments"><?php comments_number(__('No Response to', 'pilotfish'), __('One Response to', 'pilotfish'), __('% Responses to', 'pilotfish')); ?> <i><?php the_title(); ?></i></h6>
<ol class="commentlist">
<?php wp_list_comments('avatar_size=60'); ?>
</ol>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
<nav class="pager">
<div class="previous"><?php previous_comments_link(__( '‹ previous','pilotfish' )); ?></div><!-- end of .previous -->
<div class="next"><?php next_comments_link(__( 'next ›','pilotfish', 0 )); ?></div><!-- end of .next -->
</nav><!-- end of.pager -->
<?php endif; ?>
<?php else : ?>
<?php if (comments_open()) : ?>
<?php
$fields = array(
'author' => '<p id="comment-form-author">' . '<label for="author">' . __('Name','pilotfish') . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) .
'<input id="author" name="author" placeholder="'. __('name (required)', 'pilotfish').'" type="text" value="' . esc_attr($commenter['comment_author']) . '" size="30" /></p>',
'email' => '<p id="comment-form-email"><label for="email">' . __('E-mail','pilotfish') . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) .
'<input id="email" name="email" placeholder="'. __('email (required)', 'pilotfish').'" type="text" value="' . esc_attr($commenter['comment_author_email']) . '" size="30" /></p>',
'url' => '<p id="comment-form-url"><label for="url">' . __('Website','pilotfish') . '</label>' .
'<input id="url" name="url" placeholder="'. __('website', 'pilotfish').'" type="text" value="' . esc_attr($commenter['comment_author_url']) . '" size="30" /></p>',
);
$defaults = array('fields' => apply_filters('comment_form_default_fields', $fields));
comment_form($defaults);
?>
<?php endif; ?>
Du musst angemeldet sein, um einen Kommentar abzugeben.
Den Kommentar-Formular Codex hat alles, was Sie wissen müssen über das anpassen der Werte eines Kommentar-Formular.
Sollten tun, was Sie brauchen.
setzen Sie den Wert der Eingabe um
<input value="Post a question">
nur die Suche nach dem text
post comment
und ändern Sie dievalue
desbutton
tag,Ändern Sie die
value
Attribut für die folgendeninput
element:Wenn Sie eine Suche in allen Dateien "Kommentar Posten" sollten Sie finden, was Sie suchen.
Unter die Klasse
form-submit
ändern Sie den Wert.Vorherigen
Änderung