Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #109266
    skynet
    Participant

    Hello great CatchThemes Team, how can i add my own text in this comment area?
    Please take a look at screenshot: https://dl.dropboxusercontent.com/u/7588358/catchbox%20pro/File%2009-02-2017%2C%2020%2002%2043.jpeg

    Thank you.

    #109312
    Mahesh
    Keymaster

    @skynet: For that, you’ll need to create a child theme. You can find more details on creating child theme HERE. Then in your child theme’s functions.php add the following codes.

    add_filter( 'comment_form_defaults', 'catchbox_child_custom_comment_text' );
    
    function catchbox_child_custom_comment_text( $arg ) {
      $arg['comment_notes_before'] = "Some text you want!!!";
      return $arg;
    }

    Note: Please use your desired text in the above code.

    Regards,
    Mahesh

    #109333
    skynet
    Participant

    Thank you Mahesh, i think is too complicated for me to do this..!

    #109398
    Mahesh
    Keymaster

    @skynet: Thank you for your appreciation. Have a nice day!

    Regards,
    Mahesh

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Add text in comment Area’ is closed to new replies.