Tagged Questions
0
votes
1answer
39 views
ol children instead of ul children
I've created a new walker class to display a custom layout when using the wp_list_comments(); function and this is perfect, the only thing is that all replies to one comment are listed in a <ul> ...
0
votes
3answers
79 views
adding a text message beside the comment submit button
What is the cleanest way to display a text message beside the submit button like this in screen shot:
I am currently doing it by editing the file wp-includes/comment-template line 1577 (wordpress ...
0
votes
1answer
116 views
I don't have comments.php… how do I customize my comment fields
My page in question is here.
I have tried to add a comments.php to my custom theme so I can remove the website field and so I could edit the default values of the fields and remove the labels. When I ...
1
vote
1answer
220 views
how to properly use comments-template.php
I want to modify comments form for both logged in users, and for those who are not.
I modified the form for those who are not logged in by changing my comments.php but I'm not quite sure how to ...
0
votes
1answer
780 views
customizing TwentyEleven comments template
Typically I don't utilize comments on my sites, however I'm using the comments functionality as a sort of live-feed testimonials page. To do this, I've borrowed comments.php and the comments portion ...
0
votes
2answers
105 views
comments_number not displaying
Live site
I'm using <?php comments_number( $zero, $one, $more ); ?> on home.php to display number of comments in the post-meta. Problem is, it's not showing the number despite there being one ...
0
votes
4answers
115 views
Custom setup of wordpress comments that are displayed
I have setup in admin to have 5 comments per post display, which is what I want, and newest at the top.
But the problem is when a 6th comment is made it is the only one displayed and you can read ...
2
votes
3answers
183 views
How to get last comments but not from admin (or other specific user role/capability)?
I'm using get_comments to show lastest comments i.e.:
<?php
global $comments, $comment;
$comments = get_comments( array( 'number' => '5', 'status' => 'approve', 'post_status' => ...
4
votes
2answers
509 views
How can I limit the number of comments per registered user per day in wordpress?
I found this code here on WPSE:
global $current_user, $post;
$args = array( 'user_id' => $current_user->ID, 'post_id' => $post->ID );
$usercomment = get_comments( $args );
if ( 1 <= ...
2
votes
0answers
51 views
How to hide “Trackback” on paginated comments
My Setup:
On my Single's page I have used this comments_template('', true); to separate Trackback's & regular comments.
The Heading "Trackbacks for this post" shows up only if a post has ...
