The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
"wpdiscuz_comment_l...
 
Share:
Notifications
Clear all

"wpdiscuz_comment_list_args" hook "reverse_top_level" has no effect

17 Posts
2 Users
0 Reactions
982 Views
Posts: 9
Topic starter
(@brenda-rossi)
Active Member
Joined: 4 years 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?

16 Replies
Asti
Posts: 7617
 Asti
Support
(@asti)
Illustrious Member
Joined: 7 years ago

Hi @brenda-rossi,

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

Reply
Posts: 9
Topic starter
(@brenda-rossi)
Active Member
Joined: 4 years 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: 7 years ago

Illustrious Member
Posts: 7617

@brenda-rossi,

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

Reply
Posts: 9
Topic starter
(@brenda-rossi)
Active Member
Joined: 4 years 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: 7 years ago

Illustrious Member
Posts: 7617

ok @brenda-rossi, thank you. 

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

Reply
Posts: 9
Topic starter
(@brenda-rossi)
Active Member
Joined: 4 years 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: 7 years ago

Illustrious Member
Posts: 7617

@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
Posts: 9
Topic starter
(@brenda-rossi)
Active Member
Joined: 4 years ago

Sent, thank you.

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

Illustrious Member
Posts: 7617

@brenda-rossi,

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

Reply
(@brenda-rossi)
Joined: 4 years ago

Active Member
Posts: 9

@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: 7 years ago

Illustrious Member
Posts: 7617

@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)
Joined: 4 years ago

Active Member
Posts: 9

@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)
Joined: 4 years ago

Active Member
Posts: 9

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: 7 years ago

Illustrious Member
Posts: 7617

Thank you.

We'll check and back to you asap. 

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

Illustrious Member
Posts: 7617

@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
(@brenda-rossi)
Joined: 4 years ago

Active Member
Posts: 9

@asti Good to know. We do need pagination for the other templates, unfortunately. Is there any way to set page_comments programmatically that you know of? Tried to do so using update_option but the result seems essentially random.

Reply
Share: