Actual comments not showing, but form is?

Your format looks a bit off to me. I’d try it more like this: <?php $fields = array( ‘author’ => ‘<p><label for=”author”><span class=”req”>* </span>’ . __( ‘Name’ ) . ‘</label><input id=”author” name=”author” type=”text” value=”‘ . esc_attr( $commenter[‘comment_author’] ) . ‘” size=”30″‘ . $aria_req . ‘ /></p>’, ’email’ => ‘<p><label for=”email”><span class=”req”>* </span>’ . __( ‘Email’ … Read more

Custom comments form

I don’t think this the code/fucntion you want to change, This code/fucntion is just creating the form fields. You should look in your comments.php file for the changes that you are asking for.

How to remove website field in comment form?

Your theme should have a comments.php file. Can you just remove the field there? For instance, my comments.php files has the following code: <p class=”field”><label for=”url”><?php _e(‘Website’, ‘theme1721′); ?> </label><input type=”text” name=”url” id=”url” value=”<?php echo esc_attr($comment_author_url); ?>” size=”22″ tabindex=”3″ /></p> I would just remove it if I didn’t want visitors to have the option to … Read more

Customized Comment Form Issues

You can unset this field like that : function wpse_109744_comment_form_fields($fields) { if(isset($fields[‘url’])) unset($fields[‘url’]); } $fields [’email’] = ‘your markup’; $fields [‘author’] = ‘your markup’; $return $fields; add_filter(‘comment_form_default_fields’, ‘wpse_109744_comment_form_fields’) EDIT :

Insert comment and still use moderation

Just to close this out, the answer is very easy in that, yes it is possible and here’s the function that does the check to see if the comment passes the moderation verification or not. Then you can add a conditional and either add the comment or not based on that. check_comment(); Function reference: http://codex.wordpress.org/Function_Reference/check_comment

WordPress Comments jQuery Doesn’t submit

Original Poster’s answer in comments also worked for me, will share it here so this can have a solution. Replace: $(‘form’).submit(); With: $(‘form’).unbind(‘submit’); $(‘#submit’).click(); I used this to submit comments with JQuery with the ENTER key rather than clicking the button: jQuery(document).ready(function($) { $(‘#comment’).keydown(function(event) { if (event.keyCode == 13) {//capture ENTER Key $(‘form’).unbind(‘submit’); $(‘#submit’).click(); return … Read more

Comment form – different title if no comment yet

Use get_comments_number() to get … well … the number of comments. In your theme’s comments.php you can use its return value to do something: $num = (int) get_comments_number(); if ( 0 === $num ) echo ‘Be the first! But please don’t write just “First!”’; elseif ( 100 < $num ) echo ‘Yeah, add some noise. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)