Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
The top admin bar is already quite overcrowded, and there is no need to access WPDiscuz settings from each post when logged in.
Therefore I would like to remove WapDiscuz from the top admin bar but cannot find this option in the settings.
Please advise.
Please follow the solution provided here: https://wpdiscuz.com/community/troubleshooting/remove-wpdiscuz-button-from-wp-admin-bar/#post-7875
After inserting the following code into the functions.php file a critical error is given:
jQuery(document).ready(function(){
jQuery('li#wp-admin-bar-wpdiscuz').remove();
});
i.e. it doesn't work.
Surely there should be an option in the settings to suppress this intrusive link in the admin bar?
Please advise a solution, which works properly.
The code in the link had to be modified to make it work in the header (without the script tags it doesn't work).
<script>
jQuery(document).ready(function(){
jQuery('li#wp-admin-bar-wpdiscuz').remove();
});
</script>
I would recommend that you make this an option in the settings, so that persons unfamiliar with code, can easily make this change themselves without having to issue a support request.
Thanks for confirming and for the great support.