1
vote
1answer
613 views

How to override wp_insert_comment()

I am trying to override wp_insert_comment() (wp-includes/comment.php). I added the following lines of code in my functions.php file, located in my theme : add_filter('wp_insert_comment', ...
1
vote
0answers
90 views

How to return an array of posts with the comments template intact for each post [closed]

Has anyone run across a way to build a page of posts that includes the comments and discussion form(s) for each post inline with the list? I tried this a few ways today and found it quite difficult. ...
1
vote
2answers
440 views

Changing the comments link produced by the get_comments_link() and get_comments_pagenum_link() functions

Currently my theme calls upon get_comments_link() to create the standard anchor #comments to link to the comments below the post, as does the get_comments_pagenum_link() function on paginated ...
2
votes
2answers
730 views

Replacing the default content created while the site creation

How do you replace the default title for first comment? Mr WordPress on Hello world! I could not able to locate this in theme's comments.php file I want to edit the title 'Mr wordpress on Hello ...