Hi Everyone, welcome to TwoBeers Support Forum. Registration is required to post. Enjoy
Termini di servizio
Gli autori di TwoBeers.net sviluppano principalmente temi e plugin per WordPress, tuttavia su questo sito possono essere rilasciati altri contenuti non collegati con la suddetta piattaforma di blogging.
Ogni contenuto, stringa di codice o immagine presente su questo blog è rilasciato sotto GNU General Public License, version 2 e come tale è privo di ogni forma di garanzia.
Gli autori di TwoBeers.net si riservano, inoltre, la facoltà di fornire assistenza solo a quegli utenti che riconoscono il loro lavoro mantenendo visibili sul proprio sito i crediti a TwoBeers.net.

AmericanEnglish-Flag Term Of Service
TwoBeers.net's authors main task is to develop free themes and plugins for WordPress, otherwise other web stuff could be released through these pages.
Every stuff, code or image found on this blog is released under GNU General Public License, version 2, and come with no warranty at all.
TwoBeers.net's authors reserve themself to support only to those users who recognize TwoBeers work, keeping TwoBeers.net credits visible on their site.
When posting in the forum please use the correct category and the existing tags to correctly identify your discussion (a list of popular tags can be found in the main page).
Enjoy
When asking for support please provide your site url.
Thanks.
([ ] [ ]) TB Crew

P.S. If you don't have time to wait for an answer, please do us a favor, change your theme before asking for support, not after, and don't waste our time.
Cheers

P.S. If you feel more confortable you can add your site url into your signature http://prj.twobeers.net/profile/signature
How can I delete the text-info "You may use these HTML tags...." under the comment_text-areabox
  • Hello,

    How can I delete the text-info "You may use these HTML tags...." under the comment_text-areabox.
    where - in which .php site?
    I do not need this and it's probably confusing for the blog-users.

    thank you for your help!!

    greetings,
    Elisabeth Greibl
    Post edited by ilmaren at 2012-02-06 08:02:06
  • 5 Comments sorted by
  • Hi,
    you didn't specify which theme and didn't provide a link to your site.
    Anyway you should find it in comments.php
    Cheers
  • Hi,

    I am sorry - it is the shiword-theme and the blog is not online yet - I installed it local.
    but it's the shiword-theme and I am sorry, but I didn't find it in the comments.php

    which part do I have to delete?

    thank you for your help!!!

    And btw your theme is very very beautiful - I like it and I am glad, that I found it!!! :)


    here is the code, please tell me what do I have to change? :)

    <!-- begin comments -->
    <?php
        if ( isset( $_SERVER['SCRIPT_FILENAME'] ) && 'comments.php' == basename( $_SERVER['SCRIPT_FILENAME'] ) ) die ('Please do not load this page directly. Thanks!');

        if ( post_password_required() ) { ?>
            <div class="meta" id="comments" style="text-align: right;"><?php _e( 'Enter your password to view comments.', 'shiword' ); ?></div>
            <?php return;
        }
    ?>

    <?php if ( have_comments() ) { ?>
        <div class="meta" id="comments" style="text-align: right;"><?php comments_number( __( 'No Comments', 'shiword' ), __( '1 Comment', 'shiword' ), __( '% Comments', 'shiword' ) ); ?></div>
        <ol class="commentlist">
            <?php wp_list_comments( 'type=comment' ); ?>
        </ol>
        <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) { ?>
            <div class="navigate_comments">
                <?php paginate_comments_links(); ?>
            </div>
        <?php } ?>
        <?php $comments_by_type = &separate_comments(get_comments('status=approve&post_id=' . $id)); ?>
        <?php if ( ! empty($comments_by_type['pings']) ) { ?>
            <ol class="commentlist pings">
                <?php wp_list_comments( 'type=pings' ); ?>
            </ol>
        <?php } ?>
    <?php } ?>
       
    <?php if ( comments_open() ) { ?>

    <?php
    $sw_fields =  array(
        'author' => '<p class="comment-form-author">' . '<input id="author" name="author" type="text" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30" aria-required="true" />' .
                    '<label for="author">' . __( 'Name', 'shiword' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) .'</p>',
        'email'  => '<p class="comment-form-email">' . '<input id="email" name="email" type="text" value="' . sanitize_email(  $commenter['comment_author_email'] ) . '" size="30" aria-required="true" />' .
                    '<label for="email">' . __( 'Email', 'shiword' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) .'</p>',
        'url'    => '<p class="comment-form-url">' . '<input id="url" name="url" type="text" value="' . esc_url( $commenter['comment_author_url'] ) . '" size="30" />' .
                    '<label for="url">' . __( 'Website', 'shiword' ) . '</label>' .'</p>',
    ); ?>

        <?php $sw_custom_args = array(
            'fields'               => apply_filters( 'comment_form_default_fields', $sw_fields ),
            'comment_field'        => '<p class="comment-form-comment" style="text-align: center;"><textarea id="comment" name="comment" cols="45" rows="7" style="width: 95%;" aria-required="true"></textarea></p>',
            'comment_notes_after'  => '<p class="form-allowed-tags" style="color: #999999; text-align: center;"><small>' . sprintf( __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s', 'shiword' ), allowed_tags() ) . '</small></p>',
            'label_submit'         => __( 'Say It!', 'shiword' ),
            'logged_in_as'         => '<p class="logged-in-as">' . sprintf( __( 'Logged in as <a href="%1$s">%2$s</a>.', 'shiword' ), admin_url( 'profile.php' ), $user_identity ) . '</p>',

        );
        comment_form( $sw_custom_args ); ?>
    <?php } ?>
    <!-- end comments -->

  • Hi
    find
    'comment_notes_after'  => '<p class="form-allowed-tags" style="color: #999999; text-align: center;"><small>' . sprintf( __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s', 'shiword' ), allowed_tags() ) . '</small></p>',
    and replace with
    'comment_notes_after'  => '',
    this should work.
    cheers
    Post edited by ilmaren at 2012-02-07 04:40:59
  • Thank you very much!! :)
This discussion has been closed.
All Discussions

Usefull Links

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID Sign In with Twitter

Tagged

For any forum issues please use the Forum section