• Home
  • WordPress
    • How To
    • Plugins
    • Themes
      • Genesis
      • Themify
      • Mysite myway
    • Security
    • Developer
    • Teaching
    • Conference
    • Chat
  • Blog
  • About
  • Freelance
    • Plugins
    • Teaching
    • Need help?
    • CV og ref.
  • Contact

Easy Web Design Tutorials

WordPress Tutorials and more

  • Home
  • WordPress
    • How To
    • Plugins
    • Themes
      • Genesis
      • Themify
      • Mysite myway
    • Security
    • Developer
    • Teaching
    • Conference
    • Chat
  • Blog
  • About
  • Freelance
    • Plugins
    • Teaching
    • Need help?
    • CV og ref.
  • Contact

8 September - 2014 By Paal Joachim 58 Comments
Last updated on: May 9, 2018

Some customizations I made for the comments section in my custom Genesis Child theme.

These are specific for the Genesis Framework – StudioPress Themes for WordPress (affiliate link). I will post general customizations of the comments section when I find them.

A two part series on using Code Snippets in Genesis.
Part 2: Customizing the blog post previews and posts page of a Genesis child theme.

 

Customizing the words used in the comments section.

The following are adjustments of various phrases used in the comments section.
The code is to be added to the child theme functions.php file.

Adjusting the comment box title from “Leave a Reply” -> “Leave a Comment”

// Add or remove notes after the comment box
//
add_filter( 'comment_form_defaults', 'sp_remove_comment_form_allowed_tags' );
function sp_remove_comment_form_allowed_tags( $defaults ) {
$defaults['comment_notes_after'] = 'An extra comment';
return $defaults;
}

view raw
comment-notes-after
hosted with ❤ by GitHub

// Modify the Genesis content limit read more link – Genesis Settings page – Display post content certain amount of characters. I selected 200.
//
add_filter( 'get_the_content_more_link', 'sp_read_more_link' );
function sp_read_more_link() {
return '… <a class="more-link" href="' . get_permalink() . '">[Read on]</a>';
}

view raw
comments-continue-reading
hosted with ❤ by GitHub

// Modify the speak your mind title in comments – Comment Box title –
//
add_filter( 'comment_form_defaults', 'sp_comment_form_defaults' );
function sp_comment_form_defaults( $defaults ) {
$defaults['title_reply'] = __( 'Leave a Comment' );
return $defaults;
}

view raw
leave-a-comment
hosted with ❤ by GitHub

// Changing the mini Comment title to something else http://wpsites.net/web-design/customize-comment-field-text-area-label/
//
function wpsites_modify_comment_form_text_area($arg) {
$arg['comment_field'] = '<p class="comment-form-comment"><label for="comment">' . _x( 'Your feedback is appreciated!', 'noun' ) . '</label><textarea id="comment" name="comment" cols="55" rows="7" aria-required="true"></textarea></p>';
return $arg;
}
add_filter('comment_form_defaults', 'wpsites_modify_comment_form_text_area');

view raw
mini-comment-title
hosted with ❤ by GitHub

// Adjust post meta in entry header AND change comments text in comments button
// http://wpspeak.com/remove-post-date-in-genesis-framework/
//
add_filter( 'genesis_post_info', 'post_info_filter' );
function post_info_filter($post_info) {
$post_info = '8 September - 2014 By Paal Joachim "58 ';
return $post_info;
}

view raw
post-meta-entry-header-text-comments-button
hosted with ❤ by GitHub

// Thanks to Jo at http://www.jowaltham.com/customising-comment-date-genesis/
// In reply: Remove time and link inside the date field.
//
add_filter( 'genesis_show_comment_date', 'jmw_remove_comment_time_and_link' );
function jmw_remove_comment_time_and_link( $comment_date ) {
printf( '<p %s>', genesis_attr( 'comment-meta' ) );
printf( '<time %s>', genesis_attr( 'comment-time' ) );
echo esc_html( get_comment_date() );
echo '</time></p>';
// Return false so that the parent function doesn't also output the comment date and time
return false;
}

view raw
reply-remove-time-and-date-link
hosted with ❤ by GitHub

// Customize the submit button text in comments https://gist.github.com/studiopress/5708140
//
add_filter( 'comment_form_defaults', 'sp_comment_submit_button' );
function sp_comment_submit_button( $defaults ) {
$defaults['label_submit'] = __( 'Submit', 'custom' );
return $defaults;
}

view raw
submit-button-text
hosted with ❤ by GitHub

Changing the mini title just above the comment box from “Comment” -> “Your feedback is appreciated!”

// Add or remove notes after the comment box
//
add_filter( 'comment_form_defaults', 'sp_remove_comment_form_allowed_tags' );
function sp_remove_comment_form_allowed_tags( $defaults ) {
$defaults['comment_notes_after'] = 'An extra comment';
return $defaults;
}

view raw
comment-notes-after
hosted with ❤ by GitHub

// Modify the Genesis content limit read more link – Genesis Settings page – Display post content certain amount of characters. I selected 200.
//
add_filter( 'get_the_content_more_link', 'sp_read_more_link' );
function sp_read_more_link() {
return '… <a class="more-link" href="' . get_permalink() . '">[Read on]</a>';
}

view raw
comments-continue-reading
hosted with ❤ by GitHub

// Modify the speak your mind title in comments – Comment Box title –
//
add_filter( 'comment_form_defaults', 'sp_comment_form_defaults' );
function sp_comment_form_defaults( $defaults ) {
$defaults['title_reply'] = __( 'Leave a Comment' );
return $defaults;
}

view raw
leave-a-comment
hosted with ❤ by GitHub

// Changing the mini Comment title to something else http://wpsites.net/web-design/customize-comment-field-text-area-label/
//
function wpsites_modify_comment_form_text_area($arg) {
$arg['comment_field'] = '<p class="comment-form-comment"><label for="comment">' . _x( 'Your feedback is appreciated!', 'noun' ) . '</label><textarea id="comment" name="comment" cols="55" rows="7" aria-required="true"></textarea></p>';
return $arg;
}
add_filter('comment_form_defaults', 'wpsites_modify_comment_form_text_area');

view raw
mini-comment-title
hosted with ❤ by GitHub

// Adjust post meta in entry header AND change comments text in comments button
// http://wpspeak.com/remove-post-date-in-genesis-framework/
//
add_filter( 'genesis_post_info', 'post_info_filter' );
function post_info_filter($post_info) {
$post_info = '8 September - 2014 By Paal Joachim "58 ';
return $post_info;
}

view raw
post-meta-entry-header-text-comments-button
hosted with ❤ by GitHub

// Thanks to Jo at http://www.jowaltham.com/customising-comment-date-genesis/
// In reply: Remove time and link inside the date field.
//
add_filter( 'genesis_show_comment_date', 'jmw_remove_comment_time_and_link' );
function jmw_remove_comment_time_and_link( $comment_date ) {
printf( '<p %s>', genesis_attr( 'comment-meta' ) );
printf( '<time %s>', genesis_attr( 'comment-time' ) );
echo esc_html( get_comment_date() );
echo '</time></p>';
// Return false so that the parent function doesn't also output the comment date and time
return false;
}

view raw
reply-remove-time-and-date-link
hosted with ❤ by GitHub

// Customize the submit button text in comments https://gist.github.com/studiopress/5708140
//
add_filter( 'comment_form_defaults', 'sp_comment_submit_button' );
function sp_comment_submit_button( $defaults ) {
$defaults['label_submit'] = __( 'Submit', 'custom' );
return $defaults;
}

view raw
submit-button-text
hosted with ❤ by GitHub

Adjusts the “Post Comment” button text -> “Submit”

// Add or remove notes after the comment box
//
add_filter( 'comment_form_defaults', 'sp_remove_comment_form_allowed_tags' );
function sp_remove_comment_form_allowed_tags( $defaults ) {
$defaults['comment_notes_after'] = 'An extra comment';
return $defaults;
}

view raw
comment-notes-after
hosted with ❤ by GitHub

// Modify the Genesis content limit read more link – Genesis Settings page – Display post content certain amount of characters. I selected 200.
//
add_filter( 'get_the_content_more_link', 'sp_read_more_link' );
function sp_read_more_link() {
return '… <a class="more-link" href="' . get_permalink() . '">[Read on]</a>';
}

view raw
comments-continue-reading
hosted with ❤ by GitHub

// Modify the speak your mind title in comments – Comment Box title –
//
add_filter( 'comment_form_defaults', 'sp_comment_form_defaults' );
function sp_comment_form_defaults( $defaults ) {
$defaults['title_reply'] = __( 'Leave a Comment' );
return $defaults;
}

view raw
leave-a-comment
hosted with ❤ by GitHub

// Changing the mini Comment title to something else http://wpsites.net/web-design/customize-comment-field-text-area-label/
//
function wpsites_modify_comment_form_text_area($arg) {
$arg['comment_field'] = '<p class="comment-form-comment"><label for="comment">' . _x( 'Your feedback is appreciated!', 'noun' ) . '</label><textarea id="comment" name="comment" cols="55" rows="7" aria-required="true"></textarea></p>';
return $arg;
}
add_filter('comment_form_defaults', 'wpsites_modify_comment_form_text_area');

view raw
mini-comment-title
hosted with ❤ by GitHub

// Adjust post meta in entry header AND change comments text in comments button
// http://wpspeak.com/remove-post-date-in-genesis-framework/
//
add_filter( 'genesis_post_info', 'post_info_filter' );
function post_info_filter($post_info) {
$post_info = '8 September - 2014 By Paal Joachim "58 ';
return $post_info;
}

view raw
post-meta-entry-header-text-comments-button
hosted with ❤ by GitHub

// Thanks to Jo at http://www.jowaltham.com/customising-comment-date-genesis/
// In reply: Remove time and link inside the date field.
//
add_filter( 'genesis_show_comment_date', 'jmw_remove_comment_time_and_link' );
function jmw_remove_comment_time_and_link( $comment_date ) {
printf( '<p %s>', genesis_attr( 'comment-meta' ) );
printf( '<time %s>', genesis_attr( 'comment-time' ) );
echo esc_html( get_comment_date() );
echo '</time></p>';
// Return false so that the parent function doesn't also output the comment date and time
return false;
}

view raw
reply-remove-time-and-date-link
hosted with ❤ by GitHub

// Customize the submit button text in comments https://gist.github.com/studiopress/5708140
//
add_filter( 'comment_form_defaults', 'sp_comment_submit_button' );
function sp_comment_submit_button( $defaults ) {
$defaults['label_submit'] = __( 'Submit', 'custom' );
return $defaults;
}

view raw
submit-button-text
hosted with ❤ by GitHub

Add or remove an extra comment below the comments box.
I added the text -> An extra comment. This is just to show that it exists.

// Add or remove notes after the comment box
//
add_filter( 'comment_form_defaults', 'sp_remove_comment_form_allowed_tags' );
function sp_remove_comment_form_allowed_tags( $defaults ) {
$defaults['comment_notes_after'] = 'An extra comment';
return $defaults;
}

view raw
comment-notes-after
hosted with ❤ by GitHub

// Modify the Genesis content limit read more link – Genesis Settings page – Display post content certain amount of characters. I selected 200.
//
add_filter( 'get_the_content_more_link', 'sp_read_more_link' );
function sp_read_more_link() {
return '… <a class="more-link" href="' . get_permalink() . '">[Read on]</a>';
}

view raw
comments-continue-reading
hosted with ❤ by GitHub

// Modify the speak your mind title in comments – Comment Box title –
//
add_filter( 'comment_form_defaults', 'sp_comment_form_defaults' );
function sp_comment_form_defaults( $defaults ) {
$defaults['title_reply'] = __( 'Leave a Comment' );
return $defaults;
}

view raw
leave-a-comment
hosted with ❤ by GitHub

// Changing the mini Comment title to something else http://wpsites.net/web-design/customize-comment-field-text-area-label/
//
function wpsites_modify_comment_form_text_area($arg) {
$arg['comment_field'] = '<p class="comment-form-comment"><label for="comment">' . _x( 'Your feedback is appreciated!', 'noun' ) . '</label><textarea id="comment" name="comment" cols="55" rows="7" aria-required="true"></textarea></p>';
return $arg;
}
add_filter('comment_form_defaults', 'wpsites_modify_comment_form_text_area');

view raw
mini-comment-title
hosted with ❤ by GitHub

// Adjust post meta in entry header AND change comments text in comments button
// http://wpspeak.com/remove-post-date-in-genesis-framework/
//
add_filter( 'genesis_post_info', 'post_info_filter' );
function post_info_filter($post_info) {
$post_info = '8 September - 2014 By Paal Joachim "58 ';
return $post_info;
}

view raw
post-meta-entry-header-text-comments-button
hosted with ❤ by GitHub

// Thanks to Jo at http://www.jowaltham.com/customising-comment-date-genesis/
// In reply: Remove time and link inside the date field.
//
add_filter( 'genesis_show_comment_date', 'jmw_remove_comment_time_and_link' );
function jmw_remove_comment_time_and_link( $comment_date ) {
printf( '<p %s>', genesis_attr( 'comment-meta' ) );
printf( '<time %s>', genesis_attr( 'comment-time' ) );
echo esc_html( get_comment_date() );
echo '</time></p>';
// Return false so that the parent function doesn't also output the comment date and time
return false;
}

view raw
reply-remove-time-and-date-link
hosted with ❤ by GitHub

// Customize the submit button text in comments https://gist.github.com/studiopress/5708140
//
add_filter( 'comment_form_defaults', 'sp_comment_submit_button' );
function sp_comment_submit_button( $defaults ) {
$defaults['label_submit'] = __( 'Submit', 'custom' );
return $defaults;
}

view raw
submit-button-text
hosted with ❤ by GitHub

If you need to remove the time and link inside the date field this is one way of doing so.

// Add or remove notes after the comment box
//
add_filter( 'comment_form_defaults', 'sp_remove_comment_form_allowed_tags' );
function sp_remove_comment_form_allowed_tags( $defaults ) {
$defaults['comment_notes_after'] = 'An extra comment';
return $defaults;
}

view raw
comment-notes-after
hosted with ❤ by GitHub

// Modify the Genesis content limit read more link – Genesis Settings page – Display post content certain amount of characters. I selected 200.
//
add_filter( 'get_the_content_more_link', 'sp_read_more_link' );
function sp_read_more_link() {
return '… <a class="more-link" href="' . get_permalink() . '">[Read on]</a>';
}

view raw
comments-continue-reading
hosted with ❤ by GitHub

// Modify the speak your mind title in comments – Comment Box title –
//
add_filter( 'comment_form_defaults', 'sp_comment_form_defaults' );
function sp_comment_form_defaults( $defaults ) {
$defaults['title_reply'] = __( 'Leave a Comment' );
return $defaults;
}

view raw
leave-a-comment
hosted with ❤ by GitHub

// Changing the mini Comment title to something else http://wpsites.net/web-design/customize-comment-field-text-area-label/
//
function wpsites_modify_comment_form_text_area($arg) {
$arg['comment_field'] = '<p class="comment-form-comment"><label for="comment">' . _x( 'Your feedback is appreciated!', 'noun' ) . '</label><textarea id="comment" name="comment" cols="55" rows="7" aria-required="true"></textarea></p>';
return $arg;
}
add_filter('comment_form_defaults', 'wpsites_modify_comment_form_text_area');

view raw
mini-comment-title
hosted with ❤ by GitHub

// Adjust post meta in entry header AND change comments text in comments button
// http://wpspeak.com/remove-post-date-in-genesis-framework/
//
add_filter( 'genesis_post_info', 'post_info_filter' );
function post_info_filter($post_info) {
$post_info = '8 September - 2014 By Paal Joachim "58 ';
return $post_info;
}

view raw
post-meta-entry-header-text-comments-button
hosted with ❤ by GitHub

// Thanks to Jo at http://www.jowaltham.com/customising-comment-date-genesis/
// In reply: Remove time and link inside the date field.
//
add_filter( 'genesis_show_comment_date', 'jmw_remove_comment_time_and_link' );
function jmw_remove_comment_time_and_link( $comment_date ) {
printf( '<p %s>', genesis_attr( 'comment-meta' ) );
printf( '<time %s>', genesis_attr( 'comment-time' ) );
echo esc_html( get_comment_date() );
echo '</time></p>';
// Return false so that the parent function doesn't also output the comment date and time
return false;
}

view raw
reply-remove-time-and-date-link
hosted with ❤ by GitHub

// Customize the submit button text in comments https://gist.github.com/studiopress/5708140
//
add_filter( 'comment_form_defaults', 'sp_comment_submit_button' );
function sp_comment_submit_button( $defaults ) {
$defaults['label_submit'] = __( 'Submit', 'custom' );
return $defaults;
}

view raw
submit-button-text
hosted with ❤ by GitHub

A comment box example using the modifications I listed above:

Customize Comment box Genesis Code Snippets

 

/*———– Author box and Gravatar From https://briangardner.com/code/ ————-*/

Add a h1 tag around the authors name.

//* Change the author box title
add_filter( 'genesis_author_box_title', 'bg_custom_author_box__title' );
function bg_custom_author_box__title() {
	return 'Paal Joachim Romdahl';
}

//* Customize the Gravatar size in the author box
add_filter( 'genesis_author_box_gravatar_size', 'bg_author_box_gravatar' );
function bg_author_box_gravatar( $size ) {
	return '105';
}

 

Resources used:
–  https://my.studiopress.com/snippets/comments/
–  https://wpsites.net/web-design/customize-comment-field-text-area-label/

– https://wpspeak.com/remove-post-date-in-genesis-framework/
– https://wpsites.net/wordpress-tips/show-posts-with-most-comments-first-on-your-home-page/
– https://www.jowaltham.com/customising-comment-date-genesis/ 

– https://wpsites.net/web-design/genesis-add-comment-bubble-with-counter-to-entry-meta/

 

 

Share this:

  • Email

Categories: Genesis, Themes, WordPress Tagged: Code Snippets

Paal Joachim Romdahl

I enjoy teaching and creating tutorials. As well creating web sites.
I help people gain WordPress knowledge through my easy to follow tutorials and specialized training. Contact me for more information on how I can improve your WordPress skills and to help get your web site quickly up and running.

Comments

  1. Tool AIM says

    1 June - 2020

    I Want To Change Colour Scheme And Box Design Of My Sites Comment Section. Currently, I M Using Genesis Framework, Education Pro Child Theme. Can You Suggest Me Some Plugins As I Have Only Little Coding Knowledge.

    Reply
  2. Nimesh says

    23 March - 2020

    Thank You Joachim.
    I’ll be honest with you.
    I’m not a pro WordPress user. I started my blog recently and I’m still learning things.
    I should say learning things from scratch.
    And I found it requires some ‘coding’ knowledge if you need to do customizations to your WordPress installations.
    And guides/tutorials like this will surely help people like me who needs some customizations (Not only for a commenting system, but also for almost all the look of the WordPress website)
    Thank You and Keep sharing!

    Reply
  3. jawad says

    24 February - 2020

    Thanks a lot very easy for me to add on my html site

    Reply
  4. Vinay kumar says

    30 April - 2019

    Excellent teaching

    Reply
  5. RVNeed says

    25 March - 2019

    Thanks, this really helped me understand the options of the DamBuster plugin. I was watching another video and it was about a plugin called Fullwidth that does the same thing but without all the meta options of the DamBuster plugin. Have you compared the two with any pros and cons?

    Reply
    • Paal Joachim says

      18 April - 2019

      Hey RVNeed

      I have not yet looked at DamBuster https://wordpress.org/plugins/genesis-dambuster/
      or Fullwidth plugins: https://wordpress.org/plugins/fullwidth-templates/
      I am adding both the links here so others can check it out.

      Reply
  6. khanh nhu says

    27 September - 2018

    How to delete date information in each comment. I can not delete it, all instructions are directed to css display none. Thank you

    Reply
  7. Bhuvizerobug says

    21 September - 2018

    Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.Appreciating the persistence you put into your blog and detail information you provide.

    |java training in Velachery,Chennai

    Reply
  8. SVEDrilling says

    3 September - 2018

    Good article!!!
    Dth Hammers Bits Manufacturers in India

    Reply
  9. Anna says

    5 June - 2018

    Thanks for this great post. I’ve bookmarked your site, and I’m adding your RSS feeds to my Google account.

    Reply
  10. Web Search Guide says

    8 May - 2018

    Part 2 series link is not working
    Genesis has been my go to framework/theme for the past 4 yrs I actually learned how to play with wordpress really in depth with it

    Reply
    • Paal Joachim says

      9 May - 2018

      I have now corrected the link. Thank you for letting me know.

      Reply
  11. hire-angularjs-developer says

    23 January - 2018

    This website will really help everyone in providing the tools and information necessary for the people to develop and improve their website

    Reply
  12. Wordpress website design says

    14 December - 2017

    I felt very relaxed after reading your post. I was searching something to get some info about wordpress design. Your post fulfilled my search. I am very thankful.

    Reply
  13. Twenty-four Seven says

    8 December - 2017

    I was very pleased to search out this web-site.I needed to thanks on your time for this glorious learn!! I positively having fun with every little little bit of it and I’ve you bookmarked to take a look at new stuff you blog post.

    Reply
  14. Olabiyi Malik says

    25 October - 2017

    Thanks for this

    Reply
  15. EASY SOFTONIC says

    15 October - 2017

    Nice article

    Reply
  16. Hitesh Bhasin says

    26 September - 2017

    Thanks so much. helped a lot.

    Reply
  17. Mister Dif says

    24 July - 2017

    Good stuff. Just used this to modify my comments text in the Media Pro Genesis theme. Thanks so much for sharing this!

    Reply
  18. Thủ Thuật says

    22 July - 2017

    Thank you for your post. It worked for me.

    Reply
  19. Priya Meheta says

    21 March - 2017

    Nice informative post about customize of WordPress site.Bangalore web experts which is very good blog.You will find all details about design of any kind of website .

    Reply
  20. Amir says

    19 December - 2016

    Thank you but in many cases I prefer Joomla.
    Respects

    Reply
    • Paal Joachim says

      20 December - 2016

      Hi Amir

      Why is that?

      Reply
  21. sembrown says

    2 November - 2016

    Excellent tips, I am going to perform these task practically. Thanks for sharing.

    Reply
  22. Mark says

    4 August - 2016

    Hi,
    Thanks for sharing this this will halp a lot of web developers.Thanks for sharing

    Reply
  23. Julia Watson says

    25 July - 2016

    Thanks for your sharing

    Reply
  24. SHANE BROWN says

    27 June - 2016

    Your site always shares many useful articles that always helps.

    Reply
    • Paal Joachim says

      27 June - 2016

      Thank you Shane!

      Reply
  25. julie says

    4 June - 2016

    When leaving the above comment, I got the following error, thought you might want to know. It still submitted, but left me sitting at a blank page with just the following.

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘SC_Advanced_Cache’ does not have a method ‘purge_post_on_new_comment’ in /home/paaljoac/public_html/easywebdesigntutorials.com/wp-includes/plugin.php on line 525

    Warning: Cannot modify header information – headers already sent by (output started at /home/paaljoac/public_html/easywebdesigntutorials.com/wp-includes/plugin.php:525) in /home/paaljoac/public_html/easywebdesigntutorials.com/wp-content/plugins/simple-comment-editing/index.php on line 820

    Warning: Cannot modify header information – headers already sent by (output started at /home/paaljoac/public_html/easywebdesigntutorials.com/wp-includes/plugin.php:525) in /home/paaljoac/public_html/easywebdesigntutorials.com/wp-includes/comment.php on line 517

    Warning: Cannot modify header information – headers already sent by (output started at /home/paaljoac/public_html/easywebdesigntutorials.com/wp-includes/plugin.php:525) in /home/paaljoac/public_html/easywebdesigntutorials.com/wp-includes/comment.php on line 518

    Warning: Cannot modify header information – headers already sent by (output started at /home/paaljoac/public_html/easywebdesigntutorials.com/wp-includes/plugin.php:525) in /home/paaljoac/public_html/easywebdesigntutorials.com/wp-includes/comment.php on line 519

    Warning: Missing argument 2 for SC_Advanced_Cache::set_comment_cookie_exceptions() in /home/paaljoac/public_html/easywebdesigntutorials.com/wp-content/plugins/simple-cache/inc/class-sc-advanced-cache.php on line 29

    Warning: Cannot modify header information – headers already sent by (output started at /home/paaljoac/public_html/easywebdesigntutorials.com/wp-includes/plugin.php:525) in /home/paaljoac/public_html/easywebdesigntutorials.com/wp-content/plugins/simple-cache/inc/class-sc-advanced-cache.php on line 36

    Warning: Cannot modify header information – headers already sent by (output started at /home/paaljoac/public_html/easywebdesigntutorials.com/wp-includes/plugin.php:525) in /home/paaljoac/public_html/easywebdesigntutorials.com/wp-includes/pluggable.php on line 1171

    Reply
    • Paal Joachim says

      7 June - 2016

      I think I know what the problem is and will need to take care of this very soon.
      Thanks for the heads up Julie!

      Reply
  26. Julie says

    4 June - 2016

    Thanks you, exactly what I was looking for. to change “Leave a Reply”. Worked perfectly 🙂

    I also wanted different wording for different pages, so added

    add_filter( ‘comment_form_defaults’, ‘sp_comment_form_defaults’ );
    function sp_comment_form_defaults( $defaults ) {
    if (get_the_ID() == 94) {
    $defaults[‘title_reply’] = __( ‘Leave a Review’ );
    } else {
    $defaults[‘title_reply’] = __( ‘Leave a Comment’ );
    }
    return $defaults;
    }

    Reply
    • Paal Joachim says

      7 June - 2016

      Thanks for adding the additional code Julie!
      I might also add it to the tutorial to show an example on using different phrases/words on different pages.

      Have a great day!

      Reply
  27. Bikin Situs Web says

    28 May - 2016

    Excellent ! Thank you so much for sharing great post.

    Reply
  28. officevcan says

    28 May - 2016

    Hi.Paal Joachim Romdahl
    Wow Excellent post! Thank you so much for sharing great post.

    Reply
  29. Squib says

    11 May - 2016

    Great post. I am experiencing some of these problems as well..

    Reply
  30. netflix login free says

    26 March - 2016

    Thanks for the instructions, really helped, a lot!!

    Reply
  31. Zuzana Dolinay says

    24 February - 2016

    Thank you 1 000 000 times 🙂

    Reply
  32. Sara says

    7 January - 2016

    Hi,
    sorry I can not understand how you have achieved this:
    The button text top right of the post says Leave a Comment. I changed it to Add a Comment.

    can you help me?

    Sara

    Reply
    • Paal Joachim says

      8 January - 2016

      Hi Sara

      Thank you for asking!
      I noticed I had not added the code for the button.
      I have now gone through the article and also written another article on customizing the post preview and post page.
      https://www.easywebdesigntutorials.com/customizing-the-blog-post-previews-and-posts-page-of-a-genesis-child-theme/
      I added the code to adjust the phrase in the comment button there.

      Happy New Year!

      Reply
      • Sara says

        8 January - 2016

        Thanks!

        Sara

        Reply
  33. WebTek says

    2 January - 2016

    What creative insight for an often neglected area of the web page

    Reply
  34. Ayesha Sheikh says

    29 September - 2015

    Hi, I want to show only day, month and year in the comment meta, without a link and time stamp. Can you tell me how to do that? Thanks for the tutorials.

    Reply
    • Paal Joachim says

      2 October - 2015

      Edit:
      A very good idea, Ayesha! Thank you for asking how to remove the time and date link! I asked in the Slack channel for Genesis. https://genesiswp.slack.com/messages/code-snippets/

      Jo replied and also made the following article: https://www.jowaltham.com/customising-comment-date-genesis/ I have added the code in the 2nd to last of the Github Gists (as can be seen above).

      Reply
  35. Susanta says

    13 September - 2015

    Excellent tutorial! There’s so much that one can do make the comment section come alive. Thanks!

    Reply
    • 24 h Write My Essays says

      27 February - 2019

      I need to know for a presentation i am doing for school. I can’t find any decent information on advent calendars and how they came about? can anyone help?

      Reply
  36. Amparo Turnham says

    7 September - 2015

    What is child theme function? Actually am new to this and i want to learn more about it. I got your point but I just want some clarification on this function for brief knowledge.

    Reply
    • Paal Joachim says

      8 September - 2015

      Hi Amparo

      Thank you for asking!
      One of the files inside the parent theme folder is functions.php which contains specific code for the theme.
      When I create a child theme I usually copy the style.css and the functions.php and add it to the new child theme folder.
      I have an older tutorial that mentions the why and how to create a child theme.
      https://www.easywebdesigntutorials.com/creating-a-child-theme/

      Reply
  37. Samara Treffert says

    19 August - 2015

    I appreciate the tutorial, as this is exactly what I need for configuring comments for a custom post type. One question: the plugin as used (with WP 3.5) gives the following error when a comment is submitted: “You have taken too long. Please go back and refresh the page.” Any ideas what would cause this?
    Very nice tutorial. Thanks!

    Reply
    • Paal Joachim says

      19 August - 2015

      Hi Samara. It seems your speaking about the comment edit plugin I am using called Simple Comment Editing https://wordpress.org/plugins/simple-comment-editing/
      I can not recall right now.

      Have a great day!

      Reply
  38. Nabeel says

    3 August - 2015

    i am also agree to your post and this is very helpful

    Reply
  39. Templates Garden says

    29 July - 2015

    This is very helpful post to do make comment section.

    Thanks

    Reply
  40. Michael Breslow says

    13 July - 2015

    The overriding question I have is, for us non-developers, how do we know what to put where? How do we know what to change and what to leave alone? Looking at the snippets provided by Brian and you, how do we know what is necessary and what is not?

    Looking at your comment section, it is EXACTLY what I want but don’t know how to implement the code.

    Thank you for taking the time to read this and reply.

    Michael

    Reply
    • Paal Joachim says

      14 July - 2015

      Hi Michael

      Just try out one code section at a time. See for yourself what changes.
      Some code go into the child theme functions.php file other code goes into the style.css file. (I mention above where to place what).
      Do let me know what is unclear about the article and I can adjust.

      Thank you for your donation! It is appreciated!
      Have a great day!

      Reply
      • Michael Breslow says

        20 July - 2015

        I tried your code and realized you had written it for a Genesis Theme and I am trying to use Divi (though I am not sure that is the right platform for a blog). Do I just change the Genesis tags with Divi or is there something else I need to do. I DO know that the folks at Elegant Themes have done some “interesting” mods to the WordPress platform.

        Regards

        Reply
        • Paal Joachim says

          14 August - 2015

          Hey Michael

          I sent support at Elegant Themes a question about customizing comments.
          There response: “I’m afraid we do not currently have any information on customizing the style/layout of comments available on our blog or documentation. We’ll certainly consider publishing an article on the topic in the future though! :)”

          Paal Joachim

          Reply
  41. webpage says

    31 January - 2015

    Excellent post. I am facing some of these issues as well..

    Reply
  42. MediaLabs says

    5 January - 2015

    Thank you for the sharing the information.

    Reply
  43. Web Design Company in Nigeria says

    24 November - 2014

    I always check your site since I bookmarked it recently for some wordpress tutorials. I have really learn a lot about customization of comment area. Thanks for sharing.

    Reply

Leave a Reply to Vinay kumar Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2021 · By Easy Web Design Tutorials · Built on the Genesis Framework · WordPress · Log in · ⇪

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.