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?
- Query children and parent title
- Comments to only be seen by their author
- 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?
- How to extract the variables out from “add_shortcode” function?
- Default Gallery Edit/Template Editable?
- Show top commenters without using a plugin
- Change the HTML of the comment form that is generating somewhere from the core WordPress
- Retrieve tags data in post body
- Functions For Calling Specific Elements
- Full page template function
- Where to add the permalink in this function?
- Incorrect redirect after commenting
- comments_popup_link without echo?
- Getting comment count per post not working
- Wp admin – Set default value to 999 in comments
- wordpress use single ajax in place of multiple ajax requests in a smarter way
- Add Element as a Filter to the_content
- I have problems with loading javascripts
- Pass variable from action back to template
- Need print logo without any ID & class
- Define PHP variable from a seperate API if statement
- Best way to handle lack of titles in microblogging
- attachment page template? only show attachments for current post?
- Run a jquery script on on a certain template page
- How to include any template using Shortcode fuction?
- Image loading function not working on archive.php template
- Specify multiple categories for custom post template – FATAL ERROR
- Using functions.php to include code that’s processed inline
- How to make a new function that includes a template
- Function to replace comment’s accented characters before posting
- Show admin page, only if function is being used
- 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
- 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
- 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