You have no need callback function. Only reverse_top_level: true is find for what you want to do. Just remove ‘callback’ => ‘custom_comments_callback’, from your array.
<?php wp_list_comments(array(
'reverse_top_level' => true,
'avatar_size' => 50,
'reply_text' => 'Reply to this comment'
)); ?>
Related Posts:
- How to redirect to post if search results only returns one post
- How to override admin-bar style
- Remove Comments Metabox but still allow comments
- wp_get_attachment_image returns different image size
- Passing variables to templates (alternatives to globalizing variables)
- Load post with a different template?
- How can I remove the title “leave a reply” in the comment box in twentyeleven?
- change the comment time output to: X time ago instead of actual date and time
- How to get comments with mixed status using get_comments?
- How to customize search result page title?
- How to prevent deleting of comments when deleting a post
- How to fix a theme with page.php Default Template that accidentally deleted?
- disable comments if array exists
- WordPress Change Post Templates,but not drop down, but Image selection
- Remove “says” from comments
- Display the number of user comments
- Using locate-template & shortcodes doesn’t appear to work
- Can I use require() function in a template file?
- How to set global variables in template page?
- Why isn’t is_page_template() adding a body class?
- Dequeue script in template isn’t working
- Query children and parent title
- Help to resolve Syntax error, unexpected ‘endwhile’ (T_ENDWHILE) [closed]
- Adjust which tempalte a page uses with a function?
- Comments to only be seen by their author
- How to change menu icon which is overriden (i.e. by WooCommerce) [closed]
- How to Add a Random Custom Gravatar in the WordPress Comments?
- Make “sidebar template” the default template for new pages
- Retrieve post modified date for specific post by post ID
- Attach parent category template to all subcategories
- Add class or ID to any WordPress function
- How to remove howdy dropdown menu content
- How to include local menu based on page id?
- How to create function from code?
- Display Password Protected external RSS in wordpress template
- How to extract the variables out from “add_shortcode” function?
- Default Gallery Edit/Template Editable?
- Show top commenters without using a plugin
- How to enable template page only for a post id page
- Selective Product Category for Carousel
- How to change login labels
- Change the HTML of the comment form that is generating somewhere from the core WordPress
- Modify a function without editing template
- Retrieve tags data in post body
- Commenter should see only his comments in wordpress
- Filter out other users comments. Visualize only own comments and editor role users’ comments
- wp-comment author- url +, email filter hook
- Functions For Calling Specific Elements
- Function to replace comment’s accented characters before posting
- Show admin page, only if function is being used
- Overwriting TwentyTwelve template file with child theme template, but lower in the hierarchy
- Prevent creating multiple image resizes in twentytwelve template
- WordPress comment_form() does not display actual comments
- Simplest Way to Build Custom Archives Page?
- Display ACF category image on archive and single template files
- WordPress comment processing . Default unapproved comments detection before posting
- Render page with specific id from functions.php
- How do I change where “You must be logged in to comment” directs users?
- How to require a config file in a template and in function.php?
- the_date() and the_time() functions display actual date an time instead of published date and time
- Load templates, pass arguments, and render output from functions.php
- How do I make the comment disappear after deleting from the database?
- Changing the HTML of notices in WooCommerce [closed]
- Remove nofollow from internal comment links via functions.php
- How can I automatically delete comments that contain a URL?
- Warning and fatal error
- WP Enqueue Script Error
- More than one search results page template for two searches on site
- Comment function for page
- WordPress function with attribute pass to template
- How to identify author in wordpress comments?
- Javascript and Stylesheet in child page
- How can I return the result of my custom function?
- get_comments not working properly after WordPress v4.4 update
- Retrieve a custom form field modified by a filter
- us states dropdown function and echo in theme template files
- How to pass a variable from a template page to the child theme functions.php
- Function the_content
- Getting error while trying to use custom comment function
- Increase Comment Author Gravatar Size On WordPress Default Comment Function
- Allow the access over wp-login.php
- Custom Nested WordPress Comments with avatar
- Shortcode to output get_header not working
- Undo a function that is not (seemingly) hooked to an action?
- Comment Function
- WP Custom Comment Callback Not Responding
- How to remove “login to reply” from individual comments [duplicate]
- How can i hide content if not friend in Buddypress? [closed]
- Which template file to edit to edit homepage in Mystile [closed]
- Getting full code of wp_list_comments instead of replacing it
- Make a PHP file with a function
- Creating mixture of shortcodes to use in the visual/text editor
- My website is generating weired url parameters of paginated pages
- Comment turned Invisible
- User’s Comments Number: Storing it in a meta field for different uses
- Add functionality to block comment authors in the Comment edit pag
- How to store page-{id}.php templates in custom folder
- comments_template() doesn’t work with ajax call
- How to use: WP_AJAX_GET_COMMENTS
- WP backend, Show only own comments (give to users who wrote/published/assigned) posts