Wsparcie » Używanie i konfiguracja WordPressa » Gdzie można zmienić tekst "Twój adres e-mail nie zostanie opublikowany."

  • Pełna treść:
    „Twój adres e-mail nie zostanie opublikowany. Pola, których wypełnienie jest wymagane, są oznaczone symbolem *”

    Widnieje nad formularzem wpisu na blogu, w którym pliku można go edytować?
    Dzięki za pomoc!

Viewing 5 replies - 1 through 5 (of 5 total)
  • W pliku comments.php

    Thread Starter Calypsett

    (@calypsett)

    W katalogu wp-admin? W pliku jest po angielsku, a na stronie wyświetla się w języku polskim.

    W katalogu twojego motywu.
    wp-content/themes/twoj-motyw

    Thread Starter Calypsett

    (@calypsett)

    <?php
    // Do not delete these lines
    if (!empty($_SERVER[’SCRIPT_FILENAME’]) && 'comments.php’ == basename($_SERVER[’SCRIPT_FILENAME’]))
    die (esc_html__(’Please do not load this page directly. Thanks!’,’Gleam’));

    if ( post_password_required() ) { ?>

    <p class=”nocomments”><?php esc_html_e(’This post is password protected. Enter the password to view comments.’,’Gleam’) ?></p>
    <?php
    return;
    }
    ?>
    <!– You can start editing here. –>

    <section id=”comment-wrap”>

    <?php if ( have_comments() ) : ?>

    <h1 id=”comments”><?php comments_number(esc_html__(’0 Comments’,’Gleam’), esc_html__(’1 Comment’,’Gleam’), '% ’.esc_html__(’Comments’,’Gleam’) );?></h1>

    <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments’ ) ) : // Are there comments to navigate through? ?>
    <div class=”comment_navigation_top clearfix”>
    <div class=”nav-previous”><?php previous_comments_link( __( '<span class=”meta-nav”>←</span> Older Comments’, 'Gleam’ ) ); ?></div>
    <div class=”nav-next”><?php next_comments_link( __( 'Newer Comments <span class=”meta-nav”>→</span>’, 'Gleam’ ) ); ?></div>
    </div> <!– .navigation –>
    <?php endif; // check for comment navigation ?>

    <?php if ( ! empty($comments_by_type[’comment’]) ) : ?>
    <ol class=”commentlist clearfix”>
    <?php wp_list_comments( array(’type’=>’comment’,’callback’=>’et_custom_comments_display’) ); ?>

    <?php endif; ?>

    <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments’ ) ) : // Are there comments to navigate through? ?>
    <div class=”comment_navigation_bottom clearfix”>
    <div class=”nav-previous”><?php previous_comments_link( __( '<span class=”meta-nav”>←</span> Older Comments’, 'Gleam’ ) ); ?></div>
    <div class=”nav-next”><?php next_comments_link( __( 'Newer Comments <span class=”meta-nav”>→</span>’, 'Gleam’ ) ); ?></div>
    </div> <!– .navigation –>
    <?php endif; // check for comment navigation ?>

    <?php if ( ! empty($comments_by_type[’pings’]) ) : ?>
    <div id=”trackbacks”>
    <h3 id=”trackbacks-title”><?php esc_html_e(’Trackbacks/Pingbacks’,’Gleam’) ?></h3>
    <ol class=”pinglist”>
    <?php wp_list_comments(’type=pings&callback=et_list_pings’); ?>

    </div>
    <?php endif; ?>
    <?php else : // this is displayed if there are no comments so far ?>
    <div id=”comment-section” class=”nocomments”>
    <?php if (’open’ == $post->comment_status) : ?>
    <!– If comments are open, but there are no comments. –>

    <?php else : // comments are closed ?>
    <!– If comments are closed. –>

    <?php endif; ?>
    </div>
    <?php endif; ?>
    <?php if (’open’ == $post->comment_status) : ?>
    <?php comment_form( array(’label_submit’ => esc_attr__( 'Opublikuj Komentarz’, 'Gleam’ ), 'title_reply’ => '<span>’ . esc_attr__( 'Zostaw komentarz’, 'Gleam’ ) . '</span>’, 'title_reply_to’ => esc_attr__( 'Leave a Reply to %s’ )) ); ?>
    <?php else: ?>

    <?php endif; // if you delete this the sky will fall on your head ?>

    </section>

    Thread Starter Calypsett

    (@calypsett)

    Wkleiłem zawartość pliku, nie ma tego fragmentu.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Temat ‘Gdzie można zmienić tekst "Twój adres e-mail nie zostanie opublikowany."’ jest zamknięty na nowe odpowiedzi.