[Resolved] Changing Comment Box Label

Home Forums Support [Resolved] Changing Comment Box Label

Home Forums Support Changing Comment Box Label

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1600416
    linuxwolf

    Hello Team Generatepress,

    I’d hidden comment box url successfully but not able to change comment box table.

    I want to remove the word “website” ref #check the url comment box lable text.

    #1601044
    linuxwolf

    Will I get reply?

    #1601102
    Leo
    Staff
    Customer Support

    Hi there,

    This should help:
    https://generatepress.com/forums/topic/comment-cookies-consent-label/#post-1176782

    Please refrain from bumping your topic – we answer everything within 24 hours.

    Thanks!

    #1601241
    linuxwolf

    Tom replied to add this code, but where to add it and how?

    `add_filter( ‘comment_form_default_fields’, function( $fields ) {
    $commenter = wp_get_current_commenter();

    $consent = empty( $commenter[‘comment_author_email’] ) ? ” : ‘ checked=”checked”‘;

    $fields[‘cookies’] = ‘<p class=”comment-form-cookies-consent”><input id=”wp-comment-cookies-consent” name=”wp-comment-cookies-consent” type=”checkbox” value=”yes”‘ . $consent . ‘ />’ . ‘<label for=”wp-comment-cookies-consent”>Save my name and email in this browser for the next time I comment.</label></p>’;

    return $fields;
    }, 20 );

    #1601248
    Leo
    Staff
    Customer Support
    #1602207
    linuxwolf

    Hi Leo,
    That worked perfectly.

    One question,
    I am using “simple css” as per generatepress suggestion but the Code snippet plugin can also work for css, so do I need simple css anymore? or I can use a single plugin to serve all the purposes.

    #1602908
    Leo
    Staff
    Customer Support

    You can use Code Snippets as well.

    Personally, I use Code Snippets for PHP and Additional CSS from WordPress for CSS 🙂

    #1603031
    linuxwolf

    Thanks for reply leo.

    Last question, I’m not sure it relates with generatepress or not, I am getting an error with embedded amazon image, there’s html code part appears below image on my site. See image.

    #1603112
    Leo
    Staff
    Customer Support

    It’s very unlikely a GP issue.

    #1603383
    linuxwolf

    👍

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.