wpDiscuz - WordPress Comment Plugin
"wpdiscuz_comment_l...
 
Share:
Notifications
Clear all

"wpdiscuz_comment_list_args" hook "reverse_top_level" has no effect  


Brenda Rossi
Posts: 8
(@brenda-rossi)
Active Member
Joined: 1 month ago
Screen Shot 2020 11 03 at 5.22.30 PM
Screen Shot 2020 11 03 at 5.22.15 PM

 

See the code above and the result. Comment order does not change as documented here https://wpdiscuz.com/docs/codex/filters/wpdiscuz_comment_list_args/

Have tried default priority for the anonymous function as well. There is no other instance of "wpdiscuz_comment_list_args" hook in our code either. Suggestions?

15 Replies
Asti
Posts: 1669
 Asti
Support
(@asti)
Support member
Joined: 3 years ago

Hi @brenda-rossi,

Please enable the sorting buttons and leave some example URL to allow us to check the issue. 

Reply
Brenda Rossi
Posts: 8
(@brenda-rossi)
Active Member
Joined: 1 month ago

Due to numerous other customization needs and client wishes we must "Load with page" and "Load all Comments" which does not seem to allow for the sorting buttons to be a valid option. Is it not possible to change comment order at all without the sorting buttons? That degrades from WP's own core comment setting features.

The example page that isn't working is here: https://www.stockgumshoe.com/reviews/10-minute-millionaire-insider

Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 3 years ago

Support member
Posts: 1669

@brenda-rossi,

Please leave a screenshot of the whole "Other comment settings" section. It's located in the Dashboard > Settings > Discussion admin page. 

Reply
Brenda Rossi
Posts: 8
(@brenda-rossi)
Active Member
Joined: 1 month ago

We have it set to "older" here, so reversing should be "newer" right?

Screen Shot 2020 11 16 at 10.20.06 AM
Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 3 years ago

Support member
Posts: 1669

ok @brenda-rossi, thank you. 

Please confirm that the code is still added in the functions.php file.

Reply
Brenda Rossi
Posts: 8
(@brenda-rossi)
Active Member
Joined: 1 month ago

That's correct, the code remains as-is, this is a screenshot of the live file via SFTP:

 

Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 3 years ago

Support member
Posts: 1669

@brenda-rossi,

Could you please send the admin login details to info[at]gvectors.com email address? I'll ask the developers to check the issue for you. 

Reply
Brenda Rossi
Posts: 8
(@brenda-rossi)
Active Member
Joined: 1 month ago

Sent, thank you.

Reply
7 Replies
Asti
 Asti
Support
(@asti)
Joined: 3 years ago

Support member
Posts: 1669

@brenda-rossi,

Please check the login details and make sure they are available for regular users. 

Reply
Brenda Rossi
(@brenda-rossi)
Joined: 1 month ago

Active Member
Posts: 8

@asti can you clarify what you mean? Have no issue logging in using the credentials that were emailed:

Screen Shot 2020 11 21 at 1.15.27 PM

 

 

Might you being blocked from the login form by Wordfence? If so, can get an IP address or address block to whitelist?

Reply
Asti
 Asti
Support
(@asti)
Joined: 3 years ago

Support member
Posts: 1669

@brenda-rossi,

Now we're successfully logged in, but we're not allowed to make some changes in the plugin codes. Please fix this and let know.  

Reply
Brenda Rossi
(@brenda-rossi)
Joined: 1 month ago

Active Member
Posts: 8

@asti Sorry, to clarify, are you asking for access to the web-based theme/plugin code editor? If that's the case we'd prefer to get you the same login set up on the dev installation, as we just can't afford that level of access to anyone on the production installation. Thanks for bearing with us!

Reply
Brenda Rossi
(@brenda-rossi)
Joined: 1 month ago

Active Member
Posts: 8

A login has been created and sent to info@gvectors for https://sgumdev.stockgumshoe.com/ . You'll find the plugin and theme editors in their usual places. Let us know if this works for your purposes and keep us abreast of any successful edits. Thanks so much!

Reply
Asti
 Asti
Support
(@asti)
Joined: 3 years ago

Support member
Posts: 1669

Thank you.

We'll check and back to you asap. 

Reply
Asti
 Asti
Support
(@asti)
Joined: 3 years ago

Support member
Posts: 1669

@brenda-rossi,

You should disable the WordPress native pagination. More info here: https://wpdiscuz.com/docs/wpdiscuz-7/plugin-settings/comment-thread-displaying/#comments-pagination-type

The WordPress ignores the reverse_top_level property if the pagination is enabled. 

Reply
Share: