• Hi, wordpress users. I am having hard time creating custom comment_form.
    I am using Novita theme and by default comment_form is called with function <?php comment_form(); ?> in comments.php file.

    As I am translating few text lines in other language and want to get rid of URL input box. I started searching and found there is a way to add filters to comment_form. You can see what I came with in my comments.php but unfortunately it doesn’t work..
    * It’s not showing comment_field (Input fields: author, email, url).
    * I can not get comment_notes_after to work in any way.
    * The same with comment_notes_before

    [Code moderated as per the Forum Rules. Please use the pastebin]

    http://inline.lv/jaunumi/?p=1

    It would be really nice if someone could guide me right direction.

    P.S. The only way I got it working was modifying wp-includes/comment-template.php but it wouldn’t be best solution.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Trouble creating custom comment_form’ is closed to new replies.