The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
3answers
441 views

Comment as post - understanding wp_list_comments

I'm creating a site where a central question will be posed on the front page with excerpted first-tier comments linking to a page with the full first-tier comment, presented almost as a post, with ...
0
votes
1answer
75 views

Customizing Comments on Posts

I have implemented custom code for generating comments on post page using callback function in functions.php. function MYTHEME_comment($comment, $args, $depth) { $GLOBALS['comment'] = $comment; ...
0
votes
1answer
65 views

By Default, Turn Comments Off for Pages & Leave Comments On for Posts

By default "Discussion: Allow comments." is checked when a new page or post is created. I know you can make "Discussion: Allow comments." unchecked by default on both pages and posts by going to ...
0
votes
1answer
64 views

Comment Function

How would I make this Function display only the latest 5 comments? function showLatestComments() { global $wpdb; $sql = " SELECT DISTINCT comment_post_ID, comment_author, comment_date_gmt, ...
-1
votes
1answer
82 views

wp_list_comments adds unnecessary elements

wp_list_comments adds UL / OL or DIV which do not serve for my thema. how do I prevent this?? screeshots: http://d.pr/i/1bpn my code http://pastebin.com/bQxUyZTs tnx!
1
vote
0answers
64 views

Display date and time in comments

I use wp_list_comments(); to display a list of comment in WordPress. But it does show the format characters instead of the correct datetime. How can I fix this bug? Thank you.
1
vote
0answers
127 views

wp_list_comments renders incorrectly nested <ul>

I'm trying to figure out how wp_list_comments works. So I made the simplest possible callback just to see the structure of the result: function custom_comments_callback( $comment, $args, $depth ) { ...
0
votes
0answers
6 views

How to display comments grouped by commentmeta?

I have added a "category" to my comment-form which allow the user to specify the type of comment he is entering (dropdown list with three values: experience, reference, criticism) and a title that ...
0
votes
0answers
20 views

How to create a designated comment page with custom fields

I'm creating a site where I want to use the comment box to auto-generate a FAQ page. In essence, when a comment is posted it won't appear on the same page as the comment box. Instead, it will be ...
0
votes
0answers
38 views

Get child comments based on parent meta data

I'm using WordPress 4.2.2's built-in commenting system for a website and am trying to build a query using WP_Comment_Query to select child comments as well as top-level. Each top-level comment has one ...
0
votes
0answers
31 views

add Reply functionality to comments using comment_text()

I am trying to write my first Wordpress theme. On the comment section i use the comment_text() to show the comments on the single.php of the theme. I would love to add a "Reply" button, but i ...
0
votes
0answers
100 views

“Your comment is awaiting moderation.” message not working as expected with reverse_top_level and per_page

When a new comment is submitted the unapproved comment with "Your comment is awaiting moderation." does not appear when per_page option is set to a number higher than the number of existing comments - ...
0
votes
0answers
58 views

Admin comment always on top of comment list / nested replies - possible?

I'd really just like a push in the right direction for this.. using a callback for a custom comment display so I can have 4 different forms of code and styles for: normal 'parent' comment normal ...
0
votes
0answers
58 views

Move the 'Reply' link to the end of existing replies

I'm using a custom theme based on _s but I think this is standard WordPress behaviour. Currently, if an existing comment already has several replies, the reply link remains just below the original ...
0
votes
0answers
69 views

Theme comment callback results nothing

I made theme and now im finally editing the look of wp_list_comments. I made function, wrote callback link to arguments and tried it. It returns nothing - only elements hard coded in comments.php are ...