Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1001538
    Ryanbrown1987
    Participant

    Hey team!

    I’d love to be able to change the “Leave a comment” label to something else, like “Spark the conversation” or something. Can this be done?

    And can the size of the text be adjusted?

    Cheers!

    #1001541
    Ryanbrown1987
    Participant
    #1001773
    Nabeel A
    Moderator

    Hi there,

    Please add the following jQuery script in your Customizer via Appearance > Customize > Custom > Edit Global Javascript

    jQuery(document).ready(function($){
    	$('.comment-reply-title span').html('Spark the conversation');
    });

    Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!

    #1004680
    Ryanbrown1987
    Participant

    Hey team,
    That did work, thanks you! And how might I change the “comments” label above after there are already comments like something around “Join the conversation”?

    cheers!

    #1004702
    Lely
    Moderator

    Hello Ryan,

    Please try to update above javascript to this:

    if( $('.x-comments-list').length ){
         $('.comment-reply-title span').html('Join the conversation');
    }else{
        $('.comment-reply-title span').html('Spark the conversation');
    }

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1001538 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>