Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #333719

    how can I change (rename / edit) the label of “Post Comment” button in single page?
    I’d like to rename it from “Post comment” to “Spread your idea”.

    #334053

    Hi Haseda!

    Please add following code to Functions.php file in Appearance > Editor

    function add_custom_submit_button(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery('p.form-submit input').attr('value','Spread your idea');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_submit_button');

    Cheers!
    Yigit

    #335423

    Dear Yigit,
    It works exactly I expected. Thanks for your support.
    Takafumi

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘How to rename "Post Comment" button’ is closed to new replies.