Support » Fixing WordPress » Missing the whole comment system from WordPress dashboard
Missing the whole comment system from WordPress dashboard
-
Hi,
It seems that one of the plugin is conflicting with the comment section. Try to deactivate plugin one by one and check.
Hi Raju,
Thanks for the response!
But as I said the comment module itself is missing from the WordPress admin panel
https://www.screencast.com/t/PQgssMnm4YO not only from the front-end.
The “comments” section does not show up in the WordPress Admin panel.
How can I get it back in WordPress dashboard?Thanks
-
This reply was modified 3 years, 9 months ago by
bhavinambiw.
Hii bhavinambiw,
I can understand that comment section is not showing in wordpress sidebar. There are several possibilities for the issue happened:
1. The problem may have been caused by a plugin overwriting the comment functionality. So you may try to deactivate all plugins one by one to check whether this is happening due to a plugin overwrite.
2. Try to activate a default theme, if the issue were solved than the culpite is theme itself.
3. Try to put the below code in the functions.php file to your custom theme.
add_theme_support( 'comments' );
Hi Raju,
Thanks for looking into the issue and giving the response!
I have tried all three ways that you suggested but it did not work.
comments module is still missing.Is there any other way to get it back? please advise.
Thanks
Hello bhavinambiw,
Its quite tough to tell the exact solution as I dont have any idea about how this website has been developed. I have suggested you the best possible ways to find out the reason. You may also try to update the wordpress version to its latest. It might solve the issue.
In a separate note, you can paste the code of functions.php & wp-config.php here so that I can review code for the hiding comment section in wordpress admin panel.
you can paste the code of functions.php & wp-config.php here
@webguruinfosystems, @bhavinambiw, Don’t paste the contents of your wp-config.php files here. That file contains sensitive information.
@bhavinambiw, Can you try the advice to disable all of your plugins again, but this time, with all plugins deactivated, can you switch to the Twenty Seventeen theme? Does the issue persist?
Hi Andrew,
Thank you so much for looking into this and for your response!
I have tried the way you suggested I mean disabling all the plugins and switch to twenty seventeen themes, but it did not work and issue continues to persist.
If you want to view my WP setup and code, I can share the details of my staging website.
Thanks
Hi Andrew,
After spending a couple of hours I found this exact code in one of my WP file: https://gist.github.com/alexwoollam/2f4bcd4eb4740eb49562131290248f26
after removing this code the comments option is back in wp admin panel but I can’t add new comment , the options “add new” and “all comments” does not appear: https://www.screencast.com/t/rOQBiJie
Can you please look into it?
Plus my WP was setup using: https://roots.io/bedrock/
Thanks
@bhavinambiw Did you remove the whole snippet? Is this theme your own build or from someone else?
-
This reply was modified 3 years, 9 months ago by
- The topic ‘Missing the whole comment system from WordPress dashboard’ is closed to new replies.
(@bhavinambiw)
3 years, 9 months ago
Hi,
In my website, the whole comment module is missing from the WordPress dashboard: https://www.screencast.com/t/PQgssMnm4YO
so, I can’t enable the comments for the posts.
My site has a custom theme
Can you help me to get the comment module back in the WordPress dashbaord so, I can enable the comments for the posts
Thanks