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

Get first comment link on the post itself

you can get comment link by wp function $args = array( ‘number’ => ‘1’, ‘post_id’ => your_post_id, // use post_id, not post_ID ); $comments = get_comments($args); <a href=”https://wordpress.stackexchange.com/questions/108654/<?php echo get_comment_link( $comments->comment_ID ); ?>”>postname</a>

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